We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67cc1bd commit 97f97f1Copy full SHA for 97f97f1
wasm/dotnet/benchmark.js
@@ -124,8 +124,8 @@ class Benchmark {
124
this.dotnet = (await dynamicImport(dotnetUrl)).dotnet;
125
this.api = await this.dotnet.withModuleConfig({ locateFile: e => e }).withConfig(config).create();
126
this.exports = await this.api.getAssemblyExports("dotnet.dll");
127
-
128
- this.hardwareConcurrency = globalThis.navigator?.hardwareConcurrency ?? 1;
+
+ this.hardwareConcurrency = 1;
129
this.sceneWidth = dotnetFlavor === "aot" ? 300 : 150;
130
this.sceneHeight = dotnetFlavor === "aot" ? 200 : 100;
131
}
0 commit comments