[Webkit-unassigned] [Bug 31133] Web Inspector: Add console.getProfile function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 5 01:28:28 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31133
--- Comment #2 from Mikhail Naganov <mnaganov at chromium.org> 2009-11-05 01:28:28 PDT ---
This information is already available via 'console.profiles' array. Here is a
reduced output sample from console:
console.profile("aaa")
console.profileEnd("aaa")
console.profiles[0]
Profile
_profilesTreeElement: Object
children: Array
0: ProfileNode
callUID: 619779680
children: Array
functionName: "(program)"
lineNumber: 1
numberOfCalls: 13
selfPercent: 0.02909303036682285
selfTime: 2.383056640625
totalPercent: 0.02909303036682285
totalTime: 2.383056640625
url: ""
Also please mind that in Firebug profiles are flat (no callee / caller
information is exposed), while in Inspector a call tree is exposed in a
profile.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list