mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 14:28:51 +00:00
Add an e2e (host-independent) test demo to testing_app (#515)
This commit is contained in:
@@ -42,12 +42,12 @@ void main() {
|
||||
final scrollingSummary = TimelineSummary.summarize(scrollingTimeline);
|
||||
|
||||
// Then, save the summary to disk.
|
||||
// Results will be stored in the file 'build/scrolling.timeline.json'.
|
||||
// Results will be stored in
|
||||
// the file 'build/scrolling.timeline_summary.json'.
|
||||
await scrollingSummary.writeSummaryToFile('scrolling', pretty: true);
|
||||
|
||||
// Write the entire timeline to disk in a json format.
|
||||
// Results will be stored in
|
||||
// the file 'build/scrolling.timeline_summary.json'.
|
||||
// Results will be stored in the file 'build/scrolling.timeline.json'.
|
||||
// This file can be opened in the Chrome browser's tracing tools
|
||||
// found by navigating to chrome://tracing.
|
||||
await scrollingSummary.writeTimelineToFile('scrolling', pretty: true);
|
||||
|
||||
Reference in New Issue
Block a user