Skip to content

Reduce JSON size, emit version 53 #506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 27, 2025
Merged

Reduce JSON size, emit version 53 #506

merged 3 commits into from
Feb 27, 2025

Conversation

mstange
Copy link
Owner

@mstange mstange commented Feb 27, 2025

I recently landed a change in the front-end to reduce some redundancy in the profile JSON; the stackTable now doesn't need to duplicate the category + subcategory information anymore. This is supported starting with version 53 of the processed profile format.

Furthermore, we can encode sample timestamps as deltas to save space, this is supported starting with version 50 of the processed profile format.

There are more changes in the pipeline to reduce the JSON size, but as of today only 53 is supported in the deployed version at profiler.firefox.com.

This is supported starting with version 50, and we use version 53 now.

Deltas can be more compact to store in the stringified JSON form,
because they'll often have fewer digits before the decimal point.
@mstange mstange enabled auto-merge February 27, 2025 20:09
@mstange mstange merged commit 3c8a92e into main Feb 27, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant