Created
December 12, 2019 08:31
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```sh | |
$ for keys in $(seq 100 100 10000) | |
do | |
for i in $(seq 3) | |
do | |
seq $keys | shuf | go run -race cmd/avl2dot/main.go --log-level info --log-format json --skip-dot | |
done | |
done > /tmp/tg.log | |
``` | |
```sh | |
$ cat /tmp/tg.log | jq -c '[.keys, .elapsed_ms]' | sed -e 's/\[//g' -e 's/\]//g' | column -s ',' -t > /tmp/tg.dat | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set grid | |
set title 'TreeGenerator Elapsed Time' | |
set xlabel 'number of added nodes' | |
set ylabel 'elapsed(ms)' | |
plot '/tmp/tg.dat' with points linetype 9 notitle |
Author
spikeekips
commented
Dec 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment