develooper Front page | perl.perl5.porters | Postings from August 2010

Re: [Patch] Document clarification of performance improvements in Perl 5.13.3

Thread Previous | Thread Next
From:
Florian Ragwitz
Date:
August 31, 2010 13:02
Subject:
Re: [Patch] Document clarification of performance improvements in Perl 5.13.3
Message ID:
87y6bmsga6.fsf@tardis.home.perldition.org
I agree, it's not a great changelog entry. Sorry about that.

>  =head1 Performance Enhancements
>
> -There are several small optimizations to improve CPU cache performance
> +There are several small optimizations to improve CPU cache performance.
> +
> +=head2 Implications
> +
> +=over 2
> +
> +=item Quantifiable performance increase in strict and warnings
> +
> +=item File reading has been improved for performance
> +
> +=back

I don't think this is great either. Are those actually quantifiable
performance enhancements? All the commit messages say is that the cache
pressure was slightly reduced, not that anything is now measurably faster.

Maybe something along the lines of "Reduced number of cache misses in
the very commonly used functions C<warnings::import>, C<warnings::bits>,
C<vars::import>, and C<Carp::import>, as well as when accessing
filehandles for reading"?

Your patch mentioned strict.pm. I don't see any similar changes to
that. Am I missing anything?

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About