Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] [egit-dev] Counting Objects taking long in current master

2012/11/6 Markus Duft <markus.duft@xxxxxxxxxx>
On 11/05/2012 11:28 PM, Matthias Sohn wrote:
> 2012/11/5 Markus Duft <markus.duft@xxxxxxxxxx <mailto:markus.duft@xxxxxxxxxx>>
> I had a look into the stack trace, the only thread related to jgit/egit is the "main" thread and it's in runnable state so nothing unusual on the client side. Could you capture a couple of thread dumps on both egit and gerrit side while the slow push is underway ?

Here you go. 9 dumps on each side, one every two seconds while pushing. The actual push lasted for ~50 seconds this time, counting 50.000 objects, approx 1000/s. Looking at the dumps i think the problem is entirely on the client side, and not on the server. Moreover it seems to me that maybe the updating of the progress monitor may cause the problem? It causes full round-trips over GTK every object it seems...

could you try to replace the offending ProgressMonitor by a NullProgressMonitor
in order to check if this is the culprit ?

Back to the top