Skip to content

Remove the optimizations field from frame table#4432

Merged
canova merged 2 commits into
firefox-devtools:mainfrom
canova:remove-frame-opt
Jan 20, 2023
Merged

Remove the optimizations field from frame table#4432
canova merged 2 commits into
firefox-devtools:mainfrom
canova:remove-frame-opt

Conversation

@canova

@canova canova commented Jan 19, 2023

Copy link
Copy Markdown
Member

The backend part of this PR is Bug 1615546

This PR removes the "optimizations" field of the frameTable. This hasn't been used since it was implemented (afaik) and it hasn't been provided by the backend since Bug 1614622. It's good to remover this unused field now to save some space in the profile data and profiler memory usage.

Example old processed profile
Example old gecko profiles
Example processed profile with the backend patch
Example gecko profile with the backend patch

@codecov

codecov Bot commented Jan 19, 2023

Copy link
Copy Markdown

Codecov Report

Base: 88.55% // Head: 88.55% // No change to project coverage 👍

Coverage data is based on head (f19b68a) compared to base (f19b68a).
Patch has no changes to coverable lines.

❗ Current head f19b68a differs from pull request most recent head f0f3153. Consider uploading reports for the commit f0f3153 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4432   +/-   ##
=======================================
  Coverage   88.55%   88.55%           
=======================================
  Files         283      283           
  Lines       25533    25533           
  Branches     6879     6879           
=======================================
  Hits        22611    22611           
  Misses       2715     2715           
  Partials      207      207           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@canova canova requested a review from julienw January 19, 2023 18:01

@julienw julienw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clean-up!

@canova canova merged commit d6500a0 into firefox-devtools:main Jan 20, 2023
@canova canova mentioned this pull request Jan 24, 2023
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jan 25, 2023
…e r=julienw

This requires firefox-devtools/profiler#4432 to be
landed and deployed. We bump the profile version in this patch.

Afaik we never used the optimizations field of the frame table in the profiler
frontend and this pfield was null for more than 3 years (since Bug 1614622).
We don't have any plans to make use of it any time soon. It's good to cleanup
this field so it doesn't clutter the profile data and we can reduce the profile
data size.

Differential Revision: https://phabricator.services.mozilla.com/D167290
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Jan 26, 2023
…e r=julienw

This requires firefox-devtools/profiler#4432 to be
landed and deployed. We bump the profile version in this patch.

Afaik we never used the optimizations field of the frame table in the profiler
frontend and this pfield was null for more than 3 years (since Bug 1614622).
We don't have any plans to make use of it any time soon. It's good to cleanup
this field so it doesn't clutter the profile data and we can reduce the profile
data size.

Differential Revision: https://phabricator.services.mozilla.com/D167290
julienw added a commit to julienw/perf.html that referenced this pull request Mar 27, 2023
…inux perf and ART

This was done in firefox-devtools#4432, but because these importers target a specific
version of the gecko profile format, we shouldn't change their structure
without upgrading the format too.

Fixes firefox-devtools#4547
julienw added a commit to julienw/perf.html that referenced this pull request Mar 27, 2023
…inux perf and ART

This was done in firefox-devtools#4432, but because these importers target a specific
version of the gecko profile format, we shouldn't change their structure
without upgrading the format too.

Fixes firefox-devtools#4547
julienw added a commit that referenced this pull request Mar 28, 2023
…inux perf and ART (PR #4549)

This was done in #4432, but because these importers target a specific
version of the gecko profile format, we shouldn't change their structure
without upgrading the format too.

Fixes #4547
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.

2 participants