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.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 > > 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'. > 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. Well, have no machine with B72. So I tried to build ast-ast.2007-06-28.tgz, but that fails under Solaris (must admit, that I never understood the mamake magic to be able to troubleshoot). Anyway, it builts on Linux and thus I've a number for the same test: Linux (libast) 24.269u 0.160s 0:24.49 99.7% (gcc -O5 regex.c -L /export/scratch/build/ast/arch/linux.i386/lib -last) So I guess, it wouldn't be an improvement on Solaris, too. Thanx for your idea, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768 _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org