Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 339 Bytes
use Benchmark qw/:all/;
use lib 'lib';
use AB;
timethese(
1000 => {
gm => sub {
AB->render_gm();
},
gd => sub {
AB->render_gd();
},
imager => sub {
AB->render_imager();
},
imlib2 => sub {
AB->render_imlib2();
},
}
);