Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

better README

  • Loading branch information...
commit fabc3f92c1f2758fec38106f94113fc2edc0edf1 1 parent dfb0032
@stanislaw authored
Showing with 19 additions and 10 deletions.
  1. +18 −9 README.md
  2. +1 −1  ruby/runner
View
27 README.md
@@ -10,20 +10,18 @@ The repo is a setup phase. Only two scripts for ruby-vips and rmagick are availa
## Benchmarks for 2012.06.26
-```bash
-stanislaw@localhost ~/work/gems/vips-benchmarks $ ./runner images/huge.jpg
-output/huge.jpg
+<pre>
+stanislaw@localhost ~/work/gems/vips-benchmarks $ ./runner images/huge.jpg output/huge.jpg
-=== Ruby platform ===
+==== Ruby platform ====
Ruby-vips 0.1.1
real 0m1.806s
user 0m3.284s
-sys 0m0.075s
+sys 0m0.075s
-This is RMagick 2.13.1 ($Date: 2009/12/20 02:33:33 $) Copyright (C) 2009 by
-Timothy P. Hunter
+This is RMagick 2.13.1 ($Date: 2009/12/20 02:33:33 $) Copyright (C) 2009 by Timothy P. Hunter
Built with ImageMagick 6.7.7-5 2012-06-24 Q16 http://www.imagemagick.org
Built for ruby 1.9.3
Web page: http://rmagick.rubyforge.org
@@ -32,7 +30,7 @@ Email: rmagick@rubyforge.org
real 0m2.882s
user 0m3.486s
sys 0m0.147s
-```
+</pre>
## Performance test design
@@ -49,6 +47,8 @@ rmagick.rb scripts one by one.
Root folder contains _runner_ script, containing links to all _runner_
scripts available in repo.
+See "Do it yourself" section for how to run benchmark scenario.
+
## Scenario
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)
@@ -65,8 +65,17 @@ cd vips-benchmarks
# or more specifically for ruby platform:
ruby/runner images/huge.jpg output/huge.jpg
+
+# for one concrete library:
+time ruby ruby/ruby-vips.rb images/huge.jpg output/huge.jpg
```
+## TODO
+
+* Scenario: more solid!
+* More libraries for ruby
+* More platforms (suggestions are welcome!)
+
## Copyright
-Copyright (c) 2012 Stanislaw Pankevich and hopefully John Cupitt.
+Copyright (c) 2012 Stanislaw Pankevich and (hopefully) John Cupitt.
View
2  ruby/runner
@@ -4,7 +4,7 @@
echo
-echo "=== Ruby platform ==="
+echo "==== Ruby platform ===="
echo
Please sign in to comment.
Something went wrong with that request. Please try again.