dns_one 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cf333022498bfdecb773415f6a7c3b370349573
|
4
|
+
data.tar.gz: 732d0765d3be07b1f9056e2ab17cfa4b41636b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce64e58c10cc148b607493fa761da7290487992f6439168a1d8703d686a74e3afd0681fc5fb47d40dfecc40fc903de0abd6e33c5e24ff35a26fc44fe52a8b684
|
7
|
+
data.tar.gz: 2f3a2c80f77715a02a39a29b6c034703c6dfbad4edd715a68c9741204dbea2adba53b7aad7300f0f59a1349757098b5f9c31da2b6df15ba035db5696064fc6d3
|
data/lib/dns_one/version.rb
CHANGED
@@ -53,6 +53,34 @@ end
|
|
53
53
|
|
54
54
|
test_sorted eval(ARGV[0])
|
55
55
|
|
56
|
-
#
|
56
|
+
# RUN 25/Jun/2017
|
57
|
+
# WINNER: HASH
|
58
|
+
|
59
|
+
# $ ./cache_store.rb 1e7
|
60
|
+
# preparing...
|
61
|
+
# testing insert...
|
62
|
+
# user system total real
|
63
|
+
# index 1.170000 0.070000 1.240000 ( 1.347434)
|
64
|
+
# each_with_index 6.300000 0.680000 6.980000 ( 9.786449)
|
65
|
+
# bsearch_index 0.050000 0.110000 0.160000 ( 0.391675)
|
66
|
+
# sortedset 0.000000 0.000000 0.000000 ( 0.000026)
|
67
|
+
# hash 0.000000 0.000000 0.000000 ( 0.000012)
|
68
|
+
# true
|
69
|
+
# true
|
70
|
+
# true
|
71
|
+
# true
|
72
|
+
# false
|
73
|
+
# search...
|
74
|
+
# user system total real
|
75
|
+
# index 5255680
|
76
|
+
# 1.090000 0.020000 1.110000 ( 2.041613)
|
77
|
+
# each_with_index5255680
|
78
|
+
# 5.920000 1.220000 7.140000 ( 8.701748)
|
79
|
+
# bsearch_index 5255680
|
80
|
+
# 0.000000 0.000000 0.000000 ( 0.000054)
|
81
|
+
# sortedset 5255679
|
82
|
+
# 1.110000 0.000000 1.110000 ( 1.110011)
|
83
|
+
# hash asd
|
84
|
+
# 0.000000 0.000000 0.000000 ( 0.000027)
|
57
85
|
|
58
86
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dns_one
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Lobato
|
@@ -130,7 +130,6 @@ files:
|
|
130
130
|
- bin/setup
|
131
131
|
- dns_one.gemspec
|
132
132
|
- exe/dns_one
|
133
|
-
- experiments/cache_store.rb
|
134
133
|
- gempush
|
135
134
|
- lib/dns_one.rb
|
136
135
|
- lib/dns_one/backend/db.rb
|
@@ -144,6 +143,7 @@ files:
|
|
144
143
|
- lib/dns_one/util.rb
|
145
144
|
- lib/dns_one/version.rb
|
146
145
|
- lib/dns_one/zone_search.rb
|
146
|
+
- util/benchmark-cache_store.rb
|
147
147
|
- util/dns_one.service
|
148
148
|
- util/sample_conf.yml
|
149
149
|
homepage: https://tomlobato.github.io/dns_one/
|