The Jenkins git plugin provides two implementations that connect Jenkins to a git repository. One implementation uses command line git (CLI git). The other implementation uses JGit from the Eclipse project.
Users choose the implementation (CLI git or JGit) to be used by a specific job. However, there are expected to be cases where one implementation is much faster than the other implementation. For example, since command line git always executes a new command line git process, it may be significantly faster to use JGit for some of the operations in the CLI git implementation.
The idea is to create tests based on Java Microbenchmark Harness which compare the performance of the two implementations in the Jenkins git plugin and Jenkins git client plugin. Based on the results of those tests, changes will be made to selectively use faster implementations where appropriate.