From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 4 11:30:32 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B440016A4CF for ; Sat, 4 Sep 2004 11:30:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ED7B43D2F for ; Sat, 4 Sep 2004 11:30:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i84BUWU1093965 for ; Sat, 4 Sep 2004 11:30:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i84BUWR8093960; Sat, 4 Sep 2004 11:30:32 GMT (envelope-from gnats) Date: Sat, 4 Sep 2004 11:30:32 GMT Message-Id: <200409041130.i84BUWR8093960@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Simon L. Nielsen" Subject: Re: bin/71367: regex multibyte support is really slow X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Simon L. Nielsen" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 11:30:32 -0000 The following reply was made to PR bin/71367; it has been noted by GNATS. From: "Simon L. Nielsen" To: Tim Robbins Cc: freebsd-gnats-submit@FreeBSD.org, Kuang-che Wu 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@zaphod:/tmp] cc -O -pipe re.c -o re [simon@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@zaphod:/tmp] echo $LC_MESSAGES=20 en_US.ISO8859-1 [simon@zaphod:/tmp] echo $LANG=20 da_DK.ISO8859-1 [simon@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@zaphod:/tmp] uname -a FreeBSD zaphod.nitro.dk 5.3-BETA1 FreeBSD 5.3-BETA1 #: Thu Aug 26 16:25:21 = CEST 2004 simon@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--