summaryrefslogtreecommitdiff
path: root/benchmark/bm_require.rb
blob: b8abc88f417d5abfb6071cd9ac8edb7039621a7f (plain)
1
2
3
4
5
6
7
$:.push File.join(File.dirname(__FILE__), "bm_require.data")

1.upto(10000) do |i|
  require "c#{i}"
end

$:.pop