Chromium Code Reviews
DescriptionMake rebuilding faster
By profiling mine_digger in a continuous rebuild loop, we observe
Widget#syncChild as being very hot. This CL optimizes this function by making
sure to read each input value exactly once.
Also, the hash operations for _mountedChanged were showing up on the profile,
so this CL makes _mountedChanged into a List, which should work fine.
Together, these changes reduce the amount of time we spend in Navtive code
inside the VM from 29% to 20%.
R=ianh@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/41b1d24e75e67e2b4dcc931af7a47d7f681a7fbc
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||