bin/71367: regex multibyte support is really slow

Simon L. Nielsen simon at FreeBSD.org
Sat Sep 4 04:30:32 PDT 2004


The following reply was made to PR bin/71367; it has been noted by GNATS.

From: "Simon L. Nielsen" <simon at FreeBSD.org>
To: Tim Robbins <tjr at freebsd.org>
Cc: freebsd-gnats-submit at FreeBSD.org, Kuang-che Wu <kcwu at csie.org>
Subject: Re: bin/71367: regex multibyte support is really slow
Date: Sat, 4 Sep 2004 13:21:22 +0200

 --ikeVEW9yuYc//A+q
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2004.09.04 10:50:27 +0000, Tim Robbins wrote:
 >  > >How-To-Repeat:
 >  > 	$ cc -O -pipe   re.c  -o re
 >  > 	$ time ./re
 >  > 	        7.65 real         7.51 user         0.06 sys
 
 >  I can't reproduce these results. I get:
 
 I can, more or less.. :
 
 [simon at zaphod:/tmp] cc -O -pipe   re.c  -o re
 [simon at zaphod:/tmp] /usr/bin/time ./re
         3,85 real         3,54 user         0,12 sys
 
 CPU: Intel(R) Pentium(R) M processor 1500MHz (1498.73-MHz 686-class CPU)
 
 I don't know if locale matters?
 
 [simon at zaphod:/tmp] echo $LC_MESSAGES=20
 en_US.ISO8859-1
 [simon at zaphod:/tmp] echo $LANG=20
 da_DK.ISO8859-1
 [simon at zaphod:~] echo $MM_CHARSET=20
 iso-8859-1
 
 >  Do you have any non-standard options in /etc/make.conf? Have you changed
 
 make.conf :
 CFLAGS?=3D        -pipe -O
 CPUTYPE?=3D       p4
 
 >  the C library at all locally? Can you confirm that the system you ran th=
 is
 >  on was idle?
 
 Stock system:
 
 [simon at zaphod:/tmp] uname -a
 FreeBSD zaphod.nitro.dk 5.3-BETA1 FreeBSD 5.3-BETA1 #: Thu Aug 26 16:25:21 =
 CEST 2004     simon at zaphod.nitro.dk:/data/obj/usr/src/sys/ZAPHOD  i386
 
 The system was idle - at least nothing else that uses any significant
 ammount of CPU was running at the time.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --ikeVEW9yuYc//A+q
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.5 (FreeBSD)
 
 iD8DBQFBOaUxh9pcDSc1mlERArdlAJ9Y0VwvGjSZm5gwvjpWplKWGZue7wCfV0JS
 WY2SvfAdtPuuJTqHmDgOz10=
 =gK3I
 -----END PGP SIGNATURE-----
 
 --ikeVEW9yuYc//A+q--


More information about the freebsd-bugs mailing list