Skip to content

Commit

Permalink
fix perf after renames in dotnet/runtime#61596
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Nov 19, 2021
1 parent 5927a6e commit f80983b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/articles/configs/toolchains.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ And FINALLY build Mono Runtime with Web Assembly support:
Before you run the benchmarks, you need to make sure that following two file exists:

```cmd
runtime/src/mono/wasm/runtime-test.js
runtime/src/mono/wasm/test-main.js
runtime/build.sh
```

Expand Down
2 changes: 1 addition & 1 deletion samples/BenchmarkDotNet.Samples/IntroWasm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class IntroWasmCmdConfig
// path to dotnet cli
// --cli /home/adam/projects/runtime/dotnet.sh
// path to main js:
// --wasmMainJs /home/adam/projects/runtime/src/mono/wasm/runtime-test.js
// --wasmMainJs /home/adam/projects/runtime/src/mono/wasm/test-main.js
public static void Run(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(IntroWasmCmdConfig).Assembly).Run(args);

[Benchmark]
Expand Down
2 changes: 1 addition & 1 deletion src/BenchmarkDotNet/Templates/WasmAotCsProj.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PublishTrimmed>true</PublishTrimmed>
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
<RunAOTCompilation>true</RunAOTCompilation>
<WasmMainJSPath>$(RuntimeSrcDir)\src\mono\wasm\runtime-test.js</WasmMainJSPath>
<WasmMainJSPath>$(RuntimeSrcDir)\src\mono\wasm\test-main.js</WasmMainJSPath>
<WasmGenerateRunV8Script>true</WasmGenerateRunV8Script>
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
<WasmNativeWorkload>false</WasmNativeWorkload>
Expand Down
2 changes: 1 addition & 1 deletion src/BenchmarkDotNet/Templates/WasmCsProj.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
<PublishTrimmed>false</PublishTrimmed>
<RunAOTCompilation>false</RunAOTCompilation>
<WasmMainJSPath>$(RuntimeSrcDir)\src\mono\wasm\runtime-test.js</WasmMainJSPath>
<WasmMainJSPath>$(RuntimeSrcDir)\src\mono\wasm\test-main.js</WasmMainJSPath>
<WasmGenerateRunV8Script>true</WasmGenerateRunV8Script>
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
<WasmNativeWorkload>false</WasmNativeWorkload>
Expand Down

0 comments on commit f80983b

Please sign in to comment.