Skip to content

Conversation

@pavelsavara
Copy link
Member

  • revert WasmNativeDebugSymbols default to previous true
  • revert wasm-opt to previous --enable-simd --enable-exception-handling --enable-bulk-memory

Contributes to dotnet/perf-autofiling-issues#62390

- revert wasm-opt to previous  --enable-simd --enable-exception-handling --enable-bulk-memory
@pavelsavara pavelsavara added this to the 11.0.0 milestone Oct 15, 2025
@pavelsavara pavelsavara self-assigned this Oct 15, 2025
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture tenet-performance-benchmarks Issue from performance benchmark area-Build-mono os-browser Browser variant of arch-wasm labels Oct 15, 2025
@pavelsavara pavelsavara changed the title [browser] revert [browser][mono][perf] partial revert 119307 119800 Oct 15, 2025
@pavelsavara pavelsavara marked this pull request as ready for review October 16, 2025 17:39
@pavelsavara pavelsavara requested review from Copilot and lewing October 16, 2025 17:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Partial revert of two prior changes: restoring the default of WasmNativeDebugSymbols to true and reverting the wasm-opt invocation to a reduced flag set (SIMD, exception handling, bulk memory only). Corresponding test expectations are updated to align with the reverted defaults, and a rebuild behavior test is modified to narrow what triggers relinking.

  • Revert default WasmNativeDebugSymbols to true.
  • Simplify wasm-opt flags back to minimal feature enables.
  • Adjust tests to expect debug symbols always true and modify rebuild trigger logic.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/mono/wasm/build/WasmApp.Common.targets Reverts defaults for debug symbols and simplifies wasm-opt flags.
src/mono/wasm/Wasm.Build.Tests/WasmNativeDefaultsTests.cs Updates test expectations to always expect debug symbols enabled.
src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/FlagsChangeRebuildTest.cs Alters rebuild test logic to ignore extraCFlags for determining relink and removes object file change tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm tenet-performance-benchmarks Issue from performance benchmark

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants