rufus-tokyo 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/out.txt ADDED
@@ -0,0 +1,149 @@
1
+
2
+ Fri Feb 27 12:54:28 +0900 2009
3
+ N is 10000
4
+ ruby is 1.8.6
5
+
6
+ preparing fake data for table tests...
7
+
8
+
9
+ TC
10
+ user system total real
11
+ inserting one 0.000000 0.000000 0.000000 ( 0.000135)
12
+ inserting N 0.130000 0.010000 0.140000 ( 0.175417)
13
+ finding all keys 0.020000 0.000000 0.020000 ( 0.026031)
14
+ finding all keys (native) 0.120000 0.000000 0.120000 ( 0.163465)
15
+ finding all keys (pref) 0.190000 0.000000 0.190000 ( 0.244321)
16
+ finding all keys (r pref) 0.110000 0.000000 0.110000 ( 0.117779)
17
+ finding all 0.150000 0.000000 0.150000 ( 0.151500)
18
+ iterate all 0.210000 0.010000 0.220000 ( 0.215567)
19
+ find first 0.000000 0.000000 0.000000 ( 0.000017)
20
+ delete first 0.000000 0.000000 0.000000 ( 0.000053)
21
+ delete_keys_with_prefix "1" 0.000000 0.000000 0.000000 ( 0.002652)
22
+ del keys with prefix "2" (m) 0.030000 0.000000 0.030000 ( 0.023679)
23
+
24
+
25
+ Edo TC
26
+ user system total real
27
+ inserting one 0.000000 0.000000 0.000000 ( 0.000100)
28
+ inserting N 0.110000 0.000000 0.110000 ( 0.115612)
29
+ finding all keys 0.010000 0.000000 0.010000 ( 0.009842)
30
+ finding all keys (pref) 0.010000 0.010000 0.020000 ( 0.005387)
31
+ finding all keys (r pref) 0.020000 0.000000 0.020000 ( 0.021971)
32
+ finding all 0.120000 0.000000 0.120000 ( 0.122065)
33
+ iterate all 0.110000 0.000000 0.110000 ( 0.123470)
34
+ find first 0.000000 0.000000 0.000000 ( 0.000027)
35
+ delete first 0.000000 0.000000 0.000000 ( 0.000044)
36
+ delete_keys_with_prefix "1" (M) 0.000000 0.000000 0.000000 ( 0.007418)
37
+ del keys with prefix "2" (m) 0.010000 0.000000 0.010000 ( 0.007297)
38
+
39
+
40
+ TT
41
+ user system total real
42
+ inserting one 0.000000 0.000000 0.000000 ( 0.000284)
43
+ inserting N 0.210000 0.210000 0.420000 ( 1.158179)
44
+ finding all keys 0.110000 0.200000 0.310000 ( 1.013690)
45
+ finding all keys (native) 0.210000 0.200000 0.410000 ( 1.152300)
46
+ finding all keys (pref) 0.270000 0.010000 0.280000 ( 0.279824)
47
+ finding all keys (r pref) 0.120000 0.200000 0.320000 ( 1.023983)
48
+ finding all 0.330000 0.400000 0.730000 ( 2.179241)
49
+ iterate all 0.400000 0.410000 0.810000 ( 2.387376)
50
+ find first 0.000000 0.000000 0.000000 ( 0.000180)
51
+ delete first 0.000000 0.000000 0.000000 ( 0.000232)
52
+ delete_keys_with_prefix "1" 0.000000 0.000000 0.000000 ( 0.004262)
53
+ del keys with prefix "2" (m) 0.040000 0.040000 0.080000 ( 0.256379)
54
+
55
+
56
+ net TT
57
+ user system total real
58
+ inserting one 0.000000 0.000000 0.000000 ( 0.000221)
59
+ inserting N 0.500000 0.220000 0.720000 ( 1.471792)
60
+ finding all keys 0.630000 0.270000 0.900000 ( 1.778842)
61
+ finding all keys (pref) 0.300000 0.060000 0.360000 ( 0.379105)
62
+ finding all keys (r pref) 0.720000 0.280000 1.000000 ( 1.738354)
63
+ finding all 1.400000 0.560000 1.960000 ( 3.446188)
64
+ iterate all 1.470000 0.560000 2.030000 ( 3.520192)
65
+ find first 0.000000 0.000000 0.000000 ( 0.000198)
66
+ delete first 0.000000 0.000000 0.000000 ( 0.000288)
67
+ delete_keys_with_prefix "1" 0.100000 0.010000 0.110000 ( 0.125564)
68
+ del keys with prefix "2" (m) 0.150000 0.060000 0.210000 ( 0.383958)
69
+
70
+
71
+ TT over memcache-client
72
+ user system total real
73
+ inserting one 0.000000 0.000000 0.000000 ( 0.001102)
74
+ inserting N 2.190000 0.960000 3.150000 ( 3.302569)
75
+ find first 0.000000 0.000000 0.000000 ( 0.000831)
76
+ delete first 0.000000 0.000000 0.000000 ( 0.000552)
77
+
78
+
79
+ TT over memcache-client (:compression => true)
80
+ user system total real
81
+ inserting one 0.000000 0.000000 0.000000 ( 0.000880)
82
+ inserting N 2.190000 0.960000 3.150000 ( 3.273593)
83
+ find first 0.000000 0.000000 0.000000 ( 0.000733)
84
+ delete first 0.000000 0.000000 0.000000 ( 0.000308)
85
+
86
+
87
+ TC table
88
+ user system total real
89
+ inserting data (index set) 0.970000 0.260000 1.230000 ( 1.230197)
90
+ inserting data (no index) 1.020000 0.260000 1.280000 ( 1.292556)
91
+ finding all keys 0.020000 0.000000 0.020000 ( 0.024685)
92
+ finding all keys (pref) 0.280000 0.000000 0.280000 ( 0.282913)
93
+ finding all keys (r pref) 0.040000 0.000000 0.040000 ( 0.040797)
94
+ finding all 1.500000 0.050000 1.550000 ( 1.574712)
95
+ find last 0.000000 0.000000 0.000000 ( 0.000034)
96
+ delete last 0.000000 0.000000 0.000000 ( 0.000022)
97
+ find Alphonse 0.010000 0.000000 0.010000 ( 0.008428)
98
+ setting index (10000 rows) 0.020000 0.000000 0.020000 ( 0.020697)
99
+ find Alphonse (index set) 0.010000 0.000000 0.010000 ( 0.009055)
100
+ delete_keys_with_prefix "1" 0.300000 0.000000 0.300000 ( 0.353645)
101
+
102
+
103
+ Edo TC table
104
+ user system total real
105
+ inserting data (index set) 0.220000 0.000000 0.220000 ( 0.229643)
106
+ inserting data (no index) 0.330000 0.000000 0.330000 ( 0.338009)
107
+ finding all keys 0.020000 0.000000 0.020000 ( 0.015114)
108
+ finding all keys (pref) 0.000000 0.000000 0.000000 ( 0.006674)
109
+ finding all keys (r pref) 0.030000 0.010000 0.040000 ( 0.026694)
110
+ finding all 0.030000 0.000000 0.030000 ( 0.029356)
111
+ find last 0.000000 0.000000 0.000000 ( 0.000054)
112
+ delete last 0.000000 0.000000 0.000000 ( 0.000015)
113
+ find Alphonse 0.010000 0.000000 0.010000 ( 0.014236)
114
+ setting index (10000 rows) 0.020000 0.000000 0.020000 ( 0.023343)
115
+ find Alphonse (index set) 0.010000 0.000000 0.010000 ( 0.010325)
116
+ delete_keys_with_prefix "1" 0.020000 0.000000 0.020000 ( 0.022054)
117
+
118
+
119
+ TT table
120
+ user system total real
121
+ inserting data (index set) 0.820000 0.430000 1.250000 ( 2.126595)
122
+ inserting data (no index) 0.970000 0.420000 1.390000 ( 2.318548)
123
+ finding all keys 0.120000 0.200000 0.320000 ( 1.026944)
124
+ finding all keys (pref) 0.110000 0.000000 0.110000 ( 0.123775)
125
+ finding all keys (r pref) 0.120000 0.200000 0.320000 ( 1.023739)
126
+ finding all 1.530000 0.250000 1.780000 ( 2.671676)
127
+ find last 0.000000 0.000000 0.000000 ( 0.000206)
128
+ delete last 0.000000 0.000000 0.000000 ( 0.000139)
129
+ find Alphonse 0.000000 0.000000 0.000000 ( 0.010754)
130
+ setting index (10000 rows) 0.000000 0.000000 0.000000 ( 0.023121)
131
+ find Alphonse (index set) 0.000000 0.000000 0.000000 ( 0.010479)
132
+ delete_keys_with_prefix "1" 0.160000 0.050000 0.210000 ( 0.416265)
133
+
134
+
135
+ 'author' TT table
136
+ user system total real
137
+ inserting data (index set) 1.650000 0.260000 1.910000 ( 2.797123)
138
+ inserting data (no index) 1.450000 0.260000 1.710000 ( 2.577591)
139
+ finding all keys 0.480000 0.270000 0.750000 ( 1.486850)
140
+ finding all keys (pref) 0.300000 0.070000 0.370000 ( 0.370827)
141
+ finding all keys (r pref) 0.500000 0.260000 0.760000 ( 1.528243)
142
+ finding all 0.300000 0.070000 0.370000 ( 0.393429)
143
+ find last 0.000000 0.000000 0.000000 ( 0.000376)
144
+ delete last 0.000000 0.000000 0.000000 ( 0.000175)
145
+ find Alphonse 0.000000 0.000000 0.000000 ( 0.009139)
146
+ setting index (10000 rows) 0.000000 0.000000 0.000000 ( 0.021917)
147
+ find Alphonse (index set) 0.000000 0.000000 0.000000 ( 0.009249)
148
+ delete_keys_with_prefix "1" 0.400000 0.100000 0.500000 ( 0.716907)
149
+
@@ -0,0 +1,150 @@
1
+
2
+
3
+ Fri Feb 27 13:02:16 +0900 2009
4
+ N is 10000
5
+ ruby is 1.8.6
6
+
7
+ preparing fake data for table tests...
8
+
9
+
10
+ TC
11
+ user system total real
12
+ inserting one 0.000000 0.000000 0.000000 ( 0.000115)
13
+ inserting N 0.130000 0.010000 0.140000 ( 0.129227)
14
+ finding all keys 0.020000 0.000000 0.020000 ( 0.024804)
15
+ finding all keys (native) 0.120000 0.000000 0.120000 ( 0.123061)
16
+ finding all keys (pref) 0.200000 0.000000 0.200000 ( 0.198756)
17
+ finding all keys (r pref) 0.110000 0.000000 0.110000 ( 0.109493)
18
+ finding all 0.150000 0.000000 0.150000 ( 0.150847)
19
+ iterate all 0.210000 0.000000 0.210000 ( 0.214673)
20
+ find first 0.000000 0.000000 0.000000 ( 0.000017)
21
+ delete first 0.000000 0.000000 0.000000 ( 0.000047)
22
+ delete_keys_with_prefix "1" 0.000000 0.000000 0.000000 ( 0.003273)
23
+ del keys with prefix "2" (m) 0.030000 0.000000 0.030000 ( 0.022464)
24
+
25
+
26
+ Edo TC
27
+ user system total real
28
+ inserting one 0.000000 0.000000 0.000000 ( 0.000071)
29
+ inserting N 0.110000 0.000000 0.110000 ( 0.114509)
30
+ finding all keys 0.010000 0.000000 0.010000 ( 0.011439)
31
+ finding all keys (pref) 0.010000 0.000000 0.010000 ( 0.005404)
32
+ finding all keys (r pref) 0.020000 0.000000 0.020000 ( 0.022680)
33
+ finding all 0.120000 0.000000 0.120000 ( 0.119044)
34
+ iterate all 0.110000 0.000000 0.110000 ( 0.114404)
35
+ find first 0.000000 0.000000 0.000000 ( 0.000019)
36
+ delete first 0.000000 0.000000 0.000000 ( 0.000038)
37
+ delete_keys_with_prefix "1" (M) 0.010000 0.000000 0.010000 ( 0.008123)
38
+ del keys with prefix "2" (m) 0.000000 0.000000 0.000000 ( 0.006844)
39
+
40
+
41
+ TT
42
+ user system total real
43
+ inserting one 0.000000 0.000000 0.000000 ( 0.000238)
44
+ inserting N 0.210000 0.200000 0.410000 ( 1.133108)
45
+ finding all keys 0.120000 0.200000 0.320000 ( 1.006899)
46
+ finding all keys (native) 0.210000 0.210000 0.420000 ( 1.112644)
47
+ finding all keys (pref) 0.260000 0.000000 0.260000 ( 0.274108)
48
+ finding all keys (r pref) 0.130000 0.200000 0.330000 ( 1.022326)
49
+ finding all 0.330000 0.410000 0.740000 ( 2.140767)
50
+ iterate all 0.400000 0.400000 0.800000 ( 2.210343)
51
+ find first 0.000000 0.000000 0.000000 ( 0.000119)
52
+ delete first 0.000000 0.000000 0.000000 ( 0.000244)
53
+ delete_keys_with_prefix "1" 0.000000 0.000000 0.000000 ( 0.004100)
54
+ del keys with prefix "2" (m) 0.040000 0.050000 0.090000 ( 0.246526)
55
+
56
+
57
+ net TT
58
+ user system total real
59
+ inserting one 0.000000 0.000000 0.000000 ( 0.000276)
60
+ inserting N 0.500000 0.210000 0.710000 ( 1.460417)
61
+ finding all keys 0.630000 0.280000 0.910000 ( 1.644565)
62
+ finding all keys (pref) 0.310000 0.060000 0.370000 ( 0.378280)
63
+ finding all keys (r pref) 0.710000 0.280000 0.990000 ( 1.721810)
64
+ finding all 1.400000 0.560000 1.960000 ( 3.430359)
65
+ iterate all 1.460000 0.550000 2.010000 ( 3.569670)
66
+ find first 0.000000 0.000000 0.000000 ( 0.000172)
67
+ delete first 0.000000 0.000000 0.000000 ( 0.000271)
68
+ delete_keys_with_prefix "1" 0.110000 0.010000 0.120000 ( 0.124153)
69
+ del keys with prefix "2" (m) 0.140000 0.070000 0.210000 ( 0.375951)
70
+
71
+
72
+ TT over memcache-client
73
+ user system total real
74
+ inserting one 0.000000 0.000000 0.000000 ( 0.001106)
75
+ inserting N 2.210000 0.970000 3.180000 ( 3.393512)
76
+ find first 0.000000 0.000000 0.000000 ( 0.000757)
77
+ delete first 0.000000 0.000000 0.000000 ( 0.000312)
78
+
79
+
80
+ TT over memcache-client (:compression => true)
81
+ user system total real
82
+ inserting one 0.000000 0.000000 0.000000 ( 0.000929)
83
+ inserting N 2.180000 0.960000 3.140000 ( 3.286917)
84
+ find first 0.000000 0.000000 0.000000 ( 0.000771)
85
+ delete first 0.010000 0.000000 0.010000 ( 0.000309)
86
+
87
+
88
+ TC table
89
+ user system total real
90
+ inserting data (index set) 0.960000 0.250000 1.210000 ( 1.224383)
91
+ inserting data (no index) 1.020000 0.250000 1.270000 ( 1.276009)
92
+ finding all keys 0.020000 0.000000 0.020000 ( 0.024997)
93
+ finding all keys (pref) 0.200000 0.010000 0.210000 ( 0.202270)
94
+ finding all keys (r pref) 0.110000 0.000000 0.110000 ( 0.115743)
95
+ finding all 1.620000 0.050000 1.670000 ( 1.672337)
96
+ find last 0.000000 0.000000 0.000000 ( 0.000021)
97
+ delete last 0.000000 0.000000 0.000000 ( 0.000019)
98
+ find Alphonse 0.010000 0.000000 0.010000 ( 0.007275)
99
+ setting index (10000 rows) 0.010000 0.000000 0.010000 ( 0.018001)
100
+ find Alphonse (index set) 0.010000 0.000000 0.010000 ( 0.007788)
101
+ delete_keys_with_prefix "1" 0.310000 0.000000 0.310000 ( 0.316746)
102
+
103
+
104
+ Edo TC table
105
+ user system total real
106
+ inserting data (index set) 0.220000 0.000000 0.220000 ( 0.227572)
107
+ inserting data (no index) 0.330000 0.010000 0.340000 ( 0.332586)
108
+ finding all keys 0.010000 0.000000 0.010000 ( 0.014477)
109
+ finding all keys (pref) 0.010000 0.000000 0.010000 ( 0.007517)
110
+ finding all keys (r pref) 0.030000 0.000000 0.030000 ( 0.026319)
111
+ finding all 0.030000 0.000000 0.030000 ( 0.031799)
112
+ find last 0.000000 0.000000 0.000000 ( 0.000041)
113
+ delete last 0.000000 0.000000 0.000000 ( 0.000014)
114
+ find Alphonse 0.010000 0.000000 0.010000 ( 0.009196)
115
+ setting index (10000 rows) 0.020000 0.000000 0.020000 ( 0.024126)
116
+ find Alphonse (index set) 0.010000 0.000000 0.010000 ( 0.010261)
117
+ delete_keys_with_prefix "1" 0.020000 0.000000 0.020000 ( 0.021169)
118
+
119
+
120
+ TT table
121
+ user system total real
122
+ inserting data (index set) 0.810000 0.420000 1.230000 ( 2.086466)
123
+ inserting data (no index) 0.810000 0.420000 1.230000 ( 2.046680)
124
+ finding all keys 0.110000 0.200000 0.310000 ( 1.008603)
125
+ finding all keys (pref) 0.260000 0.000000 0.260000 ( 0.270386)
126
+ finding all keys (r pref) 0.120000 0.200000 0.320000 ( 1.012596)
127
+ finding all 1.400000 0.250000 1.650000 ( 2.529559)
128
+ find last 0.000000 0.000000 0.000000 ( 0.000175)
129
+ delete last 0.000000 0.000000 0.000000 ( 0.000138)
130
+ find Alphonse 0.000000 0.000000 0.000000 ( 0.009999)
131
+ setting index (10000 rows) 0.000000 0.000000 0.000000 ( 0.022236)
132
+ find Alphonse (index set) 0.000000 0.000000 0.000000 ( 0.010721)
133
+ delete_keys_with_prefix "1" 0.330000 0.050000 0.380000 ( 0.580418)
134
+
135
+
136
+ 'author' TT table
137
+ user system total real
138
+ inserting data (index set) 1.470000 0.260000 1.730000 ( 2.692238)
139
+ inserting data (no index) 1.590000 0.260000 1.850000 ( 2.708792)
140
+ finding all keys 0.480000 0.280000 0.760000 ( 1.478013)
141
+ finding all keys (pref) 0.300000 0.060000 0.360000 ( 0.367290)
142
+ finding all keys (r pref) 0.500000 0.270000 0.770000 ( 1.495670)
143
+ finding all 0.180000 0.060000 0.240000 ( 0.262870)
144
+ find last 0.000000 0.000000 0.000000 ( 0.000284)
145
+ delete last 0.000000 0.000000 0.000000 ( 0.000232)
146
+ find Alphonse 0.000000 0.000000 0.000000 ( 0.010202)
147
+ setting index (10000 rows) 0.000000 0.000000 0.000000 ( 0.024995)
148
+ find Alphonse (index set) 0.000000 0.000000 0.000000 ( 0.010075)
149
+ delete_keys_with_prefix "1" 0.380000 0.110000 0.490000 ( 0.691663)
150
+
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rufus-tokyo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
8
- - Justin Reagor
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
11
 
13
- date: 2009-02-19 00:00:00 +09:00
12
+ date: 2009-02-27 00:00:00 +09:00
14
13
  default_executable:
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
@@ -34,24 +33,40 @@ extra_rdoc_files:
34
33
  - CHANGELOG.txt
35
34
  - CREDITS.txt
36
35
  files:
36
+ - lib/rufus/edo/cabcore.rb
37
+ - lib/rufus/edo/cabinet/abstract.rb
38
+ - lib/rufus/edo/cabinet/table.rb
39
+ - lib/rufus/edo/error.rb
40
+ - lib/rufus/edo/ntyrant/abstract.rb
41
+ - lib/rufus/edo/ntyrant/table.rb
42
+ - lib/rufus/edo/ntyrant.rb
43
+ - lib/rufus/edo/tabcore.rb
44
+ - lib/rufus/edo.rb
37
45
  - lib/rufus/tokyo/cabinet/abstract.rb
38
46
  - lib/rufus/tokyo/cabinet/lib.rb
39
47
  - lib/rufus/tokyo/cabinet/table.rb
40
48
  - lib/rufus/tokyo/cabinet/util.rb
41
- - lib/rufus/tokyo/cabinet.rb
49
+ - lib/rufus/tokyo/config.rb
42
50
  - lib/rufus/tokyo/dystopia/lib.rb
