Revert "Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) again (#19277)" (#19295)" (#19322)

This reverts commit cc122f1672.
This commit is contained in:
Alexander Aprelev
2018-07-12 14:59:22 -07:00
committed by GitHub
parent e22f99743b
commit 7ebf2728dc
41 changed files with 153 additions and 140 deletions

View File

@@ -183,7 +183,7 @@ void main([List<String> args = const <String>[]]) {
}
// See _handleMessages() in transitions_perf.dart.
_allDemos = const JsonDecoder().convert(await driver.requestData('demoNames'));
_allDemos = new List<String>.from(const JsonDecoder().convert(await driver.requestData('demoNames')));
if (_allDemos.isEmpty)
throw 'no demo names found';
});
@@ -212,7 +212,9 @@ void main([List<String> args = const <String>[]]) {
final TimelineSummary summary = new TimelineSummary.summarize(timeline);
await summary.writeSummaryToFile('transitions', pretty: true);
final String histogramPath = path.join(testOutputsDirectory, 'transition_durations.timeline.json');
await saveDurationsHistogram(timeline.json['traceEvents'], histogramPath);
await saveDurationsHistogram(
new List<Map<String, dynamic>>.from(timeline.json['traceEvents']),
histogramPath);
// Execute the remaining tests.
final Set<String> unprofiledDemos = new Set<String>.from(_allDemos)..removeAll(kProfiledDemos);