-
Notifications
You must be signed in to change notification settings - Fork 121
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
Freeze on vue SPA application #134
Comments
Use ObservableCollection AddRange to batch all the changes, this should result in a performance boost. |
You definitivelly should try. The performance improvemnt should be very important if you are adding the 2000 items at once. Regarding the stack you are sharing, this probably the consequence of ahving chromium being unresponsive due to heavy CPU computation. |
ok that works nicely! add to move all those background tasks but seems the overall result is a much more responsive start. thanks for the hint. |
To improve performance:
|
yep, thanks. the application is very performant.. the only thing thats is a bit slow and causing issues is the data table that i cant really remove data. of course i could move all the logic to the c# side.. but the vuetify datable is super fast filtering stuff when the data reaches the view. so would be cool to keep it. |
@David-Desmaisons 1.5.2 fixes the issue with addrange, ive figure it out since there was already open ticket about the problem. however the application is still not reliable! however the locks dont seem to be solved! i think i am using all the recomended perf tips above:
Loading the data from disk is not a issue, its mostly the chromium renderer that struggles with so much data!
So the ui locks, and only after killing the render process the ui gets back! Some intersting obeservations, if i try to record with showmore for example i cant reproduce the issue! You havent observe this beavhiour earlier? |
|
ok manage to take a recording with showmore showing the issue: see video inside zip. this is the crash:
|
I will relase a new version shortly. Please try to reproduce with the new version. |
hi,
ive migrate our app to vue SPA template and mostly everything works great except for a small annoying problem that everyone is complaining...
We have a data table with 2000 entries (10 columns of data), reading the data takes ms. However when pushing all the data into a observable collection the UI locks for a few seconds and sometimes it never recovers.. the workaround we found is to kill ChromiumFxRenderProcess.exe which forces the ui to render. However sometimes some users describe that doesnt work always and they have sometimes a white screen after killing.
This is not easy to reproduce, but the larger the dataset is in the data table the higher seems the chance of friezes
@David-Desmaisons have u ever experienced this behaviour and ways of reducing the likelyhood of occuring in production
thanks in advanced
jorge costa
The text was updated successfully, but these errors were encountered: