Patrick Steinhardt says he was annoyed by how slow CI is and went looking for fixes. The series has some GitLab-specific parts and some generic ones. His cover letter highlights installing the Git for Windows SDK with tar(1) instead of Extract-Archive, which he says cuts about 3 minutes to 10 seconds.
It also trims t0027 on Windows from over 10 minutes to about 6 by avoiding redundant process spawning. t5551 and t5559 are said to speed up about tenfold on macOS, from around 20 minutes each.
The individual patches show the approach. In t5551, tests that create almost 100,000 refs now use the reftable backend, because the HTTP negotiation under test does not depend on the ref backend. In t1092, repositories are created once instead of from scratch in each of more than 100 init_repos () calls, which takes over 10 minutes on Windows against about 30 seconds on Linux. In t0027, expected outputs are computed once instead of repeatedly in compare_files () and compare_ws_file (), cutting Windows runtime from 480 to 380 seconds.
Junio C Hamano said all the patches made sense to him and called one improvement impressive. He suggested building a path list in a loop in t0027 rather than hand-expanding the file names for one rm -f and one git checkout. On another patch he wondered whether a cached copy could go stale. He also asked whether a parameter-name change was essential or just a style cleanup.
No objections to the approach appear in the excerpts.