DescriptionWe don't have a benchmark in Skia, but this seems to give nearly 2x speedup in Chrome for the larger queries that dominate the distribution. That should translate into a 5% CPU savings for the compositor.
From https://code.google.com/p/skia/issues/detail?id=1212, selected costs without this patch:
queryTileCount
#calls
totalTime
averageTime
1 448 0.934ms 2us
2 187 0.584ms 3us
4 18 0.071ms 3us
12 4 0.099ms 24us
24 20 1.039ms 52us
30 44 3.093ms 70us
42 27 3.251ms 120us
84 82 29.138ms 355us
Selected costs with this patch:
1 408 0.505ms 1us
2 172 0.549ms 3us
12 27 0.371ms 13us
20 30 0.966ms 32us
30 41 1.745ms 42us
84 96 19.808ms 206us
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 5
|