NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [SOLVED-ish] Performance weirdness with netbsd-9 /usr/bin/grep

On Sat, 23 May 2020 23:46:43 +1000
Paul Ripke <> wrote:

> Additionally, the test is quite repeatable from a tmpfs:

OK, so I wonder if some other locale is set, then grep is converting
multi-byte chars to wide chars and then doing comparison. Years ago
I've benchmarked similar conversions with iconv() and it wasn't great.

Or could be something else completely different. Best thing to do is
profile it. Can DTrace be used to profile shared library functions? 

Home | Main Index | Thread Index | Old Index