[Python-Dev] Frame zombies
"Martin v. Löwis"
martin at v.loewis.de
Mon Jun 11 04:58:02 CEST 2007
> I am not sure how to benchmark such modifications. Is there any
> benchmark that includes threaded use of the same functions in typical
> use cases?
I don't think it's necessary to benchmark that specific case -
*any* kind of micro-benchmark would be better than none.
If you want to introduce free lists per code object, you
need to benchmark such code, and compare it to the status
quo. While doing so, I'd ask to also measure the case
that the free list is dropped without a replacement.
More information about the Python-Dev