4 ms·
Hope they don't adversely affect Node's performance with this tuning for low memory devices
by qaq 10y ago
Hope they don't adversely affect Node's performance with this tuning for low memory devices
- lytedev 10y agoCouldn't node simply tell V8 to use the earlier defaults if it doesn't have its own tunings already?
- hajile 10y agoMozilla's memory project a while ago showed that there's often a lot of low hanging fruit if it hasn't been a big focus. V8 uses a lot of memory in comparison in my experience. I think this should be generally without a downside.
- bmodeldotcom 10y agoThere is no downside to keeping the overall memory arena size down: better cache locality, fewer stop the world collections. Node programmers have been asking for this behavior for years.
- qaq 10y agoAs mentioned in the article there is no magic latency, throughput and memory consumption are connected optimizing for one you will sacrifice a bit in the other areas.
- natorion 10y agoAccording to tests it doesn't. The heap memory optimization will only trigger on mobile devices <512MB ram. The zone memory improvements shouldn't have a negative effect.