develooper Front page | perl.perl5.porters | Postings from September 2021

Re: Pre-RFC: Configure option for whether to include taint support

Thread Previous | Thread Next
From:
Steffen Schwigon
Date:
September 17, 2021 20:30
Subject:
Re: Pre-RFC: Configure option for whether to include taint support
Message ID:
87ee9neyh2.fsf@renormalist.net
Steffen Schwigon <ss5@renormalist.net> writes:
> I will try to benchmark the impact of the compilation option
> -DNO_TAINT_SUPPORT to perl's performance.

Executive Summary:

With very few exceptions or outliers Perl with -DNO_TAINT_SUPPORT is
generally faster than with taint support by about 1% to 5% for average
real world code. There are some more extreme results where the
benchmarks are special:

 - Some algorithmic micro benchmarks are nearly not affected or even
   slower.
   
 - Some particular Perl feature micro benchmarks are up to 20% faster.
 
 - The complex text processing benchmark SpamAssassin is 14% faster ([1]).


[1] Obviously, in real life SpamAssassin would use taintmode for good
    reason.


More details with boxplots and percentiles are here:

 * http://renormalist.github.io/Benchmark-Perl-Formance/res/2021-09-17-perl-benchmark-notaintsupport-v1.html


Here is documented what I did:

 * https://github.com/renormalist/perl-benchmarking-taintmode


I hope that helps.

Kind regards,
Steffen
-- 
Steffen Schwigon <ss5@renormalist.net>
Perl benchmarks <http://perlformance.net>
Dresden Perl Mongers <http://dresden-pm.org/>

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