BENCH: add some benchmarks

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2021-09-01 14:45:20 -05:00
parent 1faadf4845
commit 21a050c953
4 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,8 @@ build:
# golang things
cd example-pprof; go install # dump out go process internals
cd example-bench-fast-timer; go install # time golang channels
cd example-bench-readWriteOps; go install #
prep:
make -C example-nohup prep

View File

@ -0,0 +1,5 @@
jcarr@lenovo-z70:~/go/bin$ ./example-bench-fast-timer
main() started 552ns
Response from chan2 Value 1 19.922µs
main() stopped 24.821µs