summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--tests/wscat.go1
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eca3951..44a54b7 100644
--- a/Makefile
+++ b/Makefile
@@ -109,6 +109,11 @@ check: check-unit check-integration
+bench: tests/main.bin
+ $(EXEC)tests/main.bin -test.bench '.*'
+
+
+
## Remove *all* derived artifacts produced during the build.
## A dedicated test asserts that this is always true.
clean:
diff --git a/tests/wscat.go b/tests/wscat.go
index 17ee9e2..146576d 100644
--- a/tests/wscat.go
+++ b/tests/wscat.go
@@ -1790,7 +1790,6 @@ func MainTest() {
{ "TestParseExtensions", TestParseExtensions },
}
- // FIXME: run benchmarks
benchmarks := []testing.InternalBenchmark {
{ "BenchmarkWriteNoCompression", BenchmarkWriteNoCompression },
{ "BenchmarkWriteWithCompression", BenchmarkWriteWithCompression },