Dtrace Firefox to get inside the black box
Written by on May 15th, 2007 in Ajax News.
John Rice gave a presentation at JavaOne on using Dtrace to instrument Firefox.
The JavaScript VM has long been a black box. We long for monitoring tools that give us access to the runtime as we are used to on the JVM or CLR. We may get there with Silverlight in the future.
Adding Dtrace to Mozilla is far from new, and although it isn’t an easy tweak, enables you to look deep into the innards of the JavaScript engine.
___ OVERLAP TIMES: ___ ______ ELAPSED _____
FILE FUNCTION COUNT AVG(us) SUM(us)
clock.html getSeconds 12 8 104
clock.html padZero 36 7 275
clock.html getMinutes 12 45 548
clock.html getElementById 12 53 640
clock.html getHours 12 59 714
clock.html setTimeout 12 67 807
clock.html startTime 12 1219 14637
Source: Ajaxian
Original Article: http://ajaxian.com/archives/dtrace-firefox-to-get-inside-the-black-box