Mercurial > hg
changeset 51590:a6bdd2e6f7cb
perf: run the gc before each run
The python garbage collector is a large source of performance troubles, we run
it right before the timed section to reduce the change for the gc to add noise
to the benchmark.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 14 Apr 2024 02:40:15 +0200 |
parents | 90ef3e042e10 |
children | ecf4b959fa74 |
files | contrib/perf.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff