Chromium Code Reviews
DescriptionRefactor mojo_benchmark to get rid of warm/cold start special cases.
This patch extracts a pre-processing step in mojo_benchmark that
rewrites the given list of benchmarks to run, yielding two benchmarks
corresponding to the warm start case and to the cold start case for each
benchmark defined in the original list.
This simplifies the logic afterwards which does not need to reason about
cold start vs warm start cases. This will also allow us to easily add
other variants in the future.
R=viettrungluu@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/17b94ae165808758460062091779fab5ba14c20d
Patch Set 1 : #
Total comments: 6
Patch Set 2 : Address Trung's comments. #Messages
Total messages: 6 (2 generated)
|