Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-31 Thread Fintan Ryan
Hi, >>> Linux i6860.704u 0.004s 0:00.70 100.0%5587 ms 2079.593 >> 1. Which locale do you use ? > > LC_CTYPE is set to en_US and LC_LANG/LC_ALL are unset. So I assume > 'en_US'. > Can you try using the C locale, en_US is now a utf8 locale afaik, the I18N folks would be abl

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-31 Thread Roland Mainz
Hi! [Please keep [EMAIL PROTECTED] in the CC: field for AST-related topics since not all people there are subscribed to all other opensolaris-org lists, too] Jens Elkner wrote: > On Wed, Oct 31, 2007 at 06:20:02AM +0100, Roland Mainz wrote: > > Jens Elkner wrote: > > [CC:'ing [EMAIL PROTE

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-31 Thread Jens Elkner
On Wed, Oct 31, 2007 at 01:25:36AM -0400, Peter Memishian wrote: > > > /usr/lib/libast.so.1 before you can link with libast via -last > > ... and in case it's not obvious from the issues linking via -last, this > is not a public API as far as Solaris is concerned yet. No problem. I'm using the

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-31 Thread Jens Elkner
On Wed, Oct 31, 2007 at 06:20:02AM +0100, Roland Mainz wrote: > Jens Elkner wrote: > [CC:'ing [EMAIL PROTECTED] since libast belongs > to this project] > > > > regex.c RegexTest.javaMHz > > Solaris sparc13.12u 0.01s 0:13.17 99.6%5569 ms

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-30 Thread Roland Mainz
Peter Memishian wrote: > > > 1. Which locale do you use ? > > 2. Starting with Solaris 11/B72 there is libast.so.1 which comes with an > > own set of pattern matching functions. It may be nice to check how these > > functions perform compared to the "normal" Solaris functions in libc. > > Not

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-30 Thread Peter Memishian
> 1. Which locale do you use ? > 2. Starting with Solaris 11/B72 there is libast.so.1 which comes with an > own set of pattern matching functions. It may be nice to check how these > functions perform compared to the "normal" Solaris functions in libc. > Notes: > - You have to include the AS

Re: [perf-discuss] [osol-code] extremly bad performance of Solaris regex

2007-10-30 Thread Roland Mainz
Jens Elkner wrote: [CC:'ing [EMAIL PROTECTED] since libast belongs to this project] > > regex.c RegexTest.javaMHz > Solaris sparc13.12u 0.01s 0:13.17 99.6%5569 ms 1503 > Solaris x86 6.28u 0.00s 0:06.29 99.8%2571 ms