We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c0a8d2 commit 81c7ca2Copy full SHA for 81c7ca2
1 file changed
tests/ImageTest.php
@@ -497,9 +497,9 @@ public function resizeMultiPerformance()
497
498
$beforeSingle = microtime(true);
499
for ($i = 0; $i < $count; ++$i) {
500
- Image::resize($source, 1100, 400);
501
- Image::resize($source, 100, 400);
502
- Image::resize($source, 10, 40);
+ Image::resizeMulti($source, [['width' => 1100, 'height' => 400]]);
+ Image::resizeMulti($source, [['width' => 100, 'height' => 400]]);
+ Image::resizeMulti($source, [['width' => 10, 'height' => 40]]);
503
}
504
505
$singleTime = microtime(true) - $beforeSingle;
0 commit comments