firefox-devtools / firefox-devtools/profiler

Parse JSON off of the main thread if possible

Open
#425 2 comments 0 reactions 0 assignees View on GitHub
perf profile data quantum flow
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

I honestly don't know if this can be done (outside of somehow abusing window.fetch), but in [this profile](https://perfht.ml/2tyD9jj), we burn quite a bit of main thread time parsing the JSON of a profile.

We should avoid doing this work on the main thread if we can.

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

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.