New Build System, Faster Objective-C Dispatcher, Screencast
Oh that is sweet! I think this project has legs! Brent On Mon, Jun 16, 2008 at 6:55 PM, Laurent Sansonetti <lsansonetti@apple.com> wrote:
-> http://ruby.macosforge.org/post/46/ :)
Laurent _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On Jun 16, 2008, at 6:55 PM, Laurent Sansonetti wrote:
Says: "These are very premature results, we expect to continue reducing the time spent in the dispatcher, in the near future, and hopefully to make it twice faster." I've seen some dtrace related things go by. Does this by any chance mean that you're using Instruments against MacRuby? Pierce
Hi Pierce, On Jun 17, 2008, at 3:16 PM, Pierce T. Wetter III wrote:
On Jun 16, 2008, at 6:55 PM, Laurent Sansonetti wrote:
Says:
"These are very premature results, we expect to continue reducing the time spent in the dispatcher, in the near future, and hopefully to make it twice faster."
I've seen some dtrace related things go by. Does this by any chance mean that you're using Instruments against MacRuby?
We don't have DTrace support in MacRuby yet, this is planned for 0.3. But yes I used Instruments.app (especially the sample instrument) a lot on MacRuby, to boost the objc dispatcher performance, and I will continue for the rest of the code. Laurent
On Jun 17, 2008, at 3:34 PM, Laurent Sansonetti wrote:
Hi Pierce,
On Jun 17, 2008, at 3:16 PM, Pierce T. Wetter III wrote:
On Jun 16, 2008, at 6:55 PM, Laurent Sansonetti wrote:
Says:
"These are very premature results, we expect to continue reducing the time spent in the dispatcher, in the near future, and hopefully to make it twice faster."
I've seen some dtrace related things go by. Does this by any chance mean that you're using Instruments against MacRuby?
We don't have DTrace support in MacRuby yet, this is planned for 0.3.
Ah, that's what #74 means.
But yes I used Instruments.app (especially the sample instrument) a lot on MacRuby, to boost the objc dispatcher performance, and I will continue for the rest of the code.
On the objc side or both sides? I spent some amount of time trying to figure out how to feed ruby stack traces into the Instruments.app sample instrument, but there's really no docs on how that stuff works. I originally thought I could just slap together some dtrace scripts, and ta-da! I'd have ruby sample runs. No such luck, as far as I could tell, you can do it for Java, but not Ruby. On that note, would it be useful for me to make a Trac request for such a feature? Pierce
On Jun 17, 2008, at 4:08 PM, Pierce T. Wetter III wrote:
On Jun 17, 2008, at 3:34 PM, Laurent Sansonetti wrote:
Hi Pierce,
On Jun 17, 2008, at 3:16 PM, Pierce T. Wetter III wrote:
On Jun 16, 2008, at 6:55 PM, Laurent Sansonetti wrote:
Says:
"These are very premature results, we expect to continue reducing the time spent in the dispatcher, in the near future, and hopefully to make it twice faster."
I've seen some dtrace related things go by. Does this by any chance mean that you're using Instruments against MacRuby?
We don't have DTrace support in MacRuby yet, this is planned for 0.3.
Ah, that's what #74 means.
But yes I used Instruments.app (especially the sample instrument) a lot on MacRuby, to boost the objc dispatcher performance, and I will continue for the rest of the code.
On the objc side or both sides? I spent some amount of time trying to figure out how to feed ruby stack traces into the Instruments.app sample instrument, but there's really no docs on how that stuff works. I originally thought I could just slap together some dtrace scripts, and ta-da! I'd have ruby sample runs. No such luck, as far as I could tell, you can do it for Java, but not Ruby.
On that note, would it be useful for me to make a Trac request for such a feature?
I only used it on the C side. MacRuby has very little (to not say inexistent) implementation written in Ruby. Yes I agree that a Ruby sample instruments would be great. I think one could perhaps make a custom instrument that uses one of the various Ruby profiling libraries. But I wonder if it's possible to create custom instruments (except the DTrace-based ones). Feel free to report this kind of feedback to the Instruments.app team, via http://bugreport.apple.com, it might perhaps turn into a feature somewhere in the future :) Laurent
Feel free to report this kind of feedback to the Instruments.app team, via http://bugreport.apple.com, it might perhaps turn into a feature somewhere in the future :)
I actually did awhile back. It's #5840527. Perhaps there's some internal discussion about the issue? I was just hoping you might drop an email to the Instruments.app team. As an internal developer, maybe there's some dtrace magic I didn't know about for hooking into Sampler via dtrace, or maybe they'll get excited by how cool MacRuby is and tell you how to provide the stack backtrace to sampler (Java can do it somehow). I can dream, can't I? Pierce
participants (3)
-
Brent Rowland
-
Laurent Sansonetti
-
Pierce T. Wetter III