Skip to content

Conversation

@kg
Copy link
Member

@kg kg commented Mar 15, 2024

Right now on main we spend a good chunk of cpu time just calling _emscripten_get_now in order to measure how long interpreter code generation takes. On most targets the equivalent timestamp checks are fast but on wasm, they're not.

So this PR disables those checks in wasm release builds specifically. Based on my measurements this should improve startup time a little bit.

@kg kg added the arch-wasm WebAssembly architecture label Mar 15, 2024
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @SamMonoRT, @vargaz
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

@akoeplinger
Copy link
Member

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kg
Copy link
Member Author

kg commented Mar 16, 2024

This passed CI a couple times previously, so even though the lanes aren't working right now, is it fine to merge it?

@steveisok steveisok merged commit 1925138 into dotnet:main Mar 18, 2024
@radekdoulik
Copy link
Member

@github-actions github-actions bot locked and limited conversation to collaborators Apr 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Codegen-JIT-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants