haml/haml — pull request #552 by mattwildig (2012-06-03 17:07:09+00:00)
Title: Fix benchmark script

The benchmark script was out of date. I think I’ve got it working, but it needs someone who knows Rails to check that I’ve got those bits right (particularly the `base.view_paths << ...` bit).

(commit message below)

Bring benchmark.rb up to date.

* Update paths in benchmark.rb and Rakefile (benchmark.rb is now in top
level, not in test).
* Add "rails" to requre list (needed for version check).
* Use current api when adding view path to ActionView.base.