{"thread":{"id":"8557","subject":"Does anyone have any benchmarks against CVS?","startedAt":"2007-06-11T09:04:51Z","lastAt":"2007-06-12T06:58:40Z","messageCount":9,"participants":["linux@horizon.com","David Kastrup","Johannes Schindelin","Andy Parkins","Martin Langhoff","david@lang.hm","Robin H. Johnson","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"44709","messageId":"20070611090451.26209.qmail@science.horizon.com","threadId":"8557","inReplyTo":null,"subject":"Does anyone have any benchmarks against CVS?","fromName":"","fromEmail":"linux@horizon.com","sentAt":"2007-06-11T09:04:51Z","receivedAt":"2007-06-11T09:04:51Z","isPatch":false,"sender":{"key":"linux@horizon.com","avatar":null},"body":"It seems to be common knowledge that git is a heck of a lot faster than\nCVS at most operations, but I'd like to do a little evangelizing and\nI can't seem to find a benchmark to support that claim.\n\nAm I just blind?\n\nI could find a code base and measure myself, but perhaps someone who's\nbeen hacking on CVS converters already has a reasonable code base\nin both forms that could be used for testing?\n"},{"id":"44711","messageId":"86odjmg7ty.fsf@lola.quinscape.zz","threadId":"8557","inReplyTo":"20070611090451.26209.qmail@science.horizon.com","subject":"Re: Does anyone have any benchmarks against CVS?","fromName":"David Kastrup","fromEmail":"dak@gnu.org","sentAt":"2007-06-11T09:26:49Z","receivedAt":"2007-06-11T09:26:49Z","isPatch":false,"sender":{"key":"dak@gnu.org","avatar":"https://avatars.githubusercontent.com/u/52141349?v=4"},"body":"linux@horizon.com writes:\n\n> It seems to be common knowledge that git is a heck of a lot faster than\n> CVS at most operations, but I'd like to do a little evangelizing and\n> I can't seem to find a benchmark to support that claim.\n>\n> Am I just blind?\n>\n> I could find a code base and measure myself, but perhaps someone who's\n> been hacking on CVS converters already has a reasonable code base\n> in both forms that could be used for testing?\n\nCVS and git do completely different things (which is one of the main\npoints of git).  git tends to do its own things pretty fast, CVS tends\nto its things more leasurely and with higher network impact.\nBenchmarking is not really useful since both systems do different\nthings.\n\n\n-- \nDavid Kastrup\n"},{"id":"44712","messageId":"Pine.LNX.4.64.0706111042110.4059@racer.site","threadId":"8557","inReplyTo":"86odjmg7ty.fsf@lola.quinscape.zz","subject":"Re: Does anyone have any benchmarks against CVS?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-06-11T09:47:29Z","receivedAt":"2007-06-11T09:47:29Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 11 Jun 2007, David Kastrup wrote:\n\n> linux@horizon.com writes:\n> \n> > It seems to be common knowledge that git is a heck of a lot faster than\n> > CVS at most operations, but I'd like to do a little evangelizing and\n> > I can't seem to find a benchmark to support that claim.\n> >\n> > Am I just blind?\n> >\n> > I could find a code base and measure myself, but perhaps someone who's\n> > been hacking on CVS converters already has a reasonable code base\n> > in both forms that could be used for testing?\n> \n> CVS and git do completely different things (which is one of the main\n> points of git).  git tends to do its own things pretty fast, CVS tends\n> to its things more leasurely and with higher network impact.\n> Benchmarking is not really useful since both systems do different\n> things.\n\nI disagree. For quite some time (pre 2005), I used CVS to track some \ndirectories, where the \"server\" was a directory on the same machine.\n\nThis is exactly the same workflow as I do now with Git. So I will try to \ncome up with a sensible test this afternoon (If I can get at a copy \nof QEmu's cvsroot, I'll try that) where I compare CVS and Git, both of \nwhich have the repository already set up.\n\nOkay, it is not completely fair, since Git _will_ blow CVS away, but \nlinux-at-horizon asked for it.\n\nSidenote: It was always a hassle to set up the initial version with CVS. \nFunnily enough, the \"CVS done right\" SCM has the _same_ issue.\n\nI even presented Git to an svn user last week (not his fault, really, he \nwas more than willing to try Git), and he was surprised that you could \n_continue_ working in the _same_ working directory as before, after \ngit-init...\n\nCiao,\nDscho\n"},{"id":"44743","messageId":"200706112009.55949.andyparkins@gmail.com","threadId":"8557","inReplyTo":"Pine.LNX.4.64.0706111042110.4059@racer.site","subject":"Re: Does anyone have any benchmarks against CVS?","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2007-06-11T19:09:54Z","receivedAt":"2007-06-11T19:09:54Z","isPatch":false,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"On Monday 2007, June 11, Johannes Schindelin wrote:\n\n> I even presented Git to an svn user last week (not his fault, really,\n> he was more than willing to try Git), and he was surprised that you\n> could _continue_ working in the _same_ working directory as before,\n> after git-init...\n\nI always forget what a useful feature that is; I've become so used to \nrunning git-init everywhere I turn that the memory of the \nridiculousness of SCMs that can't do that has already faded. :-)\n\n\n\nAndy\n\n-- \nDr Andy Parkins, M Eng (hons), MIET\nandyparkins@gmail.com\n"},{"id":"44764","messageId":"46a038f90706111454i5f4898b5kd77d18f4a893904e@mail.gmail.com","threadId":"8557","inReplyTo":"20070611090451.26209.qmail@science.horizon.com","subject":"Re: Does anyone have any benchmarks against CVS?","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2007-06-11T21:54:50Z","receivedAt":"2007-06-11T21:54:50Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 11 Jun 2007 05:04:51 -0400, linux@horizon.com <linux@horizon.com> wrote:\n> It seems to be common knowledge that git is a heck of a lot faster than\n> CVS at most operations, but I'd like to do a little evangelizing and\n> I can't seem to find a benchmark to support that claim.\n\nIt _will_ be a bit of an apple-to-oranges comparison, but you could\nuse a few large-ish projects that have a published GIT gateway.\nMeasure time and bw use of\n\n   - cvs co vs git clone\n   - cvs status vs git status\n   - cvs update vs git pull\n   - cvs log (at top level) vs git log\n   - cvs log path/to/file vs git log path/to/file\n\nI would suggest\n\n - Moodle (for which I maintain an http-fetchable repo at\nhttp://git.catalyst.net.nz/git/moodler2.git )\n - PostgreSQL (repo.or.cz hosts a repo)\n\ncheers\n\n\nm\n"},{"id":"44765","messageId":"Pine.LNX.4.64.0706111505030.6457@asgard.lang.hm","threadId":"8557","inReplyTo":"46a038f90706111454i5f4898b5kd77d18f4a893904e@mail.gmail.com","subject":"Re: Does anyone have any benchmarks against CVS?","fromName":"","fromEmail":"david@lang.hm","sentAt":"2007-06-11T22:06:25Z","receivedAt":"2007-06-11T22:06:25Z","isPatch":false,"sender":{"key":"david@lang.hm","avatar":null},"body":"On Tue, 12 Jun 2007, Martin Langhoff wrote:\n\n> Date: Tue, 12 Jun 2007 09:54:50 +1200\n> From: Martin Langhoff <martin.langhoff@gmail.com>\n> To: \"linux@horizon.com\" <linux@horizon.com>\n> Cc: git@vger.kernel.org\n> Subject: Re: Does anyone have any benchmarks against CVS?\n> \n> On 11 Jun 2007 05:04:51 -0400, linux@horizon.com <linux@horizon.com> wrote:\n>>  It seems to be common knowledge that git is a heck of a lot faster than\n>>  CVS at most operations, but I'd like to do a little evangelizing and\n>>  I can't seem to find a benchmark to support that claim.\n>\n> It _will_ be a bit of an apple-to-oranges comparison, but you could\n> use a few large-ish projects that have a published GIT gateway.\n> Measure time and bw use of\n>\n>   - cvs co vs git clone\n\ngiven that the result of this is that cvs gives you one version and git \nclone gives you the entire history you should probably also test what it \ntakes to checkout an older version after doing the first one.\n\nDavid Lang\n\n>   - cvs status vs git status\n>   - cvs update vs git pull\n>   - cvs log (at top level) vs git log\n>   - cvs log path/to/file vs git log path/to/file\n>\n> I would suggest\n>\n> - Moodle (for which I maintain an http-fetchable repo at\n> http://git.catalyst.net.nz/git/moodler2.git )\n> - PostgreSQL (repo.or.cz hosts a repo)\n>\n> cheers\n>\n>\n> m\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n"},{"id":"44766","messageId":"20070611223043.GE13515@curie-int.orbis-terrarum.net","threadId":"8557","inReplyTo":"46a038f90706111454i5f4898b5kd77d18f4a893904e@mail.gmail.com","subject":"Re: Does anyone have any benchmarks against CVS?","fromName":"Robin H. Johnson","fromEmail":"robbat2@gentoo.org","sentAt":"2007-06-11T22:30:43Z","receivedAt":"2007-06-11T22:30:43Z","isPatch":false,"sender":{"key":"robbat2@gentoo.org","avatar":"https://avatars.githubusercontent.com/u/373898?v=4"},"body":"On Tue, Jun 12, 2007 at 09:54:50AM +1200, Martin Langhoff wrote:\n>  On 11 Jun 2007 05:04:51 -0400, linux@horizon.com <linux@horizon.com> wrote:\n> > It seems to be common knowledge that git is a heck of a lot faster than\n> > CVS at most operations, but I'd like to do a little evangelizing and\n> > I can't seem to find a benchmark to support that claim.\n> \n>  It _will_ be a bit of an apple-to-oranges comparison, but you could\n>  use a few large-ish projects that have a published GIT gateway.\n>  Measure time and bw use of\n> \n>    - cvs co vs git clone\nOn the Git side, give breakdowns of the time for cloning with --bare\n(git-fetch) and the separate actual checkout time.\nAlso compare the effects of shallow clones.\n\n>    - cvs update vs git pull\nAgain, do both the git-fetch and git-merge portions.\n\n>    - cvs log (at top level) vs git log\ncvs history vs. git log might be more appropriate in the top level\nsense.\n\n-- \nRobin Hugh Johnson\nGentoo Linux Developer & Council Member\nE-Mail     : robbat2@gentoo.org\nGnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85\n"},{"id":"44767","messageId":"7vlkeqnm96.fsf@assigned-by-dhcp.pobox.com","threadId":"8557","inReplyTo":"46a038f90706111454i5f4898b5kd77d18f4a893904e@mail.gmail.com","subject":"Re: Does anyone have any benchmarks against CVS?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-06-11T22:45:41Z","receivedAt":"2007-06-11T22:45:41Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Martin Langhoff\" <martin.langhoff@gmail.com> writes:\n\n> It _will_ be a bit of an apple-to-oranges comparison, but you could\n> use a few large-ish projects that have a published GIT gateway.\n> ...\n>   - cvs status vs git status\n\nThis _is_ apples and oranges.  git status is not about \"the\ncurrent status of working tree\" but about \"what I would commit\nif I were to say git-commit at this moment\".  \"cvs status\" does\na lot more, I think.  Also I haven't met anybody who says \"cvs\nstatus\" is useful; people seem to use \"cvs -q update -n\" often\nwhen they want to know \"what's different between me and\nupstream\"?\n\n>   - cvs update vs git pull\n\nWhile that is a valid comparison, I think CVS users use \"cvs\nupdate\" (especially \"cvs -q update -n\" variant) far more\nfrequently for the purpose of seeing \"what did I change so far\"\nthan truly try to update from the upstream.  So a comparison\nthat has more real-life significance would be \"cvs -q update -n\"\nvs \"git diff --name-status HEAD\".\n\nThere are a handful more.\n\n - \"git pull -n\" vs \"cvs up\" when your tree is clean and you are\n   a dozen revs behind.\n\n - \"cvs co -rother-branch\" vs \"git checkout other-branch\".\n\n - \"cvs diff -rold-version\" vs \"git diff old-version\".\n\n - \"git am a-dozen-of-mails\" vs its cvs equivalent.\n\n - \"git rebase a-dozen-of-commits\" vs its cvs equivalent.\n\n - \"git log path/to/directory/\" vs its cvs equivalent\n"},{"id":"44801","messageId":"46a038f90706112358x5e2265fdu9aa58fb721641885@mail.gmail.com","threadId":"8557","inReplyTo":"7vlkeqnm96.fsf@assigned-by-dhcp.pobox.com","subject":"Re: Does anyone have any benchmarks against CVS?","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2007-06-12T06:58:40Z","receivedAt":"2007-06-12T06:58:40Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 6/12/07, Junio C Hamano <gitster@pobox.com> wrote:\n> \"Martin Langhoff\" <martin.langhoff@gmail.com> writes:\n>\n> > It _will_ be a bit of an apple-to-oranges comparison, but you could\n> > use a few large-ish projects that have a published GIT gateway.\n> > ...\n> >   - cvs status vs git status\n>\n> This _is_ apples and oranges.\n\n_All_ of them are ;-)\n\ngit-log is _not_ the same as cvs log. And a clone is not the same as a\ncheckout, ever. Perhaps diff is the only reasonable comparison.\n\nHowever, the benchmarks doco can show the comparative numbers and\nexplain how those are different. Which is a great alibi to explain why\nalmost all the git ops are insanely faster * and some of the\ninteresting concepts behind git.\n\n* - except clone - but mention \"--references\" to speed it up)\n\n> people seem to use \"cvs -q update -n\" often\n> when they want to know \"what's different between me and\n> upstream\"?\n\nI'm one of those ;-)\n\n>  - \"git am a-dozen-of-mails\" vs its cvs equivalent.\n>  - \"git rebase a-dozen-of-commits\" vs its cvs equivalent.\n\nDon't thing those exist.\n\ncheers\n\n\nmartin\n"}]}