Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Binary file not shown.
Binary file modified wasm/dotnet/build-aot/wwwroot/_framework/System.Collections.wasm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified wasm/dotnet/build-aot/wwwroot/_framework/System.Drawing.wasm
Binary file not shown.
Binary file not shown.
Binary file modified wasm/dotnet/build-aot/wwwroot/_framework/System.Linq.wasm
Binary file not shown.
Binary file modified wasm/dotnet/build-aot/wwwroot/_framework/System.Memory.wasm
Binary file not shown.
Binary file modified wasm/dotnet/build-aot/wwwroot/_framework/System.ObjectModel.wasm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified wasm/dotnet/build-aot/wwwroot/_framework/System.Text.Json.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion wasm/dotnet/build-aot/wwwroot/_framework/dotnet.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wasm/dotnet/build-aot/wwwroot/_framework/dotnet.native.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
82:ut_dotnet_BenchTask_Measurement__RunBatchd__18_MoveNext
83:dotnet_BenchTask_Measurement__RunStepAsyncd__13_MoveNext
84:ut_dotnet_BenchTask_Measurement__RunStepAsyncd__13_MoveNext
85:dotnet_BenchTask__RunBatchd__9_MoveNext
86:ut_dotnet_BenchTask__RunBatchd__9_MoveNext
85:dotnet_BenchTask__RunBatchd__7_MoveNext
86:ut_dotnet_BenchTask__RunBatchd__7_MoveNext
87:dotnet_Interop_RunIteration_int_int_int_int
88:dotnet_Interop___Wrapper_RunIteration_952193279_System_Runtime_InteropServices_JavaScript_JSMarshalerArgument_
88:dotnet_Interop___Wrapper_RunIteration_2022265694_System_Runtime_InteropServices_JavaScript_JSMarshalerArgument_
89:dotnet_Interop__cctor
90:dotnet_Sample_ExceptionsTask__ctor
91:dotnet_Sample_JsonTask__ctor
Expand Down Expand Up @@ -347,8 +347,8 @@
346:ut_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_BenchTask_Measurement__RunBatchd__18_System_Runtime_CompilerServices_TaskAwaiter__BenchTask_Measurement__RunBatchd__18_
347:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_BenchTask_Measurement__RunStepAsyncd__13_System_Runtime_CompilerServices_TaskAwaiter__BenchTask_Measurement__RunStepAsyncd__13_
348:ut_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_BenchTask_Measurement__RunStepAsyncd__13_System_Runtime_CompilerServices_TaskAwaiter__BenchTask_Measurement__RunStepAsyncd__13_
349:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_BenchTask__RunBatchd__9_System_Runtime_CompilerServices_TaskAwaiter__BenchTask__RunBatchd__9_
350:ut_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_BenchTask__RunBatchd__9_System_Runtime_CompilerServices_TaskAwaiter__BenchTask__RunBatchd__9_
349:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_BenchTask__RunBatchd__7_System_Runtime_CompilerServices_TaskAwaiter__BenchTask__RunBatchd__7_
350:ut_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_BenchTask__RunBatchd__7_System_Runtime_CompilerServices_TaskAwaiter__BenchTask__RunBatchd__7_
351:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_Interop__RunIterationd__1_System_Runtime_CompilerServices_TaskAwaiter__Interop__RunIterationd__1_
352:ut_dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_TaskAwaiter_Interop__RunIterationd__1_System_Runtime_CompilerServices_TaskAwaiter__Interop__RunIterationd__1_
353:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_RayTracer_Camera__RenderScened__24_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter__RayTracer_Camera__RenderScened__24_
Expand Down Expand Up @@ -381,7 +381,7 @@
380:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1_System_Threading_Tasks_VoidTaskResult_System_Runtime_CompilerServices_IAsyncStateMachine_ClearStateUponCompletion
381:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1_System_Threading_Tasks_VoidTaskResult_System_Runtime_CompilerServices_IAsyncStateMachine__cctor
382:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_System_Threading_Tasks_VoidTaskResult_GetStateMachineBox_BenchTask_Measurement__RunStepAsyncd__13_BenchTask_Measurement__RunStepAsyncd__13__System_Threading_Tasks_Task_1_System_Threading_Tasks_VoidTaskResult_
383:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_System_Threading_Tasks_VoidTaskResult_GetStateMachineBox_BenchTask__RunBatchd__9_BenchTask__RunBatchd__9__System_Threading_Tasks_Task_1_System_Threading_Tasks_VoidTaskResult_
383:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_System_Threading_Tasks_VoidTaskResult_GetStateMachineBox_BenchTask__RunBatchd__7_BenchTask__RunBatchd__7__System_Threading_Tasks_Task_1_System_Threading_Tasks_VoidTaskResult_
384:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_System_Threading_Tasks_VoidTaskResult_GetStateMachineBox_Interop__RunIterationd__1_Interop__RunIterationd__1__System_Threading_Tasks_Task_1_System_Threading_Tasks_VoidTaskResult_
385:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_System_Threading_Tasks_VoidTaskResult_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter__System_Runtime_CompilerServices_IAsyncStateMachineBox
386:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_System_Threading_Tasks_VoidTaskResult_GetStateMachineBox_RayTracer_Camera__RenderScened__24_RayTracer_Camera__RenderScened__24__System_Threading_Tasks_Task_1_System_Threading_Tasks_VoidTaskResult_
Expand All @@ -393,7 +393,7 @@
392:dotnet_System_Threading_Tasks_TaskCache_CreateCacheableTask_System_Threading_Tasks_VoidTaskResult_System_Threading_Tasks_VoidTaskResult
393:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1_System_Threading_Tasks_VoidTaskResult_BenchTask_Measurement__RunBatchd__18__cctor
394:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1_System_Threading_Tasks_VoidTaskResult_BenchTask_Measurement__RunStepAsyncd__13__cctor
395:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1_System_Threading_Tasks_VoidTaskResult_BenchTask__RunBatchd__9__cctor
395:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1_System_Threading_Tasks_VoidTaskResult_BenchTask__RunBatchd__7__cctor
396:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1_System_Threading_Tasks_VoidTaskResult_Interop__RunIterationd__1__cctor
397:dotnet_System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_AsyncStateMachineBox_1_System_Threading_Tasks_VoidTaskResult_RayTracer_Camera__RenderScened__24__cctor
398:dotnet_System_Text_Json_Serialization_Metadata_JsonTypeInfo_1_T_REF__ctor_System_Text_Json_Serialization_JsonConverter_System_Text_Json_JsonSerializerOptions
Expand Down
Binary file modified wasm/dotnet/build-aot/wwwroot/_framework/dotnet.native.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion wasm/dotnet/build-aot/wwwroot/_framework/dotnet.runtime.js

