Supersize: Fix percentages and counts in diff mode
Previously percentages and symbol counts were misreported in diff mode, as the values did not match up with the total size. Percentages are now calculated based on the total delta of bytes changed, and the pie chart has an outer ring to indicate if that type of symbol reduced or increased. Counts have been updated to be more accurate now that we have small symbol buckets. A new property has been added to the data file that indicated how many symbols a symbol represents. Most symbols omit this key and default to 1 instead. Buckets indicate how many symbols they represent. Removed dex methods have a negative count to indicate they were removed, fixing the method count mode in diff mode. Bug: 847599 Change-Id: I20073dc20b89481733aaaa319f3b4966217c6096 Reviewed-on: https://chromium-review.googlesource.com/1135698 Commit-Queue: Tiger Oakes <tigero@google.com> Reviewed-by:agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#574981}
Showing
Please register or sign in to comment