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