-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
WASM startup time optimization tracking issue #63809
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsThis issue tracks various parts of startup performance that need investigation and potential improvement and describes some potential solutions.
|
Could we store the IR-form (with a hash) into some browser cache for the next startup ? |
cc @fanyang-mono for the first item. |
Startup I/O is covered by the memory snapshot, I believe? IR caching could be too if we move the snapshot later in startup. |
archiving previous version of this issue below. most of this is outdated and some is no longer relevant due to work we did Current list of items from examining a small application (raytracer) as of 2024-03:
Profiles of startup for the blazor 8.0 samples: Profiles of startup for @maraf 's Money application on 9.0 preview 2: Archived work items from the past:
|
(old contents of issue migrated to comment below)
During .NET9 development the runtime and blazor teams made improvements to WASM startup time in multiple areas, but more work remains to be done. Some observations and areas to continue to focus on:
static void RegisterSomething<T> () => SomeList.Add(typeof(T));
static T Unsafe.NullRef<T> () => null
where T is a class. thorough inlining of all relevant intrinsics counteracts the explosionThe text was updated successfully, but these errors were encountered: