Skip to main content

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

Yay J

 

Thanks for the info.

 

Von: Tomasz Zarna [mailto:tzarna@xxxxxxxxx]
Gesendet: Dienstag, 18. Dezember 2012 11:30
An: Duft Markus
Cc: JGit Developers list (jgit-dev@xxxxxxxxxxx)
Betreff: Re: [jgit-dev] JGit slow?

 

Hi Markus,


The Orion team has noticed that some time ago, see bug 344143 [1] and a post on jgit-dev [2]. Feel free to cc yourself on the bug and cast a vote.

If it makes any sense, I could undust the test I used back then to see if it still gives the same results.

Cheers,

Tomasz

 

On Tue, Dec 18, 2012 at 8:09 AM, Duft Markus <Markus.Duft@xxxxxxxxxx> wrote:

Hey!

 

I’m currently doing some performance test with jgit (downloaded today, plain 2.1.0.201209190230-r.sh on command line). It seems that cloning a repository in a RAM disk is orders of magnitudes slower than with native git. The times are as follows (8 sec vs. 4:22 minutes?!?!?):

 

 

salxbuild03.salomon.at % time git clone ../wamas5.git/

Cloning into 'wamas5'...

done.

6.477u 1.770s 0:08.37 98.4%       0+0k 0+0io 18pf+0w

 

 

salxbuild03.salomon.at % time ./org.eclipse.jgit.pgm-2.1.0.201209190230-r.sh clone /big22/wamas5/ram/mirror-clones/wamas5.git

Initialized empty Git repository in /big22/wamas5/ram/mirror-clones/test/wamas5/.git

remote: Counting objects: 416206

remote: Finding sources: 100% (432466/432466)

remote: Getting sizes:  100% (225459/225459)

remote: Compressing objects:   5% ( 12455/225399)

Receiving objects:      100% (432466/432466)

Resolving deltas:       100% (201343/201343)

Updating references:    100% (4/4)

remote: Counting objects: 432466, done

remote: Total 432466 (delta 197049), reused 419730 (delta 190730)

From /big22/wamas5/ram/mirror-clones/wamas5.git

* [new branch]      RECOVER_5_2 -> origin/RECOVER_5_2

* [new branch]      Release-5_2 -> origin/Release-5_2

* [new branch]      Release-5_2_0 -> origin/Release-5_2_0

* [new branch]      master     -> origin/master

283.093u 18.666s 4:22.60 114.9%              0+0k 0+0io 1pf+0w

salxbuild03.salomon.at %

 

 

Every single step in the cloning process seems to take a  lot of time.

 

Second thing I noticed: cloning with “../wamas5.git” didn’t work. I got a “fatal: ../wamas5.git/: not found.” I had to pass the absolute path to clone.

 

Any Ideas?

 

Markus

         
--  
Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz


_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jgit-dev

 


Back to the top