tag:blogger.com,1999:blog-27232680.post6285512069046769112..comments2024-03-20T06:54:32.435+01:00Comments on Plastic SCM blog: plastic 700 sec – git 1200 sec – a c# development storyF3RD3Fhttp://www.blogger.com/profile/11524626976811746062noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-27232680.post-40371508044640892302013-07-09T20:09:14.512+02:002013-07-09T20:09:14.512+02:00Hello there,
I've just repeated the results w...Hello there,<br /><br />I've just repeated the results with the latest Git & PlasticSCM versions.<br /><br />I'm using a smaller workspace (160K files, 10K dirs, 1.5G) with similar results:<br /><br />* 1.8.1.msysgit.1 -> 201s add + 48s commit -> 249 s<br /><br />* PlasticSCM 4.2.37.455 -> 7s add + 128 checkin -> 135 s<br /><br />The tests were run in Windows 7 x64.<br /><br />Enjoy it!Rubenhttps://www.blogger.com/profile/05840087631710682187noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-64142652014489386772013-07-09T20:07:10.244+02:002013-07-09T20:07:10.244+02:00This comment has been removed by the author.Rubenhttps://www.blogger.com/profile/05840087631710682187noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-43057948317867499412013-07-03T03:20:05.791+02:002013-07-03T03:20:05.791+02:00I thought this was pretty interesting. Even if the...I thought this was pretty interesting. Even if the numbers where a bit old, I decided to try to reproduce this.<br /><br />I'm using Linux kolya 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux<br /><br />I did all this on a the webkit sourcetree found on github.<br /><br />Versions:<br />hg 2.2.2<br />git 1.8.3.1.381.g2ab719e.dirty<br />cm 4.1.10.454<br /><br />I have no idea what backend cm is using. I did a local installation as root of it. The gui doesn't work =(.<br /><br />Anyway here's the stats:<br />cm<br />real 8m24.532s<br />user 5m39.941s<br />sys 0m54.559s<br /><br />git<br />real 4m41.698s<br />user 2m9.960s<br />sys 0m51.971s<br /><br />hg<br />real 6m55.230s<br />user 4m33.601s<br />sys 0m54.727s<br /><br /><br />For those of you that's interested in the scripts used:<br />#!/bin/sh<br />cm mkrep webkit@localhost:8087<br />cm mkwk webkit .<br />cm add -R *<br />cm ci<br /><br />#!/bin/sh<br />git init<br />git add .<br />git commit -am "initial"<br /><br />#!/bin/sh<br />hg init<br />hg add<br />hg commit -m "init"iveqyhttps://www.blogger.com/profile/13848154639427514707noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-77521176824905005762011-12-14T08:51:28.824+01:002011-12-14T08:51:28.824+01:00I too would like to see benchmark Plastic on Widno...I too would like to see benchmark Plastic on Widnows vs git on Linux, the same operation.<br />Plastic on Linux would suffer from mono performance to much, I believe, Although it would be nice to see it in comparison table.silkhttp://honte.plnoreply@blogger.comtag:blogger.com,1999:blog-27232680.post-49983942514429732812011-12-13T10:02:21.580+01:002011-12-13T10:02:21.580+01:00Interesting that you selectively enable bulk.
Did...Interesting that you selectively enable bulk.<br /><br />Did you benchmark:<br /><br />insert ....<br /> select (1, 'a')<br />union<br /> select (2, 'b')<br />union<br /> select (3, 'c')<br />...<br /><br />as well? i suspect that it will improve performance of other databases and also would enable you to speed the case where you have just a few items and its not worth opening a full bulk channel.<br /><br />Planning for this dynamic SQL isn't noprmally a problem.<br /><br />@Cidico: Have you tried benchmarking NTFS after explicitly disabling the flush of drive write caches and making it 'unsafe'?James Mansionhttps://www.blogger.com/profile/11732646023113015471noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-1472615687624297422011-12-10T01:30:30.044+01:002011-12-10T01:30:30.044+01:00@cidico: keep these beers cold... 'cause you&#...@cidico: keep these beers cold... 'cause you're going to loose them!!<br /><br />I just came back from watching "real steel" so I feel like beating big monsters today... :P<br /><br />Just in case you want to read the test against hg and also using smaller repos:<br /><br />http://codicesoftware.blogspot.com/2011/04/unscientific-40-benchmark-test.html<br /><br />And yes, we still beat them all...<br /><br />(ok, probably we won't on linux... who knows... last time we were only as fast as git there)Pablo Santoshttps://www.blogger.com/profile/08083682682597484025noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-21753478138799407052011-12-10T01:23:55.275+01:002011-12-10T01:23:55.275+01:00@amber: yeah, yeah, yeah... ok, I'm sure you c...@amber: yeah, yeah, yeah... ok, I'm sure you can do it better... :P<br /><br />Last time we tried we consistently beat Git, like today, which is like twice as fast than Hg, which is like ten times faster than Perforce. SVN took 8 hours to complete.<br /><br />So yes, not bad, I think, considering we're not only fast, we also give a whole bunch of tools that no other SCM has.<br /><br />That being said... YES, we'll beat Git on its own operating system, Linux, too, no problem. BUT, one thing: Git will run on ITS kernel, you know, on the kernel written by the same guys who wrote the Git code... is it fair? I think it will be as unfair for Plastic as running Git on Windows is.<br /><br />And, yes, Windows is our primary platform. Yes, 90% of our users are on Windows (despite of the fact that our biggest servers run on linux), so we're basically providing not only the best native SCM for Windows users... but also the fastest.<br /><br />The source code: two times the mono source code (only one copy is not big enough) + some big binaries, to make it closer to what our gaming customers require. I'll post the details anyway.<br /><br />Ok, it's been a long day, I know Git is a masterpiece of design, but just allow me, for one day, go to sleep thinking our tiny 10 developers team beat one of the big monsters out there... the fastest.<br /><br />:PPablo Santoshttps://www.blogger.com/profile/08083682682597484025noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-3232551530327219562011-12-09T23:58:21.216+01:002011-12-09T23:58:21.216+01:00(a) I too suspect that Plastic performance will be...(a) I too suspect that Plastic performance will be thwarted when you run git on any platform other than Windows. On windows, add/ci are _notoriously_ slow; this information is widespread, so it is quite easy to beat git on windows, in that department.<br /><br />(b) "We only used C# because Mono existed. A true SCM must be multiplatform" seems to contradict the statement "I bet we beat it on our native env and git in its...". But it isn't very clear what your suggesting there<br /><br />(c) Can we have full disclosure? Is there a script we can run to reproduce this benchmark?<br /><br />Oh, and since these operations are largely IO-bound, using C++ likely wouldn't change the outcome at all.Amberhttps://www.blogger.com/profile/02588145544781882509noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-21873371236075812432011-12-09T22:08:15.136+01:002011-12-09T22:08:15.136+01:00I wasn't challenging you.. hehehe
It would be ...I wasn't challenging you.. hehehe<br />It would be much better to me to have these arguments when talking about plastic to other people.<br /><br />If you beat git on linux, I'll pay you a beer when you come to Brazil! :DAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-27232680.post-11078118807775924222011-12-09T22:01:45.597+01:002011-12-09T22:01:45.597+01:00Ok, if we beat it there... What would you do?? ;) ...Ok, if we beat it there... What would you do?? ;) I bet we beat it on our native env and git in its...Pablo Santoshttps://www.blogger.com/profile/08083682682597484025noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-62156235655487061122011-12-09T22:00:37.757+01:002011-12-09T22:00:37.757+01:00NTFS is way slower than most of linux FS. ***NTFS is way slower than most of linux FS. ***Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27232680.post-37705440907255669202011-12-09T21:56:40.848+01:002011-12-09T21:56:40.848+01:00Not that I disagree with you, but can git be faste...Not that I disagree with you, but can git be faster on it's "born" environment? I mean, git on linux vs plastic on linux?!<br />NTFS is way slower that most of linux FS.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27232680.post-38872667872559816182011-12-09T20:48:59.258+01:002011-12-09T20:48:59.258+01:00Good point! I'll give a try to leveldb.
Well,...Good point! I'll give a try to leveldb.<br /><br />Well, git was written in a week... but being actively maintained and improved for 6 years!!!!Pablo Santoshttps://www.blogger.com/profile/08083682682597484025noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-89800284798246737302011-12-09T20:28:38.388+01:002011-12-09T20:28:38.388+01:00Wasn't git famously written in a week or three...Wasn't git famously written in a week or three?<br /><br />Pssst if you move from an SQL backend to, say, LevelDB I'd anticipate a noticeable speed boost all over againAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-27232680.post-76591239894932854752011-12-09T19:37:14.984+01:002011-12-09T19:37:14.984+01:00Do you think 192k files is too big?
TB of size an...Do you think 192k files is too big?<br /><br />TB of size and 200k-500k files is what gaming companies request on a daily basis.<br /><br />Same for other industries.<br /><br />Now, obviously Git is quite, quite fast. That's why I'm glad to be faster doing add/ci.<br /><br />It doesn't mean git isn't faster on other operations.<br /><br />Linus Torvalds is a genius, and being better than its piece of software is not easy.Pablo Santoshttps://www.blogger.com/profile/08083682682597484025noreply@blogger.comtag:blogger.com,1999:blog-27232680.post-23890676185160650032011-12-09T19:29:24.185+01:002011-12-09T19:29:24.185+01:00No offense, but your sample set doesn't repres...No offense, but your sample set doesn't represent a normal scenario as far as *my* use of git goes.<br /><br />Do you have similar data for other operations and scenarios? I don't think your average project has over 33,000 directories, nor over 192,000 files. Without data for more typical uses, it's very hard to get a complete picture of how Plastic compares to Git. Maybe Git is better with fewer directories? Maybe not, but we don't know without more information.Petehttps://www.blogger.com/profile/17163362890002708650noreply@blogger.com