with --jit off, I don't see any difference
which is weird: if the problem is that gc callbacks are slower due to my branch, I'd expect the slowdown to show up even without JIT
unless maybe the reason is that with --jit off everything is slower and so the GC-related slowdown is lost in the noise?
antocuni: the jit uses a trace function for the jit frames, right?
greedom has joined #pypy
greedom has quit [Read error: Connection reset by peer]
update on my benchmarks: targetgcbench also shows a reproducible ~8% slowdown, without JIT. So it's likely a real slowdown in the GC, and since it's a small target it's probably easier to investigate