43
51
  - lib/rufus/tokyo/dystopia/words.rb
44
52
  - lib/rufus/tokyo/dystopia.rb
45
53
  - lib/rufus/tokyo/hmethods.rb
54
+ - lib/rufus/tokyo/query.rb
55
+ - lib/rufus/tokyo/stats.rb
56
+ - lib/rufus/tokyo/transactions.rb
46
57
  - lib/rufus/tokyo/tyrant/abstract.rb
47
58
  - lib/rufus/tokyo/tyrant/lib.rb
48
59
  - lib/rufus/tokyo/tyrant/table.rb
49
60
  - lib/rufus/tokyo/tyrant.rb
50
61
  - lib/rufus/tokyo.rb
62
+ - lib/rufus-edo.rb
51
63
  - lib/rufus-tokyo.rb
64
+ - lib/tokyotyrant.rb
52
65
  - CHANGELOG.txt
53
66
  - CREDITS.txt
54
67
  - LICENSE.txt
68
+ - out.txt
69
+ - out2.txt
55
70
  - README.txt
56
71
  - TODO.txt
57
72
  has_rdoc: true
@@ -1,6 +0,0 @@
1
-
2
- require 'rufus/tokyo/cabinet/lib'
3
- require 'rufus/tokyo/cabinet/util'
4
- require 'rufus/tokyo/cabinet/table'
5
- require 'rufus/tokyo/cabinet/abstract'
6
-