-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] fixed units for memory measurement #53687
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we're reporting the units as MB and not MiB.
Yea, they are unfortunately used interchangeably. MB can mean MiB. |
But maybe I meant MB and not MiB :) At any rate, please update allocator_vk too so these are in sync. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it mentioned it elsewhere. The convention is that disk space is measured in decimal units, but RAM is measured in power of 2 units 🙃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This doesn't quite sit right. We measure in bytes but the reported units can be anything. I think we can make this better by having typed sizes similar to the chrono variants. |
…151208) flutter/engine@4427894...c5c0c54 2024-07-03 [email protected] Reland "Output .js files as ES6 modules. (#52023)" (flutter/engine#53688) 2024-07-02 [email protected] Roll Skia from d02998fba957 to 7c69f39fa85b (1 revision) (flutter/engine#53701) 2024-07-02 [email protected] Roll Skia from c1f2dd0fc5f6 to d02998fba957 (2 revisions) (flutter/engine#53699) 2024-07-02 [email protected] Roll Skia from c0ee0e108900 to c1f2dd0fc5f6 (2 revisions) (flutter/engine#53697) 2024-07-02 [email protected] [Impeller] fix typo in setup for fast elliptical rrect blurs (flutter/engine#53673) 2024-07-02 [email protected] Roll Fuchsia GN SDK from RgErspyYHapUO2Spc... to sbh76PYVTMxav4ACT... (flutter/engine#53693) 2024-07-02 [email protected] [Impeller] fixed units for memory measurement (flutter/engine#53687) 2024-07-02 [email protected] [deep link][ios] Update openURL method to reflect the result from framework (flutter/engine#52643) 2024-07-02 [email protected] Manual roll Dart SDK from c23e58143793 to ffc8bb004a64 (2 revisions) (flutter/engine#53690) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#151208) flutter/engine@4427894...c5c0c54 2024-07-03 [email protected] Reland "Output .js files as ES6 modules. (flutter#52023)" (flutter/engine#53688) 2024-07-02 [email protected] Roll Skia from d02998fba957 to 7c69f39fa85b (1 revision) (flutter/engine#53701) 2024-07-02 [email protected] Roll Skia from c1f2dd0fc5f6 to d02998fba957 (2 revisions) (flutter/engine#53699) 2024-07-02 [email protected] Roll Skia from c0ee0e108900 to c1f2dd0fc5f6 (2 revisions) (flutter/engine#53697) 2024-07-02 [email protected] [Impeller] fix typo in setup for fast elliptical rrect blurs (flutter/engine#53673) 2024-07-02 [email protected] Roll Fuchsia GN SDK from RgErspyYHapUO2Spc... to sbh76PYVTMxav4ACT... (flutter/engine#53693) 2024-07-02 [email protected] [Impeller] fixed units for memory measurement (flutter/engine#53687) 2024-07-02 [email protected] [deep link][ios] Update openURL method to reflect the result from framework (flutter/engine#52643) 2024-07-02 [email protected] Manual roll Dart SDK from c23e58143793 to ffc8bb004a64 (2 revisions) (flutter/engine#53690) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.