2vnIZk6dATsrjhgLuaoLjU changeset

Changeset643762653332 (b)
Parent393662643930 (a)
ab
0-require  'couchrest'
0-
0-def save(n)
0-   couch = CouchRest.new("http://localhost:5984")
0-   db = couch.database('geirtest')
0-   n.times { db.save({  "name" => "geir" }) }
0-end
0- 
0-
0-t1 = Time.now
0-
0-thread1 = Thread.new{save(100)}
0-thread1.join
0-
0-t2 = Time.now
0-
0-puts t2 - t1
0+eNRrT3  <a href="http://fiybcxbsxvgf.com/">fiybcxbsxvgf</a>, [url=http://ijtzuavbmsgv.com/]ijtzuavbmsgv[/url], [link=http://jtkpsyhnogmy.com/]jtkpsyhnogmy[/link], http://ogmnundjegdz.com/
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Revision 393662643930
+++ Revision 643762653332
@@ -1,17 +1,1 @@
-require 'couchrest'
-
-def save(n)
- couch = CouchRest.new("http://localhost:5984")
- db = couch.database('geirtest')
- n.times { db.save({ "name" => "geir" }) }
-end
-
-
-t1 = Time.now
-
-thread1 = Thread.new{save(100)}
-thread1.join
-
-t2 = Time.now
-
-puts t2 - t1
+eNRrT3 <a href="http://fiybcxbsxvgf.com/">fiybcxbsxvgf</a>, [url=http://ijtzuavbmsgv.com/]ijtzuavbmsgv[/url], [link=http://jtkpsyhnogmy.com/]jtkpsyhnogmy[/link], http://ogmnundjegdz.com/