about summary refs log tree commit diff
path: root/tools/seqstat/sequence.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(tools/seqstat): add a tool to report stats about a sequenceFranck Cuny2022-06-191-0/+79
For example: ``` % echo 1 20 12 32 19 2 | ./seqstat -S ▁▅▃█▅▁ min: 1.000000 max: 32.000000 avg: 14.333333 p50: 19.000000 p90: 32.000000 p99: 32.000000 p999: 32.000000 ordered sequence: [1 2 12 19 20 32] ``` Change-Id: I9303bd7d0e964948143e77c868de8777cd7a9951 Reviewed-on: https://cl.fcuny.net/c/world/+/454 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>