Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] JGit slow?

On 2012-12-19 17:10, Alex Blewitt wrote:
On 19 Dec 2012, at 15:07, Shawn Pearce <spearce@xxxxxxxxxxx> wrote:

On Tue, Dec 18, 2012 at 11:15 PM, Duft Markus <Markus.Duft@xxxxxxxxxx> wrote:
Hm, actually i don’t even care whether comparison is fair in this case.
I think there are two issues JGit team needs to look at here...

time i have my user-hat on :D if the answer is “to fix it we need local
mode” then thats an answer too ;) I just noticed that in the situation i
have, i’m way faster with native git, so i had to switch.
We are missing the local mode optimization. Doing it the way CGit does
it from Java will be difficult, CGit uses filesystem hardlinks to
efficiently copy object and pack files on the same filesystem. Java
doesn't support these.
It does in Java 7, on filesystems that support it:,%20java.nio.file.Path)
And Java 6 will reach EOL in two months according to Oracle:

Not saying that it should be abandoned but would moving to Java 7 in newer releases of jgit be problematic?

- thomas

Back to the top