aboutsummaryrefslogtreecommitdiff
path: root/tools/seqstat (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-29fix(tools): install dependencies correctlyFranck Cuny1-1/+2
For the python tools, we need the python runtime to be available. For this we need to specify the dependencies in `propagatedBuildInputs`. The same is true for flamegraph and perf.
2022-10-17ref(tools/python): make mypy happyFranck Cuny1-8/+12
2022-10-15ref(seqstat): rewrite from go to pythonFranck Cuny6-194/+50
This is a simple script, there's no benefit in having this in go. Having it Python makes it easier to extend with panda or other libraries in the future if I need more statistics too.
2022-06-19feat(tools/seqstat): add a tool to report stats about a sequenceFranck Cuny4-0/+194
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>