HDRHistogram 0.1.1 → 0.1.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: 04ce4dd5a9ad3bc871f6ef4eb3ca2b01819c57df
4
- data.tar.gz: 7ddfe622e00c4554e219d8fc03bc141a1a2204f3
3
+ metadata.gz: 89ab25a2fbfcde31f56ca617df20f0c660005b24
4
+ data.tar.gz: b98e2f077fbf771b3ebdaf9703fa33486876af5a
5
5
  SHA512:
6
- metadata.gz: 92c67c5e4a878fa8b7d493c16314da837ebeed81deb6f878fafacc3754bb0085960f79f2c114c32ffda1801e084ff1cae9cd18a63ff401ece65695809ba8e2b2
7
- data.tar.gz: f2aada5a38553d069f0afe9adb0832808a65f0a1463508e7744048c8de1b92ddb8d01cdd090e0cc314302c33e067f88f69590d4efe08015a12e2b3814bc3d034
6
+ metadata.gz: b4f63914e2174b198da9c1f68bb266ddb8cbc89c3c44584d3b2f6b616f3a3d1f86f237bf4c0915b97767a06ae40fb05071e7bdc34c2aae897b393dc5acdce968
7
+ data.tar.gz: e718fa657e08f2981eab16a8d3edd9d39ac8e945873cad14a8dcffa8736c24c9e169bea49935eaf793f8631c2662c6d6d257f6823eaf0b921f98b3794ee3ddf8
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  #Ruby HdrHistogram Library
2
2
 
3
3
  ## Overview
4
- HdrHistogram is an algorithm designed for recording histograms of value measurements with configurable precision. Value precision is expressed as the number of significant digits, providing control over value quantization and resolution whilst maintaining a fixed cost in both space and time.
4
+ HdrHistogram is an algorithm designed for recording histograms of value measurements with configurable precision. Value precision is expressed as the number of significant digits, providing control over value quantization and resolution whilst maintaining a fixed cost in both space and time.
5
5
  More information can be found on the [HdrHistogram site](http://hdrhistogram.org/) (which much of the text in this README paraphrases). This library wraps the [C port](https://github.com/HdrHistogram/HdrHistogram_c).
6
6
 
7
7
 
@@ -81,12 +81,14 @@ Create new HDRHistogram object.
81
81
 
82
82
 
83
83
  #### `hdr.record(value)`
84
- Records a `value` in the histogram, will round this `value` of to a precision at or better than the `significant_figures` specified at construction time.
84
+ Records a `value` in the histogram, will round this `value` of to a precision at or better than the `significant_figures` specified at construction time.
85
+ Returns `false` if the value was not recorded, `true` otherwise.
85
86
 
86
87
  #### `hdr.record_corrected(value, expected_interval)`
87
88
  Record a `value` in the histogram and backfill based on an expected interval.
88
89
 
89
- This is specifically used for recording latency. If the `value` is larger than the `expected_interval` then the latency recording system has experienced [co-ordinated omission](https://github.com/giltene/wrk2#acknowledgements). This method fills in the values that would have occured had the client providing the load not been blocked.
90
+ This is specifically used for recording latency. If the `value` is larger than the `expected_interval` then the latency recording system has experienced [co-ordinated omission](https://github.com/giltene/wrk2#acknowledgements). This method fills in the values that would have occured had the client providing the load not been blocked.
91
+ Returns `false` if the value was not recorded, `true` otherwise.
90
92
 
91
93
  #### `hdr.percentile(pct)`
92
94
  Get the value at a specific percentile.
@@ -1,3 +1,3 @@
1
1
  class HDRHistogram
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HDRHistogram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo P.