Closed
Bug 837898
Opened 11 years ago
Closed 1 year ago
Provide a way for theme developers to know about gradient cache hits/misses
Categories
(Core :: Graphics, enhancement)
Core
Graphics
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: MattN, Unassigned)
References
Details
(Whiteboard: [Australis:M-])
Attachments
(1 file)
2.03 KB,
patch
|
Details | Diff | Splinter Review |
It would be useful to know about gradient cache hits and misses so that theme developers can optimize for hit rate. I believe this is only possible with a custom patch or logging from a debugger. Perhaps such a mechanism can be in-tree for debug builds? Perhaps a more generally applicable pref to output various gfx performance stats would be useful?
Comment 1•11 years ago
|
||
As a temporary solution, use this patch. - Set the pref toolkit.layers.gradientPatternsCache.debug = true. - Restart the browser with "-console". - Gradient patterns cache hits will print a "+", misses will print a "-".
Updated•11 years ago
|
Whiteboard: [Australis:M-]
Updated•11 years ago
|
Whiteboard: [Australis:M-] → [Australis:M-][Australis:P?]
Updated•11 years ago
|
Whiteboard: [Australis:M-][Australis:P?] → [Australis:M-][Australis:P5]
Updated•11 years ago
|
Whiteboard: [Australis:M-][Australis:P5] → [Australis:M-]
Comment 2•11 years ago
|
||
Maybe this should be realized with the profiler? e.g. add markers on cache misses?
Updated•11 years ago
|
Flags: needinfo?(bgirard)
Comment 3•11 years ago
|
||
I'm planning to add a way to get timestamped logging into profiler for this sort of data. Feel free to use markers for now if you want the data.
Flags: needinfo?(bgirard)
Updated•2 years ago
|
Severity: normal → S3
Comment 4•1 year ago
|
||
- Gradients are super fast now
- The Firefox profiler can provide this information now
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•