Add benchmarks for single-threaded Skwasm. (#158027)
This adds benchmarks that run on single threaded skwasm.
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
{{flutter_js}}
|
||||
{{flutter_build_config}}
|
||||
|
||||
const searchParams = new URLSearchParams(window.location.search);
|
||||
const forceSt = searchParams.get('force_st');
|
||||
const extraConfig = forceSt ? {forceSingleThreadedSkwasm: true} : {};
|
||||
_flutter.loader.load({
|
||||
config: {
|
||||
// Use the local CanvasKit bundle instead of the CDN to reduce test flakiness.
|
||||
canvasKitBaseUrl: "/canvaskit/",
|
||||
...extraConfig,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user