Skip to content

Commit 203ec8b

Browse files
Always use local CanvasKit/Skwasm in benchmarks for better hermeticity. (#144423)
We should avoid hitting gstatic in the benchmarks and just use local canvaskit/skwasm instead.
1 parent 90b956c commit 203ec8b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dev/benchmarks/macrobenchmarks/web/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
<body>
1212
<script>
1313
{{flutter_build_config}}
14-
_flutter.loader.load();
14+
_flutter.loader.load({
15+
config: {
16+
canvasKitBaseUrl: '/canvaskit/',
17+
}
18+
});
1519
</script>
1620
</body>
1721
</html>

0 commit comments

Comments
 (0)