diff --git a/docs/benchmarking-workflow-dotnet-runtime.md b/docs/benchmarking-workflow-dotnet-runtime.md index 511c1cb6261..27ed9a834bb 100644 --- a/docs/benchmarking-workflow-dotnet-runtime.md +++ b/docs/benchmarking-workflow-dotnet-runtime.md @@ -174,7 +174,7 @@ In order to run the benchmarks against local [dotnet/runtime](https://github.com This would produce `/path/to/dotnet/runtime/artifacts/bin/dotnet-latest`, which should be used to run the benchmarks. -3. And you need `/path/to/dotnet/runtime/src/mono/browser/test-main.mjs` +3. And you need `/path/to/dotnet/runtime/src/mono/browser/test-main.js` #### Install v8 engine diff --git a/scripts/benchmarks_local.py b/scripts/benchmarks_local.py index 93accc08dbe..28452606345 100644 --- a/scripts/benchmarks_local.py +++ b/scripts/benchmarks_local.py @@ -246,9 +246,9 @@ def generate_all_runtype_dependencies(parsed_args: Namespace, repo_path: str, co src_dir_built_nugets = os.path.join(repo_path, "artifacts", "packages", "Release", "Shipping") # Goal is to copy Microsoft.NET.Sdk.WebAssembly.Pack*, Microsoft.NETCore.App.Ref*, either need to do the shipping folder or glob copy_directory_contents(src_dir_built_nugets, dir_bin_wasm) # browser folder was extracted from wasm folder here: https://github.com/dotnet/runtime/pull/95940, so we need to check both locations for which to use (Dec, 2023) - src_file_test_main = glob.glob(os.path.join(repo_path, "src", "mono", "*", "test-main.mjs"))[0] + src_file_test_main = glob.glob(os.path.join(repo_path, "src", "mono", "*", "test-main.js"))[0] dest_dir_wasm_data = os.path.join(dir_bin_wasm, "wasm-data") - dest_file_test_main = os.path.join(dest_dir_wasm_data, "test-main.mjs") + dest_file_test_main = os.path.join(dest_dir_wasm_data, "test-main.js") if not os.path.exists(dest_dir_wasm_data): os.makedirs(dest_dir_wasm_data) shutil.copy2(src_file_test_main, dest_file_test_main) diff --git a/src/benchmarks/micro/MicroBenchmarks.Wasm.props b/src/benchmarks/micro/MicroBenchmarks.Wasm.props index 1ac77d46327..cbd40a4cb36 100644 --- a/src/benchmarks/micro/MicroBenchmarks.Wasm.props +++ b/src/benchmarks/micro/MicroBenchmarks.Wasm.props @@ -1,7 +1,7 @@ true - $(WasmDataDir)\test-main.mjs + $(WasmDataDir)\test-main.js partial true false