rewrite icon indicating copy to clipboard operation
rewrite copied to clipboard

GitProvenance is very slow getting committers on a large Git history

Open Bananeweizen opened this issue 2 months ago • 2 comments

What version of OpenRewrite are you using?

I am using

  • Maven plugin 5.32.0

What did you see instead?

After the following line of output

[INFO] Validating active recipes...

there is a delay of several minutes when I run locally. When I noticed this, I attached a profiler. The GitProvenance calculation of the committers takes forever. In the following screenshot that consumes around 7 minutes (after I noticed the delay, so add some minutes). grafik The git repo has 67K commits and 63K committed files (currently). I'm on Windows.

Maybe that information is useful when running on moderne.io infrastructure, but for local execution of most recipes that's probably not useful and should be improved.

Bananeweizen avatar May 23 '24 16:05 Bananeweizen