On Thu, May 15, 2003 at 11:13:37PM +0100, Alan Burlison wrote: > Someone internal to Sun wants to look at the performance of Perl to see if > there is anything we can do to make it go faster on Solaris by tweaking the > OS. He was asking me if there were any recommended performance benchmarks > for Perl. I'm aware of perlbench, but according to the REDADME that doesn't > support -Duseshrplib on anything except OS2. Is that still the best choice? Finding a useful benchmark seems to be a holy grail. perlbench produces pretty numbers, but they've not been showing any change in areas where specific changes have been made that produced real performance improvements in production code. So I'm not convinced that it's useful. The best thing that I can think of offhand is to take some batch-able (hence repeatable) application program(s) and test them. I'm told spamassassin is (a) a real resource hog and (b) something that even die-hard perl haters will install /usr/bin/perl in order to run. Would testing using spam assassin with a known fixed spam corpus provide a suitable benchmark? It may not make all perl scripts go faster, but it would probably make quite a lot of real world perl users happy. Nicholas ClarkThread Previous | Thread Next