speed: add benchmark.bash helper
This commit is contained in:
parent
be19b91a52
commit
43d6aa6677
7
internal/speed/benchmark.bash
Executable file
7
internal/speed/benchmark.bash
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
go test -bench .
|
@ -1,7 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -eu
|
exec ../speed/benchmark.bash
|
||||||
|
|
||||||
cd "$(dirname "$0")"
|
|
||||||
|
|
||||||
go test -bench .
|
|
||||||
|
Loading…
Reference in New Issue
Block a user