News for hackers. Stuff that matters.
Re:Measuring the memory usage of popular web apps by suixo on Wednesday September 05, 2018 @03:58AM (#17915939)
Awesome analysis, quite instructive. I am even considering adding it to my server performance tool, as a frontend performance metric, since I guess it could be easily automated. Imagine little README badges saying "quite bloated" and "pretty good" :p
Re:Measuring the memory usage of popular web apps by dspillett on Wednesday September 05, 2018 @04:51AM (#17916188)
> since I guess it could be easily automated

Certainly at the add-on level, as I presume this is how https://addons.mozilla.org/en-GB/firefox/addon/tab-memory-us... is implemented.

If feeding this back to use as a general performance metric, you would have to be very careful to make sure you were measuring the same thing each time which for a complex application could be difficult unless you are only measuring on initial page load (which might not be as useful as you are hoping for). Without this control you would need a lot of results to make any average or other analysis of the metric meaningful.

For controlled tests run by yourself in dev (rather than a performance metric for your app in production) it could be useful though.