4 ms·
I use github for the network effects, but how does hg compare to git, speed-wise? I switched to git from bzr because bzr felt awesomely slow, although git is a
by StavrosK 15y ago
I use github for the network effects, but how does hg compare to git, speed-wise? I switched to git from bzr because bzr felt awesomely slow, although git is a real pain to use, even when you're familiar with it.
I understand that bzr and hg are almost identical, command-wise, but hg is about as fast as git, is that correct? What my workflow consists of is diffs/statuses/commits/pushes/pulls in projects with working trees of a few MB at most.
- kingkilr 15y agohg is slower, but still totally manageable
- mrcharles 15y agoI don't have a large codebase to compare with honestly, plus since I'm working alone I don't generally have a lot of diffing/merging. But nothing I've done has had me saying "Boy that was slow," unlike something like Perforce, which is just slow. Always. Forever.
- eropple 15y agoHg is marginally slower, but not so you'd really notice. If you're crunching 20,000-line files on a regular basis it might be a concern. On repos of that size, I doubt you'd notice. Git is a great tool for what it was built for and the group of users it was intended for--that is, rapid, tons-of-merges-and-pulls development on a gigantic codebase, for users for whom it is acceptable for man pages to serve as reminders rather than instructions. However, I appreciate the additional attention paid to tooling and user-friendliness in Mercurial-land that make it more pleasant for me to use.
- StavrosK 15y agoThe fact that all the tools can push to github make it easy to switch, which I just might do again. bzr was great, except for the fact that it just doesn't have that much traction...
- eropple 15y agoI found bzr to be much as you described it - like hg, but slower. Nothing objectionable about the workflow (though the tools on Windows were very poor, I wasn't using Windows much at the time), just the perf on a particularly large chunk of code.
- lucian1900 15y agoI've yet to find any significant speed difference between git and hg. Hg is slower overall, but scales just as well as git. A huge repo will still be just slightly slower in hg than in git.
- StavrosK 15y agoI thought so, thanks. Looks like I'll be switching, git is just too obtuse.