summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-01 09:27:28 +0300
committerPaul Buetow <paul@buetow.org>2025-07-01 09:27:28 +0300
commitbf46295ff31724b4245ef68030f639a6e6ffbb8b (patch)
tree5184bc01bf802da8ab7c39e6ef0806da5aaee16b /benchmarks
parent3c0fa29aad92ee81e6662989714fee5046f5a6b9 (diff)
fix: resolve turbo mode race condition and improve TestDCat2
- Fixed race condition in periodicTruncateCheck by using context cancellation - Added turbo mode support to TestDCat2 server configuration - Removed problematic wait for pending files in readCommand.Start - Fixed potential panic when truncate channel is closed while goroutine is running The test now properly enables turbo mode on both client and server, preventing the timeout issues that occurred when only the client had turbo mode enabled. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/baselines/baseline_20250626_221800_test-go-tools.txt19
1 files changed, 0 insertions, 19 deletions
diff --git a/benchmarks/baselines/baseline_20250626_221800_test-go-tools.txt b/benchmarks/baselines/baseline_20250626_221800_test-go-tools.txt
deleted file mode 100644
index f0a3090..0000000
--- a/benchmarks/baselines/baseline_20250626_221800_test-go-tools.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Git commit: 1e643ac
-Date: 2025-06-26T22:18:00+03:00
-Tag: test-go-tools
-----------------------------------------
-goos: linux
-goarch: amd64
-pkg: github.com/mimecast/dtail/benchmarks
-cpu: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
-BenchmarkQuick/DCat/Size=10MB-8 6 181173485 ns/op 21.95 MB/sec 389277 lines/sec 12559493 B/op 145 allocs/op
-BenchmarkQuick/DGrep/Size=10MB/HitRate=1%-8 18 77521395 ns/op 51.49 MB/sec 1.000 hit_rate_% 909302 lines/sec 15392 matched_lines 3057298 B/op 106 allocs/op
-BenchmarkQuick/DGrep/Size=10MB/HitRate=10%-8 18 73942458 ns/op 54.51 MB/sec 10.00 hit_rate_% 953165 lines/sec 20993 matched_lines 5535970 B/op 106 allocs/op
-BenchmarkQuick/DGrep/Size=10MB/HitRate=50%-8 9 127598119 ns/op 32.94 MB/sec 50.00 hit_rate_% 550727 lines/sec 43423 matched_lines 11318582 B/op 124 allocs/op
-BenchmarkQuick/DGrep/Size=10MB/HitRate=90%-8 6 189819871 ns/op 22.88 MB/sec 90.00 hit_rate_% 370253 lines/sec 67110 matched_lines 21356996 B/op 145 allocs/op
-BenchmarkQuick/DMap/Size=10MB/Query=count-8 3 388142247 ns/op 19.90 MB/sec 180623 records/sec 52424 B/op 180 allocs/op
-BenchmarkQuick/DMap/Size=10MB/Query=sum_avg-8 3 375489915 ns/op 20.61 MB/sec 186798 records/sec 52274 B/op 180 allocs/op
-BenchmarkQuick/DMap/Size=10MB/Query=min_max-8 2 662630514 ns/op 11.68 MB/sec 105920 records/sec 71632 B/op 234 allocs/op
-BenchmarkQuick/DMap/Size=10MB/Query=multi-8 2 673522436 ns/op 11.51 MB/sec 104197 records/sec 71288 B/op 234 allocs/op
-PASS
-ok github.com/mimecast/dtail/benchmarks 21.815s