Skip to content

Commit 97f97f1

Browse files
committed
hardwareConcurrency = 1
1 parent 67cc1bd commit 97f97f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wasm/dotnet/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ class Benchmark {
124124
this.dotnet = (await dynamicImport(dotnetUrl)).dotnet;
125125
this.api = await this.dotnet.withModuleConfig({ locateFile: e => e }).withConfig(config).create();
126126
this.exports = await this.api.getAssemblyExports("dotnet.dll");
127-
128-
this.hardwareConcurrency = globalThis.navigator?.hardwareConcurrency ?? 1;
127+
128+
this.hardwareConcurrency = 1;
129129
this.sceneWidth = dotnetFlavor === "aot" ? 300 : 150;
130130
this.sceneHeight = dotnetFlavor === "aot" ? 200 : 100;
131131
}

0 commit comments

Comments
 (0)