Created
February 22, 2015 23:03
-
-
Save yorickpeterse/3835874051c0f36234f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git@github.com:YorickPeterse/oga.git | |
git checkout ruby-ll # if this complains, use git checkout -b ruby-ll origin/ruby-ll | |
bundle install | |
gem install oga | |
rake generate fixtures | |
# To benchmark the old parser, open benchmark/benchmark_helper.rb | |
# and replace the require_relative on line 5 with require 'oga' | |
# Then to benchmark it: | |
ruby benchmark/xml/parser/parser_bench.rb | |
# To benchmark the new parser, change line 5 of benchmark_helper.rb | |
# back to the require_relative call. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment