hstorly 0.1.3 → 0.1.4

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: 49e78f2ad73e498d1ddfa10fc098789d2d558680
4
- data.tar.gz: 2e1ea65d75bd2e55b63cac691a18b9751aeb4b05
3
+ metadata.gz: fd4ad1b9458d2f30edb784094444ea5e3de2295e
4
+ data.tar.gz: c81c9d74741e3a658384fabbecc5477b4b1d598c
5
5
  SHA512:
6
- metadata.gz: e312a4c80366882291c1951790c9386a89d5d4742c8d32d366f4f41012b11846a74daa66012ba458002e56f026e235e54a8477981edb6f9c2d483b856d8111d0
7
- data.tar.gz: cad22851fc00c78fe5709f77d16c63f368bed439f6ea8674266bc5bc5639d4968ccfc32230fbc474cb251bf46f8542d4759f5f89e17a6898f3e002a903fbb7f1
6
+ metadata.gz: a52cf5c2a9d697affe63190f1a47c782a3c43a642b756f7503ab3c1c3b021768dba3e27d85759c43db7a0c2b3b5930b7df36146615f87f12446b7dfac6695589
7
+ data.tar.gz: 5008fe2cdd70ff29c080a54c307695d5ede772fa137149079f2013163029ce9f632380eafa8334c92c8fef571082733570fe51f22b9ea041a76b61b40b9b64f0
data/README.md CHANGED
@@ -9,6 +9,47 @@ This project is a fork of the amazing [bithavoc/multilang-hstore](https://github
9
9
  * Remove a lot of features, focus on the core features.
10
10
  * Due to focus on core features, better thread safety.
11
11
 
12
+ ## Performance ##
13
+
14
+ **1,000,000 translation read operations**
15
+
16
+ hstorly:
17
+ ```
18
+ 1.310000 0.020000 1.330000 ( 1.342136)
19
+ ```
20
+
21
+ multilang-hstore:
22
+ ```
23
+ 3.350000 0.040000 3.390000 ( 3.383317)
24
+ ```
25
+
26
+
27
+ **Setting a new translation entry, 100,000 times**
28
+
29
+ hstorly:
30
+ ```
31
+ 6.650000 0.030000 6.680000 ( 6.681483)
32
+ ```
33
+
34
+ multilang-hstore:
35
+ ```
36
+ 6.860000 0.030000 6.890000 ( 6.892723)
37
+ ```
38
+
39
+ **Setting a completely new object with translations 100,000 times**
40
+
41
+ hstorly:
42
+
43
+ ```
44
+ 6.980000 0.020000 7.000000 ( 7.000557)
45
+ ```
46
+
47
+ multilang-hstore:
48
+
49
+ ```
50
+ 7.620000 0.040000 7.660000 ( 7.669240)
51
+ ```
52
+
12
53
  ## Installation
13
54
 
14
55
  Add this line to your application's Gemfile:
data/hstorly.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "minitest", "~> 5.0"
25
25
  spec.add_development_dependency "pry", "~> 0.1"
26
+ spec.add_development_dependency 'pg', '~> 0.0'
26
27
 
27
- spec.add_dependency 'pg', '~> 0.0'
28
28
  spec.add_dependency 'activerecord', '~> 4.0'
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module Hstorly
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hstorly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hendrik Kleinwaechter
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-29 00:00:00.000000000 Z
11
+ date: 2015-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -73,7 +73,7 @@ dependencies:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.0'
76
- type: :runtime
76
+ type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements: