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. |
// |