firefox-devtools / firefox-devtools/profiler
Use zstd when compressing profiles
Open
profile data
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 491
- Avg merge
- 3d 46m
- Merged PRs (30d)
- 27
Description
It could be a good idea to use zstd when sharing profiles (to start with).
A wasm lib to do that and has streaming support is available in https://www.npmjs.com/package/@oneidentity/zstd-js
zstd is both faster and more efficient than gzip.
Once we support compressing and uncompressing in the UI, we could then compress the profiles using zstd [instead of gzip in Firefox too](https://searchfox.org/mozilla-central/rev/31f5847a4494b3646edabbdd7ea39cb88509afe2/tools/profiler/gecko/nsIProfiler.idl#94).
┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-633)
Contributor guide
Assessment
This issue has not been assessed yet.