This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bench.pl: add 'compile' benchmark field
[perl5.git] / t / perf / benchmarks
index f366d4b..423230a 100644 (file)
 #     pre  => '$x  = ""',
 #     code => '$x .= "foo"',
 #
+# Finally, the optional 'compile' key causes the code body to be wrapped
+# in eval qw{ sub { ... }}, so that compile time rather than execution
+# time is measured.
 
 
 [