firefox-devtools / firefox-devtools/profiler

Wasm frames are shown as "?"

Open
#213 4 comments 0 reactions 0 assignees View on GitHub
profile data quantum flow
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

Taking a gecko profile of the [Zen Garden](http://mzl.la/webassemblydemo) page shows the following

![geckoprofiler!UNITO-UNDERSCORE!zengarden](https://cloud.githubusercontent.com/assets/225351/24193459/ff55afd6-0efa-11e7-8d75-6c4735494f48.png)

The frames marked with `?` in the profile are WebAssembly frames. The `entry trampoline` line is a JS to Wasm transition (there is no asm.js in the page), and the `fast FFI trampoline` line is a Wasm to JS transition.

Though I doubt there is much preference or need to differentiate between what is asm.js and what is Wasm, so perhaps just labelling all of that code with `asm.js/wasm`, or just `wasm` might make most sense, since asm.js will slowly go away as WebAssembly begins to roll in.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-176)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.