Replies: 3 comments 2 replies
-
Performance may be a bit of a tricky/sore spot. The initial "Faster than Ever" claim on the o.g. marketing site was a bit of a hot take / fervent hope. Some things have changed drastically between how Ramp2 and Ramp4 are built & bundled. The RAMP2 built library is 3.5 MB, while RAMP4 is 10 MB 🍭 🤡 👍
So while RAMP4 has less web requests (everything is downloaded in a single fetch), the RAMP2 chrome will appear and display the spinner while other stuff is downloading. The last time I timed it, RAMP2 was faster, or had the appearance of being faster, by around a second. Prior to migrating to using Vite as the build tool, RAMP4 was a chunked build. See ramp4-pcar4/ramp4-pcar4#985. This was much faster in terms of perceived responsiveness (things would download as needed), but our "build" was a massive collection of webpack js files instead of one neat and tidy There could be analysis done comparing all relative library sizes (e.g. vue 3 vs angular 1, esri 3 vs esri 4, npm package imports after tree shaking), but this will probably a true chore (something to add to the list of punishments, perhaps). Runtime performance is typically a function of internet & server response times, but would be interested to see if there is any significant difference. I do know ESRI's v4 Feature Layer engine is supposed to be more intelligent in how it makes requests, but to be honest whenever I inspect it appears greedy if anything (heh more server hits === more esri licenses 🧠) |
Beta Was this translation helpful? Give feedback.
-
We're going to proceed with benchmarking RAMP 4 against RAMP 3 to get some data. So far we've decided to do performance testing on Storylines with both R3 and R4. We'll also create sites with no layers, no WET, same basemap, and same map size for a fair comparison. Please suggest more ideas as they come. Once we have these metrics we'll display them with Highcharts or other royalty-free images. |
Beta Was this translation helpful? Give feedback.
-
Some artwork, gratis. |
Beta Was this translation helpful? Give feedback.
-
The initial implementation of #42 is complete (#50), but I need metrics and details for each of the sections before I can complete the PR. I'm hoping that we can use this discussion to come up with the key points we want to highlight. We have 3 sections to fill out.
Enhanced Interface
Developer Friendly
Faster Than Ever
Here's a basic idea of what I was thinking but it shouldn't be limited to stock images. I'm also hoping for creative ideas on how we can demonstrate improved performance metrics.
Beta Was this translation helpful? Give feedback.
All reactions