Repository navigation
Closed
Labels
bugSomething isn't working
Description
BenchmarkDotNet Wasm performance runs are failing due to failing to load the config file dotnet.boot.js. This seems to be caused by changes made in dotnet/runtime#113374. @maraf or @radekdoulik do you have any ideas of anything we may need to update on our end or that may need to be fixed in runtime to get this working again?
Here is the section with the error (full logs available https://dev.azure.com/dnceng/internal/_build/results?buildId=2665602&view=logs&j=a4f9f473-dbe4-515c-db7b-7e5af9a2a642&t=05cc6c68-6366-5d89-b41c-962a3cc6b36c):
// Benchmark: ArrayDeAbstraction.foreach_static_readonly_array_via_interface: Job-EPZHUG(PowerPlanMode=00000000-0000-0000-0000-000000000000, Runtime=Wasm, Toolchain=Wasm, IterationTime=250ms, MaxIterationCount=20, MinIterationCount=15, WarmupCount=1)
// *** Execute ***
// Launch: 1 / 1
// Execute: /home/helixbot/.jsvu/bin/v8-13.4.115 --expose_wasm --module test-main.js -- --run MicroBenchmarks-Job-EPZHUG-1.dll --benchmarkName ArrayDeAbstraction.foreach_static_readonly_array_via_interface --job "PowerPlanMode=00000000-0000-0000-0000-000000000000, Runtime=Wasm, Toolchain=Wasm, IterationTime=250ms, MaxIterationCount=20, MinIterationCount=15, WarmupCount=1" --benchmarkId 0 in /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle
// Failed to set up high priority (Permission denied). In order to run benchmarks with high priority, make sure you have the right permissions.
Warning: unknown flag --expose_wasm.
Try --help for options
Incoming arguments: --run MicroBenchmarks-Job-EPZHUG-1.dll --benchmarkName ArrayDeAbstraction.foreach_static_readonly_array_via_interface --job PowerPlanMode=00000000-0000-0000-0000-000000000000, Runtime=Wasm, Toolchain=Wasm, IterationTime=250ms, MaxIterationCount=20, MinIterationCount=15, WarmupCount=1 --benchmarkId 0
Application arguments: --run MicroBenchmarks-Job-EPZHUG-1.dll --benchmarkName ArrayDeAbstraction.foreach_static_readonly_array_via_interface --job PowerPlanMode=00000000-0000-0000-0000-000000000000, Runtime=Wasm, Toolchain=Wasm, IterationTime=250ms, MaxIterationCount=20, MinIterationCount=15, WarmupCount=1 --benchmarkId 0
console.error: MONO_WASM: Failed to load config file dotnet.boot.js ReferenceError: document is not defined ReferenceError: document is not defined
at /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:23495
at async Me (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:22716)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:34044
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40241
at async Object.create (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40211)
at async run (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:325:23)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:386:1
Error: Failed to load config file dotnet.boot.js ReferenceError: document is not defined ReferenceError: document is not defined
at /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:23495
at async Me (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:22716)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:34044
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40241
at async Object.create (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40211)
at async run (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:325:23)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:386:1
at Me (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:24372)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:34044
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40241
at async Object.create (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40211)
at async run (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:325:23)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:386:1
undefined:0: Error: Failed to load config file dotnet.boot.js ReferenceError: document is not defined ReferenceError: document is not defined
at /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:23495
at async Me (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:22716)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:34044
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40241
at async Object.create (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40211)
at async run (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:325:23)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:386:1
Error: Failed to load config file dotnet.boot.js ReferenceError: document is not defined ReferenceError: document is not defined
at /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:23495
at async Me (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:22716)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:34044
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40241
at async Object.create (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40211)
at async run (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:325:23)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:386:1
at Me (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:24372)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:34044
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40241
at async Object.create (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40211)
at async run (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:325:23)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:386:1
/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3: Error: Failed to load config file dotnet.boot.js ReferenceError: document is not defined ReferenceError: document is not defined
at /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:23495
at async Me (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:22716)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:34044
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40241
at async Object.create (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/_framework/dotnet.js:3:40211)
at async run (/home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:325:23)
at async /home/helixbot/work/AB6A0959/w/A24708D7/e/performance/artifacts/bin/for-running/MicroBenchmarks/MicroBenchmarks-Job-EPZHUG-1/bin/Release/net10.0/browser-wasm/AppBundle/test-main.js:386:1
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
maraf commentedon Mar 21, 2025
The fix is coming dotnet/runtime#113754
LoopedBard3 commentedon Mar 21, 2025
This seems to be fixed now, thank you!