[Bug] Performance impact while using the latest release version
ab-cc opened this issue · 2 comments
Describe the bug
Hi Team, the startup time for the Blazor Server Application is increasing by 15 seconds or more with the new version v4.0.0. I have been using v3.2.2 in my app and have upgraded to v4 today, and immediately I can see increase in the app startup time.
To Reproduce
Steps to reproduce the behavior: You can use the sample weather app and incorporate Blazored.Toast into the app. Trigger a toast in the Index.razor page.
Expected behavior
No performance impact compared to older versions, definitely not 15s+
Screenshots
Using the MS sample weather app for Blazor Server, triggering toast in Index.razor, total time: 16344ms
Once I comment the toast, total time: 3743ms
Hosting Model (is this issue happening with a certain hosting model?):
- Blazor Server
- Running locally from Visual Studio IIS Express
Additional context
The startup time can clearly be traced to the toast notification.
Hi @ab-cc. APologies for not getting to this sooner.
I've followed your repo steps and I'm not seeing any performance issues with the library. This looks like there is some local issue. If you can repro the results on another machine I can take another look but for now I'm going to close this.