gitã«ã§ãããã¤ããªãã¡ã¤ã«ãå ¥ããã¨ã©ããªãã
ãµã¨æ°ã«ãªã£ãã®ã§gitã«ã§ãããã¤ããªãã¡ã¤ã«ãå ¥ãããã©ããªãã®ã調ã¹ã¦ã¿ãã
èªåã®çºè¡¨ãé²ç»ããã112ã¡ã¬ã®aviãã¡ã¤ã«ãå®é¨å¯¾è±¡ã«ä½¿ãã
cp
ã¾ãã¯gitã使ããªãæ®éã®cpã®æéã測ã£ã¦ããã
real 0m0.744s user 0m0.001s sys 0m0.179s
git add
git addã«ã¯ã³ãã¼ã®10å以ä¸ã®æéããããã
real 0m9.339s user 0m7.989s sys 0m0.490s
git commit
git commitã«ã¯æå¤ã¨æéãæãããªãã£ãã
real 0m0.055s user 0m0.002s sys 0m0.031s
git clone
å ã»ã©åç»ãã¡ã¤ã«ãcommitãããªãã¸ããªãcloneãã¦ã¿ããåç´ãªãã¡ã¤ã«ã³ãã¼ã«æ¯ã¹ãã¨3åå¼±æéããããã
real 0m1.943s user 0m0.932s sys 0m0.433s
git addã«ã¯3ãã¿ã¼ã³ãã
ã³ãããæ¸ã¿ã®ãã®ãå¤æ´ããã«ãã®ã¾ã¾ããä¸åº¦addããå ´åããã£ã¨ã¿ã¤ã ã¹ã¿ã³ããè¦ã¦ããã«ãå¤æ´ããã¦ããªããã¨å¤æãã¦ããã
real 0m0.020s user 0m0.001s sys 0m0.004s
ã¿ã¤ã ã¹ã¿ã³ããå¤ããããã«touchãã¦ããaddãã¦ã¿ããããã§ãæåã«è¿½å ããæã»ã©ã®æéã¯æãããªããä½ã§å¤æãã¦ããã®ããªï¼
real 0m0.616s user 0m0.507s sys 0m0.094s
ãã¡ããcatã®è¿½è¨ã§ã¡ããã£ã¨ãã¡ã¤ã«å 容ãå¤æ´ãã¦ããã¨ãååaddæã¨åããããã®æéããããã
real 0m9.159s user 0m7.994s sys 0m0.490s
追è¨: time md5 ...ã£ã¦ãããreal 0m0.617sã ã£ãã®ã§ã2çªç®ã®ä¾ã§ã¯ã ãããããã«é¡ããå¦çãèµ°ã£ã¦ãããã ã¨æããããã¨ãããã¨ã¯ããã3çªç®ã®ä¾ã§ãããªã«æéãããã£ã¦ããã®ãä¸æè°ãªã®ãããã¤ããªã¼ãã¡ã¤ã«ãã©ããã¨ãç¡é¢ä¿ã«å·®åãè¨ç®ãã¦ããã®ããªï¼
ããã«è¿½è¨: ååã«addããã¨ããåç¨åº¦ã®æéãããã£ã¦ããã ããå·®åè¨ç®ãããªããããã¨ããææããã£ããå ¨ããã®ã¨ããããã¼ããããzlibã§ã®å§ç¸®ã«æéãããã£ã¦ããï¼ã¨ããããã§è©¦ãã«time zip ... ã£ã¦ãã£ã¦ã¿ãã real 0m9.792s ã ã£ãããªãã»ã©ãã¤ã¾ãã¯å§ç¸®ã«æéãããã£ã¦ãããã¨ã
ã¾ã¨ã
ç´°ããæ°å¤ã¯è¨æ¶ã«æ®ããªãã®ã§ããã¦ãããµãªè¦ç´ããã¨ã1GBã®ãã¡ã¤ã«ãã³ãã¼ã«7ç§æããç°å¢ã§ãåããã¡ã¤ã«ãaddã«80ç§ãcloneã«20ç§æãããã¨ããæ¯çãaddã«ããã£ã¦ããæéã¯å¤§é¨åãzlibã§å§ç¸®ããã®ã«æããæéããããã¯ã¼ã¯è¶ãcloneãªã©ã¯è¨æ¸¬ãã¦ããªãããã¡ã¤ã«ãµã¤ãºãå¤ãã¦ã®è¨æ¸¬ã試ãã¦ãªãã