Open Bug 1985590 Opened 1 year ago Updated 1 year ago

Tons of time spent around regalloc/ionOptimization on TC threads on demo at https://convert3d.org/

Categories

(Core :: JavaScript Engine: JIT, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Attached file about:support —

Go to https://convert3d.org/
On the right, there are three icons - Click on the second one that says "STEP file"
Let the page load.

SA: https://share.firefox.dev/3VnkUes (11s)
BT: https://share.firefox.dev/4lPvbeu (10s)

Looking at those profiles, the distribution of samples across the various optimizations / RA doesn't seem too far out of the ordinary. I don't see an obvious pathological hotspot where we're doing something wrong (although somebody who knows the backtracking allocator better than me should take a closer look at the samples there). This might just be a case where we're compiling a lot of wasm code. We're spending time doing GVN/RA, but not exclusively. Even in the backtracking case, I see 6% of our time building the initial MIR, and an additional 17% in various non-GVN optimization passes. When those relatively cheap linear passes make up a significant fraction of the overall execution, it's generally a healthy sign. (Compare that to, say, this profile from bug 1985600, where 90% of the Ion compilation time is in GVN, implying that GVN is scaling poorly.)

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: