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

Unified Diff: benchmarks/startup/noop.cc

Issue 724243002: Add a startup benchmark and rudimentary scripts for running benchmarks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « benchmarks/startup/__init__.py ('k') | benchmarks/startup/run.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmarks/startup/noop.cc
diff --git a/sky/engine/platform/TraceEvent.h b/benchmarks/startup/noop.cc
similarity index 82%
copy from sky/engine/platform/TraceEvent.h
copy to benchmarks/startup/noop.cc
index bd0c344673cd3de311f13f6abffbee3c36630c92..60fe155e732b65a3a0bff1b38371b8f7b676197a 100644
--- a/sky/engine/platform/TraceEvent.h
+++ b/benchmarks/startup/noop.cc
@@ -2,4 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/debug/trace_event.h"
+int main() {
+ return 0;
+}
« no previous file with comments | « benchmarks/startup/__init__.py ('k') | benchmarks/startup/run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698