pbwire 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -9
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a2efea0f03bf38506badeb056255fce0e823d45a69cf3190f0c59a23c5a372d
|
|
4
|
+
data.tar.gz: 4cbee376c83938e8f6ab2d06d7d9144bfe45fa4abd599a709484705c5914918b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb4a4b9e08f7161818b9df2d8358765c75f150f108cc841f2b3c39972fe168d094b48cc7511d60a41ae07dd9b33571af20bdc8c034d279993f55755df8dd6b73
|
|
7
|
+
data.tar.gz: b75dcd01c883469fa6df031b1daf88be3cecec11a08cf40a1c82828366643654a4f5ea46f85490ea90e12a64e26d2ebd1a5d6832caa287f972ea6589721fb980
|
data/README.md
CHANGED
|
@@ -185,14 +185,14 @@ source for all performance numbers; higher is better, MB/s over wire bytes:
|
|
|
185
185
|
|
|
186
186
|
| payload | op | pbwire-ruby (MB/s, x gem) | gem (MB/s) |
|
|
187
187
|
|---|---|---|---|
|
|
188
|
-
| 136 B | encode |
|
|
189
|
-
| 136 B | decode |
|
|
190
|
-
| 174 B | encode |
|
|
191
|
-
| 174 B | decode |
|
|
192
|
-
| 2469 B | encode |
|
|
193
|
-
| 2469 B | decode |
|
|
194
|
-
| 74913 B | encode |
|
|
195
|
-
| 74913 B | decode |
|
|
188
|
+
| 136 B | encode | 1015.0 (1.4x) | 741.1 |
|
|
189
|
+
| 136 B | decode | 462.9 (1.8x) | 263.5 |
|
|
190
|
+
| 174 B | encode | 956.9 (1.2x) | 803.2 |
|
|
191
|
+
| 174 B | decode | 514.3 (1.9x) | 267.4 |
|
|
192
|
+
| 2469 B | encode | 1473.1 (1.2x) | 1256.4 |
|
|
193
|
+
| 2469 B | decode | 970.6 (1.8x) | 528.9 |
|
|
194
|
+
| 74913 B | encode | 1582.4 (1.2x) | 1310.6 |
|
|
195
|
+
| 74913 B | decode | 1170.0 (1.7x) | 694.7 |
|
|
196
196
|
|
|
197
197
|
```shell
|
|
198
198
|
gem install google-protobuf
|
|
@@ -204,7 +204,7 @@ The win is architectural, not a micro-optimization:
|
|
|
204
204
|
- **Encoding** writes one pass from the C tree straight into the String that is
|
|
205
205
|
returned; there is no intermediate buffer and no per-field Ruby call.
|
|
206
206
|
- **Decoding** is one validating scan that records where each wire field lives;
|
|
207
|
-
the gem materializes every field
|
|
207
|
+
the gem materializes every field.
|
|
208
208
|
|
|
209
209
|
## Conformance
|
|
210
210
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pbwire
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jinganix
|
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: '0'
|
|
53
53
|
requirements: []
|
|
54
|
-
rubygems_version:
|
|
54
|
+
rubygems_version: 4.0.20
|
|
55
55
|
specification_version: 4
|
|
56
56
|
summary: Dynamic protobuf over the pbwire C ABI, schema at runtime
|
|
57
57
|
test_files: []
|