Skip to content

Conversation

@liamappelbe
Copy link
Contributor

Use the new libraryFilters flag in getSourceReport to speed up coverage collection.

This reduces the typical number of RPCs per test from 2N+3 (where N is the number of source files in the library) to just 3.

Time taken to run all the flutter tests:

Without coverage With coverage, no libraryFilters With coverage, with libraryFilters
4:28 37:22 15:38

#100751

@liamappelbe liamappelbe requested a review from jonahwilliams May 18, 2022 21:22
@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label May 18, 2022
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants