Skip to content
A red/black tree impl and bench
Python Ruby
Find file
Failed to load latest commit information.
.gitignore Added python version. Ruby version updated.
README
bm1.py Added bm2, also small other changes.
bm1.rb Updated results (ran on mac os x).
bm2.py Added bm2, also small other changes.
bm2.rb Added bm2, also small other changes.
red_black_tree.py Backoprted singleton, NilNode() -> NilNode.instance()
red_black_tree.rb Added python version. Ruby version updated.
results_bm1.txt Updated results (ran on mac os x).

README

Red Black Tree benchmark for ruby && python.
Mainly to comparison different ruby implementations and python version to see how it's related to ruby (for that specific benchmark).

How to run?
some-ruby --some-options bm1.rb 100 # run bm1.rb with looping 100x times
where:
  some-ruby is you ruby (ruby, ruby1.9, rbx, jruby, maglev etc.)
  --some-options - specific options for your ruby version (ie. --server fot jruby)

Something went wrong with that request. Please try again.