diff options
author | Matt Joiner <anacrolix@gmail.com> | 2020-10-01 13:27:01 +1000 |
---|---|---|
committer | Matt Joiner <anacrolix@gmail.com> | 2020-10-01 13:27:01 +1000 |
commit | 196642dc25c4c8ad68e24ee75905744522da83b4 (patch) | |
tree | d4eb1318d91080ccd00ecf0da815aff4be705142 /bench | |
parent | New Tx must have completed=false (diff) | |
download | stm-196642dc25c4c8ad68e24ee75905744522da83b4.tar.gz stm-196642dc25c4c8ad68e24ee75905744522da83b4.tar.xz |
Add benchmark utils
Diffstat (limited to 'bench')
-rwxr-xr-x | bench | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +benchout="benches/$(./describe)" +echo +echo writing "$benchout" +echo +go test -bench . -benchtime 3s -benchmem | tee "$benchout" +echo +echo wrote "$benchout" +echo |