Has anyone successfully profiled a running macruby (0.7) app? I've tried using Ruby's built in __Profiler and Ruby-Prof but both fail to run. Is there a Cocoa specific app that can be used? Thanks, Corey
Instruments? On 21 Oct 2010, at 18:35, corey johnson <probablycorey.spam@gmail.com> wrote:
Has anyone successfully profiled a running macruby (0.7) app? I've tried using Ruby's built in __Profiler and Ruby-Prof but both fail to run. Is there a Cocoa specific app that can be used?
Thanks, Corey _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
That works for the C and ObjC parts of macruby. But I can't get it to show me which ruby methods are taking the most amount of time. On Thu, Oct 21, 2010 at 10:58 AM, Alistair Holt <alistairholt@gmail.com> wrote:
Instruments?
On 21 Oct 2010, at 18:35, corey johnson <probablycorey.spam@gmail.com> wrote:
Has anyone successfully profiled a running macruby (0.7) app? I've tried using Ruby's built in __Profiler and Ruby-Prof but both fail to run. Is there a Cocoa specific app that can be used?
Thanks, Corey _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Did you try using Dtrace? - Matt Sent from my iPhone On Oct 21, 2010, at 12:26, corey johnson <probablycorey.spam@gmail.com> wrote:
That works for the C and ObjC parts of macruby. But I can't get it to show me which ruby methods are taking the most amount of time.
On Thu, Oct 21, 2010 at 10:58 AM, Alistair Holt <alistairholt@gmail.com> wrote:
Instruments?
On 21 Oct 2010, at 18:35, corey johnson <probablycorey.spam@gmail.com> wrote:
Has anyone successfully profiled a running macruby (0.7) app? I've tried using Ruby's built in __Profiler and Ruby-Prof but both fail to run. Is there a Cocoa specific app that can be used?
Thanks, Corey _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Corey, I don't think we have a real profiler solution yet. We could make the Ruby profilers work on MacRuby for the upcoming release, though, if you file a ticket. Ideally, I think we should make Shark/Instrument able to interpret Ruby methods, by feeding them with symbols somehow. Currently, Shark doesn't know about Ruby methods in stack frames, but I assume that if we generate a dSYM bundle it would. Laurent On Oct 21, 2010, at 10:35 AM, corey johnson wrote:
Has anyone successfully profiled a running macruby (0.7) app? I've tried using Ruby's built in __Profiler and Ruby-Prof but both fail to run. Is there a Cocoa specific app that can be used?
Thanks, Corey _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (4)
-
Alistair Holt
-
corey johnson
-
Laurent Sansonetti
-
Matt Aimonetti