Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 82 lines (55 sloc) 2.544 kb
401d347 @stanislaw more README
authored
1 # vips-benchmarks
f3b644f @stanislaw Initial commit to ruby-vips-benchmarks.
authored
2
d1df1bc @stanislaw Update README
authored
3 The goal of this repo is to demonstrate the performance of the libvips library in comparison to other image processing systems. Currently an accent on [ruby-vips](https://github.com/jcupitt/ruby-vips): Ruby bindings for libvips library, is made.
f3b644f @stanislaw Initial commit to ruby-vips-benchmarks.
authored
4
4564e78 @stanislaw Finalize README
authored
5 Be sure to check out the official benchmarks page: [VIPS - Speed and Memory Use](http://www.vips.ecs.soton.ac.uk/index.php?title=Speed_and_Memory_Use) for complete demonstration of performance and memory usage characteristics of VIPS library.
2468813 @stanislaw first README
authored
6
4564e78 @stanislaw Finalize README
authored
7 Last update: June 6, 2014.
dfb0032 @stanislaw added benchmarks sample to README
authored
8
d1df1bc @stanislaw Update README
authored
9 ## Benchmarks
dfb0032 @stanislaw added benchmarks sample to README
authored
10
29dc8f8 @jcupitt enable seq mode, update README
jcupitt authored
11 ```bash
7674b4b @jcupitt update README for latest versionsof packages
jcupitt authored
12 $ bundle exec ./runner
d1df1bc @stanislaw Update README
authored
13 Darwin 41.88.168.192.in-addr.arpa 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
14
15 Ruby-vips 0.3.8 built against vips-7.38.5-Fri Jun 6 13:56:58 MSK 2014
16
17 Version: ImageMagick 6.8.8-9 Q16 x86_64 2014-06-06 http://www.imagemagick.org
18 Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
19 Features: DPC Modules
20 Delegates: bzlib fftw freetype jng jpeg lcms ltdl png tiff xml zlib
21
22 Image Science 1.2.6
23
91b63b8 @jcupitt add netpbm, sort output
jcupitt authored
24 building test image ...
25 tile=10
26 test image is 2900 by 4420 pixels
27 making tiff and jpeg derivatives ...
a011ea0 @jcupitt added peak memuse table
jcupitt authored
28 timing ruby/ruby-vips.rb ... done
29 timing ruby/rmagick.rb ... done
30 timing image-magick/image-magick ... done
31 timing ruby/image_sci.rb ... done
32 measuring memuse for ruby/ruby-vips.rb ... done
33 measuring memuse for ruby/rmagick.rb ... done
34 measuring memuse for ruby/image_sci.rb ... done
35
36 real time in seconds, fastest of three runs
29dc8f8 @jcupitt enable seq mode, update README
jcupitt authored
37 benchmark tiff jpeg
d1df1bc @stanislaw Update README
authored
38 ruby-vips.rb 1.42 1.62
39 image_sci.rb 1.47 1.70
40 rmagick.rb 1.63 1.87
41 image-magick 1.68 2.01
a011ea0 @jcupitt added peak memuse table
jcupitt authored
42
d1df1bc @stanislaw Update README
authored
43 peak memory use in bytes
29dc8f8 @jcupitt enable seq mode, update README
jcupitt authored
44 benchmark peak RSS
d1df1bc @stanislaw Update README
authored
45 ruby-vips.rb 184926208
46 image_sci.rb 629784576
47 rmagick.rb 1465909248
29dc8f8 @jcupitt enable seq mode, update README
jcupitt authored
48 ```
f3b644f @stanislaw Initial commit to ruby-vips-benchmarks.
authored
49
401d347 @stanislaw more README
authored
50 ## Performance test design
51
87be724 @stanislaw final README
authored
52 The repo has folders _ruby/_, _cpp/_ and others, each having platform
401d347 @stanislaw more README
authored
53 specific scripts using various libraries available for this platform.
54
d1df1bc @stanislaw Update README
authored
55 Each script is coded to execute the same scenario (see Scenario section).
401d347 @stanislaw more README
authored
56
819a9ea @stanislaw minor cleanups
authored
57 Root folder contains _runner_ script, running
58 scripts available in all folders.
401d347 @stanislaw more README
authored
59
fabc3f9 @stanislaw better README
authored
60 See "Do it yourself" section for how to run benchmark scenario.
61
401d347 @stanislaw more README
authored
62 ## Scenario
63
819a9ea @stanislaw minor cleanups
authored
64 Test scenario was taken from [Speed and Memory use](http://www.vips.ecs.soton.ac.uk/index.php?title=Speed_and_Memory_Use) page from libvips [Home page](http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS)
401d347 @stanislaw more README
authored
65
dfb0032 @stanislaw added benchmarks sample to README
authored
66 ## Do it yourself
67
68 ```bash
69 git clone https://github.com/stanislaw/vips-benchmarks
70
71 cd vips-benchmarks
f3b644f @stanislaw Initial commit to ruby-vips-benchmarks.
authored
72
d1df1bc @stanislaw Update README
authored
73 bundle update
fabc3f9 @stanislaw better README
authored
74
d1df1bc @stanislaw Update README
authored
75 bundle exec ./runner
76 ```
fabc3f9 @stanislaw better README
authored
77
dfb0032 @stanislaw added benchmarks sample to README
authored
78 ## Copyright
f3b644f @stanislaw Initial commit to ruby-vips-benchmarks.
authored
79
d1df1bc @stanislaw Update README
authored
80 Copyright (c) 2012, 2014 Stanislaw Pankevich and John Cupitt.
81
Something went wrong with that request. Please try again.