DescriptionReduce number of expensive calls to List.redraw() during load of settings page.
- Removed unnecessary List.redraw calls from
-- network_list.js
-- autofill_edit_address_overlay.js
-- content_settings_exceptions_area.js
- Added an early return to List.redraw() for the case clientHeight == 0 (eg. if the list is not visible).
- Some small cleanup.
Overall there were about 68 expensive (ie. no early return) calls to redraw() which I could reduce to 26. The speedup is about 7% / 28ms for the "onload" event on my desktop machine.
BUG=143116
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152153
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed all comments. #
Messages
Total messages: 5 (0 generated)
|