Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/benchmarks_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def generate_single_benchmark_ci_args(parsed_args: Namespace, specific_run_type:
'--category-exclusion-filter', 'NoInterpreter', 'NoWASM', 'NoMono',
'--wasmDataDir', os.path.join(get_run_artifact_path(parsed_args, RunType.WasmInterpreter, commit), "wasm_bundle", "wasm-data"),
'--wasmEngine', parsed_args.wasm_engine_path,
'--wasmArgs', '\"--experimental-wasm-eh --expose_wasm --module\"',
'--wasmArgs', '\" --experimental-wasm-eh --expose_wasm --module\"',
'--logBuildOutput',
'--generateBinLog'
]
Expand All @@ -405,7 +405,7 @@ def generate_single_benchmark_ci_args(parsed_args: Namespace, specific_run_type:
'--category-exclusion-filter', 'NoInterpreter', 'NoWASM', 'NoMono',
'--wasmDataDir', os.path.join(get_run_artifact_path(parsed_args, RunType.WasmAOT, commit), "wasm_bundle", "wasm-data"),
'--wasmEngine', parsed_args.wasm_engine_path,
'--wasmArgs', '\"--experimental-wasm-eh --expose_wasm --module\"',
'--wasmArgs', '\" --experimental-wasm-eh --expose_wasm --module\"',
'--aotcompilermode', 'wasm',
'--logBuildOutput',
'--generateBinLog'
Expand Down Expand Up @@ -622,4 +622,4 @@ def __main(args: list):
# TODO: Compare the results of the benchmarks with results comparer (Currently will need to be done manually)

if __name__ == "__main__":
__main(sys.argv[1:])
__main(sys.argv[1:])
8 changes: 5 additions & 3 deletions scripts/performance_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,10 @@ def run(args: PerformanceSetupArgs):
if args.wasm_bundle_directory is not None:
wasm_bundle_directory_path = payload_directory
shutil.copytree(args.wasm_bundle_directory, wasm_bundle_directory_path)

wasm_args = "--experimental-wasm-eh --expose_wasm"

# Ensure there is a space at the beginning, so BDN can correctly read them
# as arguments to `--wasmArgs`
wasm_args = " --experimental-wasm-eh --expose_wasm"

if args.javascript_engine == "v8":
wasm_args += " --module"
Expand Down Expand Up @@ -359,4 +361,4 @@ def run(args: PerformanceSetupArgs):
helix_source_prefix=helix_source_prefix,
build_config=build_config,
runtime_type=runtime_type,
only_sanity_check=args.only_sanity_check)
only_sanity_check=args.only_sanity_check)