salesforce / p4-fusion

A fast Perforce to Git conversion tool written in C++ using Perforce Helix Core C++ API and Libgit2
BSD 3-Clause "New" or "Revised" License
78 stars 15 forks source link

Cache user signatures outside the loop #49

Open twarit-waikar opened 2 years ago

twarit-waikar commented 2 years ago

Most of the times, signatures can be reused from the commit loop because the userbase doesn't change across a single p4-fusion run.

The expected performance boost from this is very small, but it is something to test as well.

twarit-waikar commented 2 years ago

Also need to test what happens when p4-fusion is running and a new user submits a CL