Add deduplication logic to ThreadControllerWithMessagePumpImpl
This patch adds ScheduleWork / ScheduleDelayedWork deduplication which improves the perf test results. Unlike ThreadControllerImpl this deduplication logic is main thread only because I'm assuming the overhead of the locks isn't worth it. Bug: 897751 Change-Id: I879ad904e41c820180712702c66c4afd66cb3fae Reviewed-on: https://chromium-review.googlesource.com/c/1301462 Commit-Queue: Alex Clarke <alexclarke@chromium.org> Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#603077}
Showing
Please register or sign in to comment