9a243b35eb
This was needed back when we thought the front end would be based on the analyzer, and so we thought its performance characteristics would depend on those of the analyzer summary mechanism. But since the front end is not based on the analyzer, and the performance of the analyzer summary mechanism is performance tested elsewhere, we can remove this code. Removing it will make it easier to do some re-work of summaries that is needed for Dart 2.1 support. Change-Id: I4aa8b5251f26ba7fd59b99d325c66da642d410ed Reviewed-on: https://dart-review.googlesource.com/71661 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
18 lines
530 B
Dart
18 lines
530 B
Dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
library front_end.tool.perf_test;
|
|
|
|
import 'dart:io' show Platform;
|
|
import 'perf.dart' as m;
|
|
|
|
main() async {
|
|
var benchIds = ['scan', 'parse'];
|
|
var inputFile =
|
|
Platform.script.resolve('../lib/src/api_prototype/file_system.dart').path;
|
|
for (var id in benchIds) {
|
|
await m.main([id, inputFile]);
|
|
}
|
|
}
|