A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jcupitt/php-vips-bench below:

jcupitt/php-vips-bench: benchmark the vips php binding

This benchmarks the php-vips image processing module against imagick and gd.

The test is a very simple one:

This is not a complex test, but it is easy to implement and does exercise image load, save, resample and filter.

The vips website has this same test performed in many different image processing systems, with some discussion:

https://github.com/libvips/libvips/wiki/Speed-and-memory-use

Run on 17/8/23 with libvips 8.14, libgd 2.3.3, imagick 3.7 on Ubuntu 23.04 with a 3955WX.

$ VIPS_CONCURRENCY=4 ./runner 
building test image ...
tile=10
test image is 5000 by 5000 pixels
make jpeg derivatives ...
timing ./vips.php ... done
timing ./imagick.php ... done
timing ./gd.php ... done
measuring memuse for ./vips.php ... done
measuring memuse for ./imagick.php ... done
measuring memuse for ./gd.php ... done

real time in seconds, fastest of three runs
benchmark	jpeg
vips.php	0.28	
imagick.php	1.58	
gd.php	1.68	

peak memory use in KB
benchmark	peak RSS
vips.php	80384
gd.php	220928
imagick.php	521128

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4