diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-04 13:02:17 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-04 13:23:46 -0700 |
commit | 64fcacedfa3e59e9dbb0cc0d2b3de71cae3290df (patch) | |
tree | 511db104025c34c4434c50e4367395be2bc806ba /Makefile | |
parent | Ignore multiple transaction commit/rollback/close. (diff) | |
download | dedo-64fcacedfa3e59e9dbb0cc0d2b3de71cae3290df.tar.gz dedo-64fcacedfa3e59e9dbb0cc0d2b3de71cae3290df.tar.xz |
Add benchmarks.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,6 +14,10 @@ cover: fmt go tool cover -html=$(COVERPROFILE) rm $(COVERPROFILE) +cpuprofile: fmt + @go test -c + @./bolt.test -test.v -test.run="^X" -test.bench=$(BENCH) -test.cpuprofile cpu.prof + fmt: @go fmt ./... @@ -25,4 +29,4 @@ test: fmt @echo "=== RACE DETECTOR ===" @go test -v -race -test.run=Parallel -.PHONY: bench cloc cover fmt test +.PHONY: bench cloc cover cpuprofile fmt memprofile test |