-
-
Save xaviershay/c8d0d422a9203e1fe492 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`mkdir f` | |
10000.times do |x| | |
`touch f/bogus#{x}.rb` | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
$LOAD_PATH.unshift(File.expand_path('f')) | |
x = 0 | |
require 'benchmark' | |
Benchmark.bm do |b| | |
(1..5).each do |n| | |
b.report("#{n * 500} requires") { (n*500).times { require "bogus#{x}"; x += 1 }} | |
end | |
end |
urgh that doesn't look friendly. Are you able to try on 1.9.3 without my patch?
Thanks for trying it out!
Ah yep... the same error occurred using straight 1.9.3dev.
Well in a strange sense I'm pumped your patch still looks good! Thanks for all the work your putting into this!
Cheers!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well I wasn't able to open an issue on your ruby fork, but I ran your blog post scripts and got an error when trying to run rails s --debug (so using ruby-debug19)
Error:
(Same error occurs just running 'rails s')
At this point I wish I was more knowledgeable in ruby, but I'm afraid I don't have the time at the moment to dive into the issue. Maybe later today after I get some work done.
As a side note, this same rails project runs fine using:
Only differences in environment to trigger the code: