No title Revision 373836346235 (Tue Dec 30 2008 at 20:56) - Diff Link to this snippet: http://friendpaste.com/2vnIZk6dATsrjhgLuaoLjU Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 1234567891011121314151617require 'couchrest'def save(n) couch = CouchRest.new("http://localhost:5984") db = couch.database('geirtest') n.times { db.save({ "name" => "geir" }) }end t1 = Time.nowthread1 = Thread.new{save(100)}thread1.joint2 = Time.nowputs t2 - t1