Closed
Bug 1625030
Opened 5 years ago
Closed 5 years ago
Wrench `perf` fixes and improvements
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
RESOLVED
FIXED
mozilla76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: bpeers, Assigned: bpeers)
Details
Attachments
(1 file)
The perf
command line option runs a benchmark but these would make it more useful for batch-run GPU performance analysis:
- it asserts with a drawcall mismatch; downgrade to a warning (this is normal when we cache things like gradients);
- GPU timing queries don't seem to work;
- the benchmark path is hardcoded; make it configurable;
- the number of frames to capture is hardcoded;
- an option to skip the first N frames could be useful (warmup peaks);
- support CSV output which is easier to digest across multiple runs;
- emit the min-max range of samples, not just the average;
- auto-generate output filename based on date+time;
Assignee | ||
Updated•5 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•5 years ago
•
|
||
Things I considered but decided against for now:
- fix the window position instead of letting windows DWM position wrench. This could help protect against wrench going partially off-screen or spilling over into a different-DPI monitor, potentially skewing results. However
WindowBuilder
doesn't have awith_position
; the created window has aset_position
but is inside a bunch of GL/angle plumbing that I'm not interested in right now :P - saving more than just a single GPU number. Could be interesting to use the Tags to emit more queries, just not sure how best to approach that yet (declaring
T : NamedTag
and usingtimer.tag.get_label()
in renderer.rs @941 works, just not sure what to do with that info. build a map and spit it all out into the CSV?)
Assignee | ||
Comment 2•5 years ago
|
||
Pushed by bpeers@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0d91ed309433
Wrench `perf` fixes and improvements r=gw
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in
before you can comment on or make changes to this bug.
Description
•