BENCH: add some benchmarks
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
1faadf4845
commit
21a050c953
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue