diff options
| author | EuAndreh <eu@euandre.org> | 2024-08-10 16:32:26 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-08-10 16:32:26 -0300 |
| commit | 30413571ccace1c9b51eb8b276ecd7eb6162ec10 (patch) | |
| tree | 6929dc7a75e8a13622b8bb993236cfb1ed6606e9 | |
| parent | src/wscat.go: Remove deprecated code (diff) | |
| download | wscat-30413571ccace1c9b51eb8b276ecd7eb6162ec10.tar.gz wscat-30413571ccace1c9b51eb8b276ecd7eb6162ec10.tar.xz | |
Makefile: Add "bench" target
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | tests/wscat.go | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -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 }, |
