Created
December 12, 2019 08:31
-
-
Save spikeekips/3eae42ecad0f450f4967301d1e69fc75 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 hidden or 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 |
spikeekips
commented
Dec 12, 2019
Author

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment