Skip to content

Commit

Permalink
doc.go: revise text, add performance
Browse files Browse the repository at this point in the history
  • Loading branch information
uluyol committed Jun 20, 2017
1 parent 00a0a98 commit 78859d8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ Package hdrhist provides high dynamic range (HDR) histograms.
HDR histograms can be used to accurately record and analyze
distributions with very large ranges of data.
HDR histograms are compact: with a precision of 3 significant digits
and a range of 1000-100 billion (e.g. 1 μs to 100 s),
an HDR histogram consumes about 156 KB.
This HDR histogram implementation is meant to have minimal memory usage
and support recording values quickly.
With a precision of 3 significant digits and a range of 1000-100 billion
(e.g. 1 μs to 100 s), an HDR histogram consumes about 156 KB.
Benchmarks show that recording a value in a histogram should take about 12 ns
depending on the hardware.
A typical usecase for HDR Histograms would be recording latency values
in client or server software.
Expand Down

0 comments on commit 78859d8

Please sign in to comment.