Re:Chris Lattner on garbage collection vs. Automatic Referen...
by fay59 on Sunday April 24, 2022 @02:49AM
(#31141830)
One data point from the Prodfiler folks was that even if the GC cost to throughput is relatively low, some programs will still spend up to 25% of their time doing garbage collection. This will show up on your cloud bill even if it doesn’t show up to that extent in your performance analysis.
[ Parent
| on HN ]
Re:Chris Lattner on garbage collection vs. Automatic Referen...
by Someone on Sunday April 24, 2022 @10:21AM
(#31144246)
Some programs spend over 50% of their time doing reference counting (http://iacoma.cs.uiuc.edu/iacoma-papers/pact18.pdf), and that will show up I’m your throughput measurements.
I expect you can find papers giving numbers in the same ballpark for malloc/free, too. A MVP of JavaScript, for example, that boxes everything, combined with a benchmark that creates a d destroys lots of objects.