-
Notifications
You must be signed in to change notification settings - Fork 19
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
Slow rendering #27
Comments
The above is my table and I'm wondering if there is anything I am doing so badly that is causing it to render so slowly i.e. 3 secs after data before actually showing |
Could you provide a repo with the case? |
The repo is private but that's the hbs template I used |
I am now facing the same problem, with increasing table size the rendering gets really slow. I think this is caused by the amount of components that are instantiated at once. |
@devotox I fixed the performance issues by preloading all the data I want to display in the table. |
I've had success using paper-data-table with paper-virtual-repeat from ember-paper. You have to set When I have a chance I will try to get the table working with smoke-and-mirrors, but I don't have time at the moment. |
Additionally, I've been able to tweak performance by replacing cells and rows with their actual markup in cases where I'm not using any of the features that the component enables. For example, replacing This was a bigger deal before Glimmer2 because initial render of components was expensive, it shouldn't be as big of a deal with Glimmer 2. |
@n1ru4l I have the data preloaded haha that has at least cut me down to around a 2 sec rendering time but that is just the point that makes the whole application feel slightly janky. Im also only loading a maximum of 50 rows from my DB so its not even huge set of data. @ibarrick could you give me more insight into this workaround |
@ibarrick I am on Ember 2.13 so i should have Glimmer 2 and this is still an issue |
Any updates @ibarrick |
@devotox Unfortunately I haven't had time to look into it. Have you tried looking in ember inspector to see which components are causing the delay? This may be only a small improvement, but you can replace Ideally, this shouldn't be an issue at all so if you are able to get any insight into which component is slowing things down do let us know! |
The text was updated successfully, but these errors were encountered: