README.md in rbtree-jruby-0.1.0 vs README.md in rbtree-jruby-0.2.0
- old
+ new
@@ -53,9 +53,20 @@
mrbtree.bound("a", "d") do |k, v|
p [k, v]
end # => ["a", 20] ["a", 40] ["c", 10]
```
+Benchmarks
+-----------
+
+Benchmark takes from headius' [redblack](https://github.com/headius/redblack) project.
+Compared to [rbtree-pure](https://github.com/pwnall/rbtree-pure) and
+[rbtree c extension](https://github.com/skade/rbtree).
+![benchmark result](https://raw.github.com/isaiah/rbtree-jruby/master/benchmark/result.png)
+
+It's interesting to see jruby with invokedynamic almost gets C extension speed, and
+jruby native extension is even faster than it's counterpart.
+For more details, checkout [benchmark directory](https://github.com/isaiah/rbtree-jruby/tree/master/benchmark).
Requirement
-----------
* JRuby