[ksh93-integration-discuss] [osol-code] extremly bad performance of Solaris regex
Garrett D'Amore
garrett at damore.org
Tue Oct 30 23:07:41 PDT 2007
Don't most 3rd party software apps use a version of either GNU regex or
perl regex?
(As a sidebar, I do recall that some time ago, I found perl's regular
expression code, running perl, was only about 10% slower for a
reasonably complex regular expression, compared to a hand-optimized C
version that didn't use any regular expression library. This was
probably about a decade ago on Sun Sparc 10 hardware... yes, that's
sun4m I'm talking about. ;-) And the regular expression was a full match
on HTTP log messages, as reported by the then current NCSA server.
(Pre-Apache days... :-) I was astounded and very pleased with perl as a
result.
-- Garrett
Glenn Fowler wrote:
> can you point me to the RegexTest.java used?
>
> -- Glenn Fowler -- AT&T Research, Florham Park NJ --
>
> On Wed, 31 Oct 2007 06:20:02 +0100 Roland Mainz wrote:
>
>> Jens Elkner wrote:
>> [CC:'ing ksh93-integration-discuss at opensolaris.org since libast belongs
>> to this project]
>>
>>> regex.c RegexTest.java MHz
>>> Solaris sparc 13.12u 0.01s 0:13.17 99.6% 5569 ms 1503
>>> Solaris x86 6.28u 0.00s 0:06.29 99.8% 2571 ms 2813
>>> Linux i686 0.704u 0.004s 0:00.70 100.0% 5587 ms 2079.593
>>>
>
> _______________________________________________
> opensolaris-code mailing list
> opensolaris-code at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
>
More information about the ksh93-integration-discuss
mailing list