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

Unified Diff: pkg/compiler/tool/perf.dart

Issue 2602003002: fe: minor change to benchmarks to match what the runners expect (Closed)
Patch Set: Created 3 years, 12 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
« no previous file with comments | « no previous file | pkg/front_end/tool/perf.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/tool/perf.dart
diff --git a/pkg/compiler/tool/perf.dart b/pkg/compiler/tool/perf.dart
index 4725014a8138b4396645ed1ee73c66602ac75bec..245cb4c56a32aa8f79dff39c0a8f77f9a4e23861 100644
--- a/pkg/compiler/tool/perf.dart
+++ b/pkg/compiler/tool/perf.dart
@@ -209,7 +209,7 @@ Token tokenize(SourceFile source) {
void report(String name, int time) {
var sb = new StringBuffer();
sb.write('$name: $time us, ${time ~/ 1000} ms');
- sb.write(', ${scanTotalChars * 1000 ~/ time} chars/ms');
+ sb.write(', ${time * 1000 ~/ scanTotalChars} ns/char');
print('$sb');
}
@@ -377,8 +377,8 @@ class MyCompiler extends CompilerImpl {
});
if (deferredLoadTask.isProgramSplit) {
- enqueuer.resolution.applyImpact(
- backend.computeDeferredLoadingImpact());
+ enqueuer.resolution
+ .applyImpact(backend.computeDeferredLoadingImpact());
}
enqueuer.resolution.applyImpact(backend.computeHelpersImpact());
resolveLibraryMetadata();
« no previous file with comments | « no previous file | pkg/front_end/tool/perf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698