Skip to content
Rails app to benchmark Nokogiri's XML builder vs Builder
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
.gitignore
README
Rakefile

README

# Nokogiri vs Builder Rails benchmark app

See http://railsontherun.com/2010/02/22/speed-up-your-rails-xml-responses/

Start the app and run the following benchmarks:

$ ab -c 1 -n 200 http://127.0.0.1:3000/benchmarks/builder_small
$ ab -c 1 -n 200 http://127.0.0.1:3000/benchmarks/noko_small
$ ab -c 1 -n 200 http://127.0.0.1:3000/benchmarks/builder
$ ab -c 1 -n 200 http://127.0.0.1:3000/benchmarks/builder
Something went wrong with that request. Please try again.