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

Unified Diff: runtime/vm/benchmark_test.cc

Issue 1711163002: Remove more things (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months 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: runtime/vm/benchmark_test.cc
diff --git a/runtime/vm/benchmark_test.cc b/runtime/vm/benchmark_test.cc
index e8a507402bccb2463d8faf899b09e0238c2d6864..43c36ee4fad6f408d2c457a42e3d386c1ffb89da 100644
--- a/runtime/vm/benchmark_test.cc
+++ b/runtime/vm/benchmark_test.cc
@@ -66,6 +66,9 @@ BENCHMARK(CorelibCompileAll) {
}
+#ifndef PRODUCT
+
+
BENCHMARK(CorelibCompilerStats) {
bin::Builtin::SetNativeResolver(bin::Builtin::kBuiltinLibrary);
bin::Builtin::SetNativeResolver(bin::Builtin::kIOLibrary);
@@ -86,6 +89,9 @@ BENCHMARK(CorelibCompilerStats) {
}
+#endif // !PRODUCT
+
+
//
// Measure creation of core isolate from a snapshot.
//
@@ -353,6 +359,9 @@ BENCHMARK(Dart2JSCompileAll) {
}
+#ifndef PRODUCT
+
+
BENCHMARK(Dart2JSCompilerStats) {
bin::Builtin::SetNativeResolver(bin::Builtin::kBuiltinLibrary);
bin::Builtin::SetNativeResolver(bin::Builtin::kIOLibrary);
@@ -391,6 +400,9 @@ BENCHMARK(Dart2JSCompilerStats) {
}
+#endif // !PRODUCT
siva 2016/02/18 23:34:02 Could we move this up inside the #ifndef PRODUCT b
Cutch 2016/02/22 16:05:44 Done.
+
+
//
// Measure frame lookup during stack traversal.
//

Powered by Google App Engine
This is Rietveld 408576698