Tagged: Benchmarking
1 post · browse all tags
-
The grep Benchmark Trap: Why Your Search Looks 100 Times Faster Than It Is
GNU grep searched a 105 MB file in 2 ms when I benchmarked it, and 263 ms when I piped the output. The reason is a deliberate shortcut, and it will silently ruin any grep timing you run with hyperfine.