projects
/
imager.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
use $Config{path_sep} instead of working it out on our own
[imager.git]
/
bench
/
copy.bench
1
#!perl -w
2
use Imager qw(:all);
3
use Benchmark;
4
5
# a basic benchmark to test how much faster it is to work line by line
6
$im1 = Imager::ImgRaw::new(200,200,3);
7
$im2 = Imager::ImgRaw::new(200,200,3);
8
9
timethese(-5,
10
{ copy => 'Imager::i_copy($im2, $im1)' });