|
By default SkBenchmark sets fIsRendering to true.
Subclasses can set it to false in their constructor.
If !fIsRendering, the benchmark only executes for one config, whether we specify one or all configs (8888, 565, GPU, NULLGPU).
This change gives a 15-20% speedup on bench cycle time. I suspect there are more benchmark suites that could be flagged as non-rendering for a bit more speedup.
As long as we're driving the bench graphs with a consistent set of configs, we'll see these always show up on the same set (8888).
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+35 lines, -0 lines) |
Patch |
|
M |
bench/GrMemoryPoolBench.cpp
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
bench/InterpBench.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
bench/MathBench.cpp
|
View
|
1
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
bench/MatrixBench.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
bench/MemoryBench.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
bench/RTreeBench.cpp
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
bench/RefCntBench.cpp
|
View
|
|
6 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
bench/RegionBench.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
bench/SkBenchmark.h
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
bench/SkBenchmark.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
bench/benchmain.cpp
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7
|