Closed Bug 1728618 Opened 4 years ago Closed 4 years ago

Show shader build times in the profiler HUD

Categories

(Core :: Graphics: WebRender, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: nical, Assigned: nical)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

Shader compilation can take a while, so let's show it in the intergated profiler HUD.

Blocks: 1728620

Depends on D124218

Comment on attachment 9238968 [details]
WIP: Bug 1728618 - WIP - categorize slow frames.

Revision D124219 was moved to bug 1728620. Setting attachment 9238968 [details] to obsolete.

Attachment #9238968 - Attachment is obsolete: true
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d9189be4cd58 Show shader build times in the wr profiler. r=gfx-reviewers,lsalzman https://hg.mozilla.org/integration/autoland/rev/eba492819020 Add a profile marker for shader compilation. r=gfx-reviewers,jrmuizel

Backed out 2 changesets (Bug 1728618) for causing build bustages on lib.rs.
Backout link
Push with failures
Failure Log

Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(nical.bugzilla)
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1e8982292856 Show shader build times in the wr profiler. r=gfx-reviewers,lsalzman https://hg.mozilla.org/integration/autoland/rev/f85757f1ba06 Add a profile marker for shader compilation. r=gfx-reviewers,jrmuizel
Backout by malexandru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/abc2fd25b16c Backed out 2 changesets for causing valgrind bustages.
Flags: needinfo?(nical.bugzilla)

Valgrind detects a condition depending on uninitialized value in update_texture_cache. I first ran into this in bug 1716579, and as patch had a large impact on allocation/deallocation workloads with the texture cache, I couldn't decide with confidence that the patch wasn't faulty. In bug 1728618 which causes this error again, however, the patch is much simpler, doesn't interact with unsafe code and does not affect texture cache workloads so it gives me much better confidence that this valgrind error is either a false positive or a miscompilation.

Depends on D124247

Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a65045f3472f Show shader build times in the wr profiler. r=gfx-reviewers,lsalzman https://hg.mozilla.org/integration/autoland/rev/3a55d35e08a0 Add a profile marker for shader compilation. r=gfx-reviewers,jrmuizel https://hg.mozilla.org/integration/autoland/rev/6582d7723586 Suppress false positive valgrind uninitialized value error. r=gfx-reviewers,aosmond
Flags: needinfo?(nical.bugzilla)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: