[Bug 254763] grep very slow with 13.0-RC4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 May 2025 01:34:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254763 --- Comment #27 from Kyle Evans <kevans@freebsd.org> --- (In reply to Dmitry Chagin from comment #24) It's not clear if you posted the wrong link or what; this seems to be proposing a better cat(1) using splicing or sendfile with a note that people are weird and use cat to pipe into grep (instead of just using grep on the file). The main advantage gnugrep has over us is that it doesn't read input buffers as much, but we inspect each and every single byte. There's a whole ML post somewhere from 10+ years ago about how their technique with some lessons we could take from it, but as I noted before: it's not a small job, and I haven't found anyone that cares enough to fund it (it turns out that 'grep' speed is not "sexy", just worth complaints...). -- You are receiving this mail because: You are the assignee for the bug.