DescriptionTaskGraphRunner Group support
Adds a group to TaskGraphRunner, this can be used by an
implementation along with priority in order to decide how to execute
tasks.
This is a prerequisite patch for thread affinity changes which are
coming in a follow-up.
This patch causes a moderate (~15%) regression in cc_perftests for TaskGraphRunner.
The main regressions I'm seeing are:
In ScheduleTasks, we're seeing an additional 3% time spent in operator[] for the two new maps vs ToT.
We're also seeing an additional 5.5% of time spent in test code which builds the task graph.
Other regressions are less clear, but probably have to do with the additional cost of ScheduleTasks in the function body itself (inlined looping).
BUG=
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_chromium_gn_x64_rel
Committed: https://crrev.com/05ca4bc9df381e6345f9cf7ee29cdfa075be30c4
Cr-Commit-Position: refs/heads/master@{#365140}
Committed: https://crrev.com/3b4338fc32cf20703baa8066bdad7ce07c5ae696
Cr-Commit-Position: refs/heads/master@{#365646}
Committed: https://crrev.com/5a1188c6c3b464ed96694881dfec6c70c7d58a29
Cr-Commit-Position: refs/heads/master@{#366180}
Patch Set 1 #Patch Set 2 : rebase and comment update #Patch Set 3 : rebase #Patch Set 4 : #Patch Set 5 : cleanup #Patch Set 6 : #Patch Set 7 : #Patch Set 8 : rebase #
Total comments: 31
Patch Set 9 : array > map + feedback #
Total comments: 14
Patch Set 10 : feedback #
Total comments: 3
Patch Set 11 : feedback #Patch Set 12 : fix dcheck #Patch Set 13 : Fix conversions for x64 #Patch Set 14 : #Messages
Total messages: 51 (27 generated)
|