3 ms·
30-120 seconds sounds surprisingly long for ~368 attempts, do you know which part(s) the slowness comes from?
by Retr0id 10mo ago
30-120 seconds sounds surprisingly long for ~368 attempts, do you know which part(s) the slowness comes from?
- tntxtnt 10mo agoFrom doing MR rounds in pure Python: https://github.com/textonly/git-prime/blob/main/git-prime-commit https://github.com/textonly/git-prime/blob/main/git-prime-co.... Should be under 5 seconds in C or C++ using gmp
- Retr0id 10mo agoNo, MR in pure python is ~instantaneous for numbers of this magnitude. From looking at the code, the overhead will be from repeatedly invoking git as a subprocess.
- keepamovin 10mo agoHave not flame graphed or even really considered optimization