This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6606] New: UTF-8 locale MUCH slower
- From: "redeeman at metanurb dot dk" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Jun 2008 10:25:49 -0000
- Subject: [Bug libc/6606] New: UTF-8 locale MUCH slower
- Reply-to: sourceware-bugzilla at sourceware dot org
it seems that things are much slower with a utf8 locale than with C/POSIX.
for instance, i made a 91mb testfile:
redeeman@quadstation # export LC_ALL=C
redeeman@quadstation # time grep gah testfile
grep gah testfile 0.12s user 0.04s system 99% cpu 0.165 total
redeeman@quadstation # export LC_ALL=en_GB.UTF-8
redeeman@quadstation # time grep gah testfile
grep gah testfile 2.87s user 0.05s system 99% cpu 2.927 total
--
Summary: UTF-8 locale MUCH slower
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: redeeman at metanurb dot dk
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6606
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.