Closed
Bug 694014
Opened 14 years ago
Closed 2 years ago
Add telemetry for paint time
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jrmuizel, Unassigned)
Details
(Whiteboard: [Snappy:P1])
Attachments
(1 file)
|
1.03 KB,
patch
|
Details | Diff | Splinter Review |
We probably don't want to record all of the paint times, because short paint times will dominate. Perhaps we should only record the times above 16ms.
Comment 1•13 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #0)
> We probably don't want to record all of the paint times, because short paint
> times will dominate. Perhaps we should only record the times above 16ms.
i think we should record all paints. it's good to get a complete distribution. If you skip 0s then it's hard to track improvements.
Whiteboard: [Snappy:P1]
| Reporter | ||
Comment 2•13 years ago
|
||
I'm not thrilled about the overhead of measuring timestamps on every paint. TimeStamp::Now() is pretty slow on Windows.
Comment 3•13 years ago
|
||
Comment on attachment 605070 [details] [diff] [review]
Record paint times
You could condition it on Telemetry::CanRecord().
Comment 4•13 years ago
|
||
Comment on attachment 605070 [details] [diff] [review]
Record paint times
You might want to either skip or have a separate category for paints of non-top level windows (nsIWidget::GetWindowType), so that painting relatively simple popups widgets (tool tips, drop downs and other things) doesn't cause the data to be more confusing than it needs to be.
Comment 5•13 years ago
|
||
Is this bug going to come back to life soon?
| Reporter | ||
Comment 6•13 years ago
|
||
(In reply to Taras Glek (:taras) from comment #5)
> Is this bug going to come back to life soon?
I don't have any immediate plans. How important do you think this is?
Comment 7•13 years ago
|
||
if we ever need to compare perf for gfx improvements(ie see if azure is a win), something like this is required.
Updated•3 years ago
|
Severity: normal → S3
Comment 8•2 years ago
|
||
Bob, I think this exists now: https://probes.telemetry.mozilla.org/?search=paint
Do you think its safe to close this bug?
Flags: needinfo?(bhood)
Comment 9•2 years ago
|
||
Yes.
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(bhood)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•