How fast can the RPython GC allocate?

While working on a paper about allocation profiling in VMProf I got curious about how quickly the RPython GC can allocate an object. I wrote a small RPython benchmark program to get an idea of the order of magnitude. The basic idea is to just allocate an instance in a tight loop: class A ( object ): pass def run ( loops ): # preliminary idea, see below for i in range ( loops ): a = A () a . i = i…