diff options
Diffstat (limited to 'tools/benchmark.php')
| -rwxr-xr-x | tools/benchmark.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/benchmark.php b/tools/benchmark.php index 8c97364c..f2b5831b 100755 --- a/tools/benchmark.php +++ b/tools/benchmark.php @@ -47,6 +47,10 @@ function benchmark($method) { } benchmark('gd'); -benchmark('imagick'); +if (extension_loaded('imagick')) { + benchmark('imagick'); +} else { + echo "Imagick extension not loaded... skipping.\n"; +} benchmark('convert'); - +benchmark('convert+gifsicle'); |
