Issue metadata
Sign in to add a comment
|
0%-0.1% regression in sizes at 623460:623461 |
||||||||||||||||||
Issue descriptionThis is a 2MiB increase in binary size. There are only 2 CLs in the range: dsinclair: looks like you're the sheriff for this one, any way it could have caused such a size increase? Roll src/third_party/SPIRV-Tools/src 3109ca16b0f9..49b5b0abc655 (1 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/3109ca16b0f9..49b5b0abc655 git log 3109ca16b0f9..49b5b0abc655 --date=short --no-merges --format='%ad %ae %s' 2019-01-16 stevenperron@google.com Fix up bit shifts by 32. (#2292) jegray, the other one is: Integrate HintCacheStore into Previews Is the HintCacheStore in the binary?
,
Jan 17
(5 days ago)
HintCacheStore is in the binary. The CL bring in a new leveldb_proto::ProtoDatabase type, which appears to be where the bulk of the increase is coming from. If I build Chrome on Linux with a non-debug build with no debug symbols, then the size of the chrome binary goes from 220,857,328 bytes without the CL to 220,925,920 bytes with the CL (68,592 bytes increase, which amounts to 0.03%). On Android, this CL caused the APK size to increase from 72,770,491 to 72,778,938 bytes (8,447 bytes, which amounts to 0.01%). https://ci.chromium.org/p/chromium/builders/luci.chromium.try/android-binary-size/136652 This amount seems pretty reasonable to me. The change itself uses the LevelDB database to move storage of DataSaver user resource loading hints from memory to disk, which should reduce their memory usage by close to 1MB (a couple orders of magnitude more than the 8KB binary size increase on Android).
,
Jan 18
(5 days ago)
thomasanderson: since you work on Chrome Linux, do you think you could weigh in on whether this is a reasonable size regression? If it is, feel free to mark WontFix.
,
Jan 18
(5 days ago)
For context, here are the two HintCacheStore CLs: Implement HintCacheStore and HintCacheLevelDBStore https://chromium-review.googlesource.com/c/chromium/src/+/1403335 Integrate HintCacheStore into Previews https://chromium-review.googlesource.com/c/chromium/src/+/1402283
,
Jan 18
(5 days ago)
over to erikchen@ for memory/binarysize tradeoff |
|||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||
Comment 1 by 42576172...@developer.gserviceaccount.com
, Jan 17 (6 days ago)