diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-01 03:58:44 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-01 03:58:44 -0400 |
| commit | 8709b3fdfd638dba85d607cf76d1bef88b7a7cb5 (patch) | |
| tree | 6cb4085e4e585c8314a8367083fc5dd96a1f45c5 | |
| parent | 7aae4df443abfa03aa12e43332712c1d7d3e8c14 (diff) | |
Add convert+gifsicle
| -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'); |
