[Bug 75695] Re: huge performance hit for -i with UTF-8 locales

2014-12-01 Thread Peter Cordes
with 14.04: time find -name '*.[ch]' | xargs grep -i 'volatile.*s3tc' # en_CA.utf8 real0m44.320s user0m43.777s sys 0m0.459s time find -name '*.[ch]' | LANG=C xargs grep -i 'volatile.*s3tc' real0m2.078s user0m1.795s sys 0m0.381s time find -name '*.[ch]' | xargs grep

[Bug 75695] Re: huge performance hit for -i with UTF-8 locales

2013-06-22 Thread Peter Cordes
The performance hit of -i hasn't changed with 12.04 LTS. Will have to check with a newer grep, I guess. Seeing e.g. 25 secs to grep -i on the .c/.h files in a Linux source tree, 0.5 secs to grep without -i. 1.3 secs for a LANG=C grep -i. No disk I/O, files are cached. So a factor of about

[Bug 75695] Re: huge performance hit for -i with UTF-8 locales

2013-06-06 Thread Ma Xiaojun
The upstream allready mark their bug as fixed. Is this still a issue? ** Changed in: grep (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/75695 Title:

[Bug 75695] Re: huge performance hit for -i with UTF-8 locales

2008-07-27 Thread Jean-Baptiste Lallement
Thanks for your report. This is know upstream and a patch has been proposed. ** Changed in: grep (Ubuntu) Status: New = Confirmed ** Bug watch added: GNU Savannah Bug Tracker #14472 http://savannah.gnu.org/bugs/?14472 ** Also affects: grep via http://savannah.gnu.org/bugs/?14472

[Bug 75695] Re: huge performance hit for -i with UTF-8 locales

2007-02-12 Thread ahendry
Was going to log a new bug, but this one looks very similar. Heres the details I found. Peter try setting LANG to something matching under /usr/lib/locale and run your test to see if we have the same bug. probably en_CA.utf8