Hello Everyone ,
I’m having some performance problems with the mid-sized web application I’m working on, which was developed using Ember.js. Specifically, I’m having trouble with load times and responsiveness.
I’m looking to the community for tips and best practices on how to make my application as effective as possible.
Here are some details of my configuration:
- Version of Ember.js: 3.28
- Data handling: using a JSON API backend with Ember Data.
- Components: A significant amount of Glimmer and traditional components are used.
- Routes: Some routes load a substantial amount of data and have intricate layered structures.
Adding on popular extensions like as Ember Table, Ember Power Select, and Ember Concurrency.
Performance Problems Seen:
Initial Load Time: The application takes a while to load at first. It appears to be connected to the substantial JavaScript loading amount.
Rendering Performance: There is a noticeable lag in rendering when rendering some routes that include large datasets or complex component trees.
Data Fetching: Occasionally, API queries appear to take longer than anticipated, which results in content rendering delays.
Actions To Date:
Lazy Loading: An attempt was made to apply lazy loading for a few routes, which somewhat assisted but did not resolve the problem.
Code Splitting: To make the original JavaScript bundle smaller, code splitting was put into practice.
Performance Monitoring: To find bottlenecks, we used Chrome DevTools and Ember Inspector, but we still need more information.
Any advice, resources, or methods that could make my Ember.js application run more smoothly would be immensely appreciated.
I’m specifically seeking guidance on:
- The best methods for enhancing the rendering of components.
- obtaining and handling huge datasets with efficiency.
- Add-ons or tools that support performance optimisation and monitoring.
- Any pertinent life lessons learned or case studies from your own work.
I also check this: https://discuss.emberjs.com/t/ways-to-improve-boot-speed- but not getting exact clarification.
Thank you in advance.