[Teammetrics-discuss] Commit statistics

Andreas Tille andreas at an3as.eu
Mon Aug 15 20:10:24 UTC 2011


On Tue, Aug 16, 2011 at 01:17:24AM +0530, Sukhbir Singh wrote:
> We login only once (commitstat.py: line 63) and then pass around
> SSHClient() object wherever needed. The multiple log entries you see
> are because when that object fetches the information from the server.
> It does not disconnect/ connect again, it connects once at line 63 and
> disconnects at line 227 after all the information has been fetched. I
> don't think we can optimize this code any further; the phase which
> takes time is because we fetch the diff for each revision and that is
> what takes time. From the SSH point of view, this is already fast
> enough.

OK, that's fine.  As I said speed is not that important - just my poor
understanding of python-paramiko.
 
> Do you think starting a program on Alioth will improve the speed? If
> yes, then it can be done. But IMHO, it's not worth it. The diff phase
> will still take the same time since in our case also we are doing it
> locally on Alioth.

So forget about this remark.  The data which are ending up in the
database seem to be correct and that's important.

Kind regards

    Andreas.

-- 
http://fam-tille.de



More information about the Teammetrics-discuss mailing list