Closed Bug 1780383 Opened 8 months ago Closed 8 months ago

Add profiler sub-category for Wasm code

Categories

(Core :: Gecko Profiler, task, P2)

task

Tracking

()

RESOLVED FIXED
104 Branch
Webcompat Priority fixed
Performance Impact fixed
a11y-review fixed
Tracking Status
relnote-firefox --- fixed
thunderbird_esr91 fixed fixed
thunderbird_esr102 fixed fixed
firefox-esr102 fixed fixed
firefox104 --- fixed
firefox111 fixed fixed
firefox112 fixed fixed
firefox113 fixed fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

While looking at a Wasm-related profiler issue today, I noticed that Wasm frames don't have their own category so time in Wasm code is often labeled as "JS Interpreter" or "JS Baseline".

Here are profiles without and with a new Wasm sub-category:

before: https://share.firefox.dev/3B4wTol
after: https://share.firefox.dev/3B8Ykh3

(Profile for a debug build, but it does demonstrate the new Wasm category.)

See Also: → 1645469
Severity: normal → N/A
Priority: -- → P2

(In reply to Jan de Mooij [:jandem] from comment #0)

after: https://share.firefox.dev/3B8Ykh3

Note that Wasm frames show up as "JavaScript: Wasm", which is okay I think considering Wasm is part of the JS Engine. It also doesn't distinguish Wasm Baseline/Ion/stubs code yet, we'd have to change the JS profiling interface a bit to pass that information, but I think it's an improvement anyway.

See Also: → 1751279
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0df5222aec96
Add profiler sub-category for Wasm frames. r=gerald,rhunt
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.