mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Reuse compiled baseline in perf_compare

Open JukkaL opened this issue 3 years ago • 1 comments

Comment by @huguesb in #14277:

The repeat checkout/compilation cost is a real problem for repeated measurements when iterating through possible approaches though. At the very least you'd want to keep the reference binary around for as long as possible instead of recompiling it every time.

We could cache build results. If we detect a previous build of the same target commit, reuse it instead of recompiling.

JukkaL avatar Dec 28 '22 13:12 JukkaL

#18471 half-fixes this problem by adding the don't set up flag, but this issue is still unresolved.

wyattscarpenter avatar Jun 09 '25 18:06 wyattscarpenter