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

This test file is similar to /re/speed.t, but to test general-purpose
optimisations.

The idea is to run snippets of code that are 100s or 1000s times slower
if a particular optimisation is broken. We are not so much interested
in the individual tests passing, as in the whole file failing with a
watchdog timeout (or just observing that it running more slowly)
MANIFEST
t/perf/speed.t [new file with mode: 0644]