https://bugzilla.wikimedia.org/show_bug.cgi?id=32721
--- Comment #14 from John Cupitt <[email protected]> --- A new vips is out, so I thought I'd update the benchmark again with the latest version of each package. This time I've used my laptop. This has an i5-3210M at 2.5 GHz and 6gb of RAM. On this machine, ImageMagick processes via RAM rather than via a temporary disc file so speed is up, but memuse is too. Summary: program version | real user sys peak mem -----------------------+--------------------------------- vipsthumbnail 7.32.0 | 3.925 3.856 0.068 54mb pngscale master | 4.530 4.484 0.040 <1mb convert 6.7.7-10 | 8.516 17.521 0.784 987mb peak mem is measured with a version of Tim Starling's perl program to watch strace output: http://www.vips.ecs.soton.ac.uk/development/peakmem.pl Output: http://www.vips.ecs.soton.ac.uk/development/tn_Chicago-vips.jpg http://www.vips.ecs.soton.ac.uk/development/tn_Chicago-pngscale.png http://www.vips.ecs.soton.ac.uk/development/tn_Chicago-magick2.jpg Quality looks very similar, though perhaps pngscale is a little softer than the others. Log: I've edited this down, I ran each command four times and picked the fastest. This is just supposed to show the exact commands I ran. $ vips copy Chicago.jpg Chicago.png $ time vipsthumbnail Chicago.png --size 800 --interpolator bicubic -o tn_Chicago-vips.jpg real 0m3.931s user 0m3.900s sys 0m0.032s $ peakmem.pl vipsthumbnail Chicago.png --size 800 --interpolator bicubic -o tn_Chicago-vips.jpg 54 MB $ time pngscale Chicago.png tn_Chicago-pngscale.png 800 -1 real 0m4.530s user 0m4.484s sys 0m0.040s $ peakmem.pl time pngscale Chicago.png tn_Chicago-pngscale.png 800 -1 0 MB $ time convert Chicago.png -resize 800 tn_Chicago-magick2.jpg real 0m8.516s user 0m17.521s sys 0m0.784s $ peakmem.pl convert Chicago.png -resize 800 tn_Chicago-magick2.jpg 987 MB -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
