Re: Weird performance issue
- From: Ryan Davis <ryand-ruby@xxxxxxxxxxxxx>
- Date: Wed, 29 Apr 2009 18:05:26 -0500
On Apr 27, 2009, at 21:20 , court3nay wrote:
I ran a profile, too.
looking at your profile on fast and slow shows a ton of differences.
If I ignore the times completely I find this very interesting cluster
at 14 calls on your slow run: http://pastie.org/463189.txt
Basically, it looks like you're not loading any gems on the fast side
at all, despite having roughly the same number of requires. You don't
have any calls to gem_original_require on the fast side for example.
At this point I suspect the fast side is more incorrect than the slow
side, but I dunno.
So, look at `gem env` on both sides, look at `env | egrep "GEM|RUBY"`.
Compare the two and see if you find anything... I think the
suggestions to look at the system with dtrace and the like are going
way too deep way too fast. It's like trying to drink from a firehose.
.
- References:
- Weird performance issue
- From: court3nay
- Re: Weird performance issue
- From: Ryan Davis
- Weird performance issue
- Prev by Date: Re: RubyGems question: install vs. update
- Next by Date: Re: Weird performance issue
- Previous by thread: Re: Weird performance issue
- Next by thread: Re: Weird performance issue
- Index(es):
Relevant Pages
|