On 7/17/07, Andy Parkins <andyparkins@xxxxxxxxx> wrote:
Does this really give a speedup? I'd be surprised, as long as the parse is being done during the output from git using the QProcess::readyRead() signal once and only once, then git is the bottle neck. Parsing the stream is almost trivial in comparison to the work that git is doing.
Well, it's not exactly from readyRead() but you are right, the bottle neck it's git. A bare: time git log --parents --boundary --pretty=raw -z --log-size --topo-order HEAD > /dev/null gives on linux and git repositories git 960ms linux 6920ms Instead qgit gives, with the same command: WITHOUT --log-size patch git 1170ms (+21%) linux 7942ms (+15%) WITH --log-size patch git 1125ms (+17%) linux 7820ms (+13%) I don't know why overhead on Linux is less, probably on small repos the GUI part of qgit that you can consider more or less a constant time weights more regarding parsing. Marco - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html