diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-12 21:20:34 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-12 21:20:34 +0300 |
| commit | dabfbbd00ad5032f5839d2285dc501635a805879 (patch) | |
| tree | bc173de15355f8cc01e90ca759e039854a5640a9 /internal/server | |
| parent | 513f8fdaf93ea723a10307c8e10517eec7e49866 (diff) | |
add Go benchmark for dgrep on 10MB file
- Add BenchmarkDGrepFile10MBNoMatch to test performance when no patterns match
- Add BenchmarkDGrepFile10MBWithMatches to test performance with matching patterns
- Fix undefined variable B in cat_bench_test.go
- Benchmarks show 48% performance penalty when patterns match vs no matches
- Memory usage increases 33% and allocations increase 50% with matches
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/server')
0 files changed, 0 insertions, 0 deletions
