Index: mojo/runner/switches.cc |
diff --git a/mojo/runner/switches.cc b/mojo/runner/switches.cc |
index 2855d3cae87b409ea80d2e6ead7cd4e91f8d73e3..52e8fd5912687481530d54fb1a6ea2337ce56a67 100644 |
--- a/mojo/runner/switches.cc |
+++ b/mojo/runner/switches.cc |
@@ -40,6 +40,12 @@ const char kHelp[] = "help"; |
// Can be used multiple times. |
const char kMapOrigin[] = "map-origin"; |
+// Specifies if the |StatsCollectionController| needs to be bound in html pages. |
+// This binding happens on per-frame basis and hence can potentially be a |
+// performance bottleneck. One should only enable it when running a test that |
+// needs to access the provided statistics. |
+const char kStatsCollectionController[] = "enable-stats-collection-bindings"; |
yzshen1
2015/08/13 15:59:12
nit: Variable name should match the value.
msw
2015/08/14 23:20:35
Done.
|
+ |
// Starts tracing when the shell starts up, saving a trace file on disk after 5 |
// seconds or when the shell exits. |
const char kTraceStartup[] = "trace-startup"; |