Add profiler sub-category for Wasm code
Categories
(Core :: Gecko Profiler, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | 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.)
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #0)
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.
Comment 5•3 years ago
|
||
bugherder |
Description
•