News for hackers. Stuff that matters.
Re:V8 JavaScript Engine: V8 Release 5.4 by e0m on Friday September 09, 2016 @09:57AM (#12462224)
Wow! The new version of V8 "…reduces peak memory consumption of on-heap memory up to 40%." and reduces "…off-heap peak memory usage by up to 20%". As the author of a large Electron app that has huge implications downstream for our users. Great job!
Re:V8 JavaScript Engine: V8 Release 5.4 by joseraul on Friday September 09, 2016 @02:34PM (#12464882)
Don't forget the "up to". Your app may be in another section of the statistics.
Re:V8 JavaScript Engine: V8 Release 5.4 by luhn on Friday September 09, 2016 @03:40PM (#12465438)
Glad to see someone point this out. "There are three kinds of lies: lies, damned lies, and statistics."
Re:V8 JavaScript Engine: V8 Release 5.4 by dcgudeman on Friday September 09, 2016 @01:45PM (#12464456)
"In 5.4 we tuned V8’s garbage collector for low-memory devices with 512 MB RAM or less. Depending on the website displayed this reduces peak memory consumption of on-heap memory up to 40%."

It looks like this optimization is for low-memory devices which probably doesn't apply to what you are targeting with your Electron app.

Re:V8 JavaScript Engine: V8 Release 5.4 by crazy2be on Friday September 09, 2016 @06:12PM (#12466419)
Yes, exactly, this is targeting peak memory consumption, but doesn't mention anything about average memory consumption (which is probably what you would care about for your electron app).
Re:V8 JavaScript Engine: V8 Release 5.4 by natorion on Friday September 09, 2016 @10:28AM (#12462515)
It would be interesting to get feedback how much this helped Electron.

Keep in mind that this blog post is talking about V8 memory and not Chrome memory. The percentage for Chrome is obviously lower.

Re:V8 JavaScript Engine: V8 Release 5.4 by SparkyMcUnicorn on Friday September 09, 2016 @10:17AM (#12462402)
Does anyone know (roughly) how soon we can expect this?

I tried to tracking down what progress between versions looks like, but couldn't find anything solid in my few minutes of googling.

Re:V8 JavaScript Engine: V8 Release 5.4 by Cthulhu_ on Friday September 09, 2016 @10:24AM (#12462476)
Given the post, it will officially be released when Chrome 54 goes out of beta, and there's roughly 6 weeks between Chrome releases too. So, expect it to be released about 4-8 weeks from now.
Re:V8 JavaScript Engine: V8 Release 5.4 by apetresc on Friday September 09, 2016 @02:20PM (#12464769)
On that note, how quickly does Electron track new V8 releases?
Re:V8 JavaScript Engine: V8 Release 5.4 by okket on Friday September 09, 2016 @02:49PM (#12465039)
You'll have to wait at least until Node.js V7 is out (~October, see comment down here). Could also take much longer till Electron decides to upgrade their internal Node.js.

https://github.com/electron/electron/tree/master/vendor -> node