Closed
Bug 270298
Opened 20 years ago
Closed 17 years ago
Profiler gives bad output (5000 - 0 ms) for things which take 0ms total
Categories
(Other Applications Graveyard :: Venkman JS Debugger, defect)
Other Applications Graveyard
Venkman JS Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: rginda)
Details
Attachments
(2 files)
4.15 KB,
text/html
|
Details | |
1.71 KB,
patch
|
WeirdAl
:
review+
|
Details | Diff | Splinter Review |
Steps: create a profile of something. stop, save the profile as html, examine the profile. Actual results will include something like: XStringBundle 5000 - 0 ms [ Previous File | Next File | Previous Range | Next Range ] 0 XStringBundle getString: 14-17, 33 call(s), 0ms total, 0ms min, 0ms max, 0ms avg 1 XStringBundle get_stringBundle: 32-46, 33 call(s), 0ms total, 0ms min, 0ms max, 0ms avg -- I'm not sure what the number is supposed to be, but i'm certain that the "5000 - 0 ms" bit is wrong. Expected results: unknown, probably 0 - 0 ms
Updated•20 years ago
|
Product: Core → Other Applications
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Comment 2•18 years ago
|
||
This actually fixes two related problems: - The ranges overlapped, because it picked range values N - 1 and N + 1. - When all the functions took 0ms, the range was completely wrong (this bug). With this patch, 0ms functions go into a group "0 - 0.25 ms" as (I believe) intended.
Updated•17 years ago
|
Attachment #243177 -
Flags: review?(rginda) → review?(shaver)
Updated•17 years ago
|
Assignee: silver → rginda
Status: ASSIGNED → NEW
QA Contact: caillon → venkman
Comment 3•17 years ago
|
||
Comment on attachment 243177 [details] [diff] [review] Fix ranges in profiler output r=ajvincent, this fix seems safe.
Attachment #243177 -
Flags: review?(shaver) → review+
Comment 4•17 years ago
|
||
Checking in mozilla/extensions/venkman/resources/content/venkman-profiler.js; /cvsroot/mozilla/extensions/venkman/resources/content/venkman-profiler.js,v <-- venkman-profiler.js new revision: 1.11; previous revision: 1.10 done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 5•17 years ago
|
||
Backed out on James' request.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•17 years ago
|
||
Checked in.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•