This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add t/perf/benchmarks, t/perf/benchmarks.t
authorDavid Mitchell <davem@iabyn.com>
Tue, 21 Oct 2014 14:26:08 +0000 (15:26 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 26 Oct 2014 16:53:50 +0000 (16:53 +0000)
commit24fb648de5857b382fd223b97cbad437c5b724b1
tree5b044abfe8dffc3f1d9321aa3e4dbe9de69d78bb
parentb5cbe44b7ce9b6ee60eaca7d1784c0e36070154f
add t/perf/benchmarks, t/perf/benchmarks.t

t/perf/benchmarks is a file intended to contain snippets of code
that can be usefully benchmarked or otherwise profiled.

The basic idea is that any time you add an optimisation that is intended
to make a particular construct faster, then you should add that construct
to this file.

Under the normal test suite, the test file benchmarks.t does a basic
compile and run of each of these snippets; not to test performance,
but just to ensure that the code doesn't have errors.

Over time, it is intended that various measurement and profiling tools
will be written that can run selected (or all) snippets in various
environments. These will not be run as part of a normal test suite run.
MANIFEST
t/perf/benchmarks [new file with mode: 0644]
t/perf/benchmarks.t [new file with mode: 0644]