profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Use zstd when compressing profiles

Open julienw opened this issue 2 years ago • 1 comments

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.

┆Issue is synchronized with this Jira Task

julienw avatar Apr 18 '23 15:04 julienw

Yes please! We are using Profiler to process samples from another system (not Firefox) and zstd would have made thing more efficient.

pspacek avatar Dec 01 '25 15:12 pspacek