Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: cc/debug/micro_benchmark_controller.cc

Issue 66213007: cc: Add rasterize and record micro benchmark. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/debug/micro_benchmark_controller.cc
diff --git a/cc/debug/micro_benchmark_controller.cc b/cc/debug/micro_benchmark_controller.cc
index 23e81e6ca9bc494fd8e06d318c7140f791ce068a..95c79ccbfc0f2f6618572848e522c36694739bc6 100644
--- a/cc/debug/micro_benchmark_controller.cc
+++ b/cc/debug/micro_benchmark_controller.cc
@@ -10,6 +10,7 @@
#include "base/message_loop/message_loop_proxy.h"
#include "base/values.h"
#include "cc/debug/picture_record_benchmark.h"
+#include "cc/debug/rasterize_and_record_benchmark.h"
#include "cc/debug/unittest_only_benchmark.h"
#include "cc/trees/layer_tree_host.h"
#include "cc/trees/layer_tree_host_impl.h"
@@ -25,6 +26,9 @@ scoped_ptr<MicroBenchmark> CreateBenchmark(
if (name == "picture_record_benchmark") {
return scoped_ptr<MicroBenchmark>(
new PictureRecordBenchmark(value.Pass(), callback));
+ } else if (name == "rasterize_and_record_benchmark") {
+ return scoped_ptr<MicroBenchmark>(
+ new RasterizeAndRecordBenchmark(value.Pass(), callback));
} else if (name == "unittest_only_benchmark") {
return scoped_ptr<MicroBenchmark>(
new UnittestOnlyBenchmark(value.Pass(), callback));

Powered by Google App Engine
This is Rietveld 408576698