Large diffs are not rendered by default.

Binary file modified wasm/dotnet/build-aot/wwwroot/_framework/dotnet.wasm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified wasm/dotnet/build-interp/wwwroot/_framework/System.Drawing.wasm
Binary file not shown.
Binary file not shown.
Binary file modified wasm/dotnet/build-interp/wwwroot/_framework/System.Linq.wasm
Binary file not shown.
Binary file modified wasm/dotnet/build-interp/wwwroot/_framework/System.Memory.wasm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion wasm/dotnet/build-interp/wwwroot/_framework/dotnet.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file modified wasm/dotnet/build-interp/wwwroot/_framework/dotnet.native.wasm
Binary file not shown.

Large diffs are not rendered by default.

Binary file modified wasm/dotnet/build-interp/wwwroot/_framework/dotnet.wasm
Binary file not shown.
5 changes: 2 additions & 3 deletions wasm/dotnet/build.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Built on 2025-08-27T15:57:18Z

Built on 2025-09-16T10:18:00Z\n
Toolchain versions
9.0.304
9.0.305
Building interp...
Copying symbol maps...
Building aot...
Expand Down
13 changes: 9 additions & 4 deletions wasm/dotnet/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#! /bin/sh

# Expects to have .NET SDK 9.0.3xx,
# downloadable from using https://aka.ms/dotnet/9.0.3xx/daily/dotnet-sdk-win-x64.zip or https://aka.ms/dotnet/9.0.3xx/daily/dotnet-sdk-linux-x64.tar.gz
# Then run (on macOS and probably Linux this requires sudo) idk how it works on Windows.
# `sudo dotnet workload install wasm-tools`
# Expects to have .NET SDK 9.0.3xx with `wasm-tools` installed.
# Installation options:
# A) Download and manually install from https://aka.ms/dotnet/9.0.3xx/daily/dotnet-sdk-win-x64.zip or https://aka.ms/dotnet/9.0.3xx/daily/dotnet-sdk-linux-x64.tar.gz
# B) "Scripted install" as described in
# https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install:
# `wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && chmod +x ./dotnet-install.sh`, then
# `./dotnet-install.sh --channel 9.0` (You must provide the 9.0 channel, otherwise it will install 8.0).
# Finally `sudo dotnet workload install wasm-tools` (without sudo for a user
# installation of dotnet, e.g., with option B above).

rm -r ./build-interp ./build-aot build.log

Expand Down
3 changes: 0 additions & 3 deletions wasm/dotnet/src/dotnet/Benchmarks/BenchTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ public abstract class BenchTask

public virtual bool BrowserOnly => false;

// FIXME: Deleting this breaks dotnet-interp with an out of memory error. No idea why...
public virtual int BatchSize => 100;

public async Task RunInitialSamples(int measurementIdx)
{
var measurement = Measurements[measurementIdx];
Expand Down
Loading