commit | 4b715c361a7bca6afff6b50c511fc9b591b6ccf7 | [log] [tgz] |
---|---|---|
author | Francois Doray <[email protected]> | Mon Jan 07 16:12:04 2019 |
committer | Commit Bot <[email protected]> | Mon Jan 07 16:12:04 2019 |
tree | bf53330b5a03fd2f2a9e7a1d357d571b07416593 | |
parent | b30ca20579b8360057a553d0ef588774fad99275 [diff] |
TaskScheduler: Avoid heap allocation for PriorityQueue transaction. This improves the performance of the SequenceManagerPerfTest.PostImmediateTasks_OneQueue/9 perf test from 2.39 us/task to 2.05 us/task on a MacBook Pro with a 2.2 GHz i7 4-cores processor. Before 2.419074 2.399214 2.373303 2.40678 2.373496 avg = 2.39 After 2.060455 2.035805 2.024179 2.078591 2.071706 avg = 2.05 Change-Id: I2fdb4fbdbc8afa9db3815af94a753991d31968da Reviewed-on: https://chromium-review.googlesource.com/c/1392743 Commit-Queue: François Doray <[email protected]> Reviewed-by: Gabriel Charette <[email protected]> Cr-Commit-Position: refs/heads/master@{#620338}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .