Uh oh!
There was an error while loading. Please reload this page.
[browser] improve default initial memory size - #80507
Conversation
ghost
commented
Jan 11, 2023
pavelsavara
commented
Jan 11, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Uh oh!
There was an error while loading. Please reload this page.
pavelsavara
commented
Jan 12, 2023
pavelsavara
commented
Jan 12, 2023
Here the wasm-ld would calculate minimal value it needs for stack and global variables, and segment sizes But unfortunately emscripten is sending a specific value Why our AOT adds data segments ? |
I suspect that the extra data in the data segment when AOT are coming from mapping metadata_token -> wasm func index.
|
lewing
commented
Jan 14, 2023
#80653 is related |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
radekdoulik
commented
Jan 19, 2023
One possible improvement, which doesn't need to be part of this PR, is to not run the llvm-size and the task when the memory size is already set by the user. |
pavelsavara
commented
Jan 19, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
lewing
left a comment
There was a problem hiding this comment.
I like the idea of eventually using the managed path in the task but that is an implementation detail that can be prioritized separately
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
pavelsavara
commented
Jan 24, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Jan 24, 2023
CI failures are unrelated |
ChristianA1992
commented
Feb 8, 2023
I tried the .net 7 backport. |
maraf
commented
Feb 8, 2023
This change doesn't actually speed up loading the app. It changes the amount of memory that is allocated when the app starts. |
In both normal and re-link with wasm workload
Make default initial memory size:
DATAsegmentsContributes to #61925
Contributes to #66313
Contributes to #79909
Contributes to #73949
Simplified backport to Net7 is #80849