-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable time tracking in wasm release builds because it's expensive #99841
Conversation
Tagging subscribers to this area: @SamMonoRT, @vargaz |
Tagging subscribers to 'arch-wasm': @lewing |
/azp run runtime |
Azure Pipelines successfully started running 1 pipeline(s). |
This passed CI a couple times previously, so even though the lanes aren't working right now, is it fine to merge it? |
nice, it helped with the startup indeed https://radekdoulik.github.io/WasmPerformanceMeasurements/?startDate=2024-03-12T10%3A19%3A36.040Z&endDate=2024-03-19T10%3A19%3A36.040Z&tasks=AppStart |
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.