Date: Wed, 29 Jan 1997 14:44:50 -0800 From: Julian Elischer <julian@whistle.com> To: hackers@freebsd.org Subject: [Fwd: freebsd performance.] Message-ID: <32EFD2E2.167EB0E7@whistle.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------794BDF32446B9B3D2781E494 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit A commnet from someone using FreeBSD in a production project.. I know nothing about the regex stuff... anyone have comments? people who have committed their proffesional name on using freeBSD deserve sume special support. julian --------------794BDF32446B9B3D2781E494 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: <jason@idiom.com> Received: from whistle.com (whistle.whistle.com [207.76.205.131]) by alpo.whistle.com (8.8.4/8.8.4) with ESMTP id JAA18431 for <julian@alpo.whistle.com>; Wed, 29 Jan 1997 09:42:39 -0800 (PST) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id JAA16637 for <julian@whistle.com>; Wed, 29 Jan 1997 09:42:37 -0800 (PST) Received: from gatekeeper.whistle.com(207.76.204.2) by whistle.com via smap (V1.3) id sma016635; Wed Jan 29 09:42:31 1997 Received: (from smap@localhost) by gatekeeper (8.7.5/8.6.12) id JAA15158 for <julian@whistle.com>; Wed, 29 Jan 1997 09:42:31 -0800 (PST) Received: from idiom.com(140.174.82.4) by gatekeeper via smap (V1.3) id sma015156; Wed Jan 29 09:41:12 1997 Received: from localhost (jason@localhost [127.0.0.1]) by idiom.com (8.8.5/8.8.3) with SMTP id JAA10621 for <julian@whistle.com>; Wed, 29 Jan 1997 09:41:11 -0800 (PST) Message-Id: <199701291741.JAA10621@idiom.com> X-Authentication-Warning: idiom.com: jason@localhost [127.0.0.1] didn't use HELO protocol To: julian@whistle.com Subject: freebsd performance. Date: Wed, 29 Jan 1997 09:41:11 -0800 From: Jason Venner <jason@idiom.com> The posix regex library is VERY VERY slow. I have a program that uses a large regex to parse some input. I have a version in perl and a version in C++ using the freebsd posix regex library. The perl version is 100X faster that the C++ version. gprof on the C++ version shows 99% of the spend in: 91.53 46.17 46.17 1152366 0.04 0.04 lstep 6.52 49.46 3.29 98497 0.03 0.47 lslow --------------794BDF32446B9B3D2781E494--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32EFD2E2.167EB0E7>