{"thread":{"id":"28236","subject":"\"git submodule foreach\" very slow ...","startedAt":"2011-08-27T19:07:23Z","lastAt":"2011-08-27T19:07:23Z","messageCount":1,"participants":["rupert THURNER"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"174389","messageId":"CAJs9aZ8Bbaji-Did9gYzUQ85VRkp=ZpRq=Pej6M-9fkKK5BurA@mail.gmail.com","threadId":"28236","inReplyTo":null,"subject":"\"git submodule foreach\" very slow ...","fromName":"rupert THURNER","fromEmail":"rupert.thurner@gmail.com","sentAt":"2011-08-27T19:07:23Z","receivedAt":"2011-08-27T19:07:23Z","isPatch":false,"sender":{"key":"rupert.thurner@gmail.com","avatar":null},"body":"git usually is lightning fast, it even knows how many processor\nthreads are available and uses them. for a test i converted\nhttps://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg into a git\nrepository with one subrepository for every directory. rebasing takes\nnow 3 hours, while git without subrepositories takes 10 minutes.\n\n$ ls -1 | wc\n   1162    1162    9527\n$ time git submodule foreach git svn rebase\n....\nreal    199m29.626s\nuser    60m49.631s\nsys     70m51.888s\n\ncontrary, if one creates one git repository for all these little\ndirectories, rebasing is twenty times faster:\n$ time git svn rebase\n...\nreal    10m1.032s\nuser    5m33.632s\nsys     2m53.955s\n\nrupert\n"}]}