How Fast is RPython GC Allocation?
2025-06-15
This article benchmarks the allocation speed of the RPython garbage collector (GC) using a small RPython program. Results show surprisingly fast allocation speeds exceeding 34 GB/s, significantly outperforming Boehm GC. Analysis of generated machine code and performance counters reveals that RPython GC's speed stems from its efficient bump pointer mechanism and minimal GC overhead. Even in regular Python code with PyPy's JIT, allocation speeds reach 17 GB/s.
(pypy.org)
Development