python / pyperformance

Python Performance Benchmark Suite
http://pyperformance.readthedocs.io/
MIT License
870 stars 175 forks source link

Add benchmark to measure gc collection of a big chain of cycles #243

Closed pablogsal closed 2 years ago

pablogsal commented 2 years ago

More to come, I will create a PR per benchmark

pablogsal commented 2 years ago

OOI do you have any numbers as to what fraction of the runtime this spends in GC?

By definition all of it, as the benchmark is only measuring the gc.collect() call for the destruction of all the cycles.