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