Why could Shark be so slow?

Posted by taw on Stack Overflow See other posts from Stack Overflow or by taw
Published on 2009-12-02T17:27:43Z Indexed on 2010/05/22 5:30 UTC
Read the original article Hit count: 266

Filed under:

I'm trying to profile Ruby interpreter. I run shark -i ./ruby bm_sudoku.rb or something like that, the script finishes in less than a second, and then Shark goes to "CHUDData - Analyzing samples... 99.3%.." point and stays there frozen for 10 minutes or so. It finishes eventually, it's just so ridiculously slow it's pretty much unusable.

Version I have here is OSX 10.5, shark 4.6.1 (227).

Any ideas what that might be?

© Stack Overflow or respective owner

Related posts about shark