Permalink
Browse files

Fix time require benchmark to not use minigems.

git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7837 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information...
1 parent dc04a3c commit 89b5fa6d0614aed435510d661d908706b80e352b @headius headius committed Oct 7, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 bench/bench_time_require.rb
@@ -8,12 +8,12 @@
}
puts "Now with rubygems and activerecord"
-require 'minigems'
+require 'rubygems'
gem 'activerecord'
require 'activerecord'
Benchmark.bm(30) {|bm|
TIMES.times {
bm.report("require 'time'") { 10_000.times { require 'time' } }
}
-}
+}

0 comments on commit 89b5fa6

Please sign in to comment.