Repository navigation
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Framework web tests take too long to run.
Example: https://ci.chromium.org/ui/p/flutter/builders/luci.flutter.prod/Linux%20web_canvaskit_tests_7_last. This is one of 8 shards running framework tests against CanvasKit. It's consistently taking 30+ minutes!
Some ideas for improvement:
- Reuse the same Chrome instance for all test suites:
- Run all test suites within the same iframe (may lead to unintended leaks across tests).
- Compile with dart2js instead of DDC.
- Run Skwasm tests in fewer shards to minimize overhead.
- Add HTTP Cache headers to reduce the time spent loading files over and over in iframes.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Activity
[web] Reduce Skwasm test shards to 2 (#178239)
[web] Reduce Skwasm test shards to 2 (flutter#178239)
[web] Reduce Skwasm test shards to 2 (flutter#178239)
[web] Reduce Skwasm test shards to 2 (flutter#178239)
[web] Reduce Skwasm test shards to 2 (#178239)
[flutter_tools] Add `Cache-Control` headers for web test assets (flut…
Balance web_canvaskit_tests and web_skwasm_tests subshards by duration (
Revert: Balance web_canvaskit_tests and web_skwasm_tests subshards by…