Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] JGit-Lfs performance

I guess you can't share the repo, or?

On Thu, Jul 1, 2021 at 9:06 PM Egor Baykov <Egor.Baykov@xxxxxxxxxx> wrote:



question please on LFS (org.eclipse.jgit.lfs):


I’m using JGit + LFS to clone the huge LFS repo located on Bitbucket Server.

The repo size is ~3 Gb with a lot of binaries there stored as LFS files.


Cloning of such repo using JGit+LFS takes ~20 hours.

Cloning using Windows Git cmd (with LFS support) takes ~15 mins.


When I clone some non-LFS repo: the performance for Git cmd vs JGit is about the same, even for the ~1GB repo.


All the testing is done on Windows, Bitbucket repos.

I’m using “v5.12.0.202105051250-m2” tag to clone & build JGit repo.


For JGit LFS I’m using built-in LFS command:











       .setDirectory(new File("c:\\temp\\jgit"))



I will really appreciate if any ideas how I could speed up the clone(checkout) process for the LFS.


Few more notes please:

  • I have to use the BuiltInLFS command instead of external one due to minimize the dependencies: 
    the JGit is planned to be used in a standalone application which shall not rely on any user’s installed Git.
  • I’m using ssh connection since http does not work; Seems like a know issue:
  • I also tried to clone the LFS repo using EGit ( – same ~20 hours result





jgit-dev mailing list
To unsubscribe from this list, visit

Back to the top