Open pcbeard opened 7 years ago
If there are no new commits in a repo, is it possible to short-circuit all the work that svn2git --rebase is doing?
Are there any tools that can be used to profile Ruby code execution?
Here's a profile taken using ruby-proj that took 328 seconds to run. Each command gets run in its own thread, so there's a lot of creating and joining with threads, but I'm not sure if that's the real source of the performance problem. I'm wondering if it's simply the tree operations that are being done each time.
Running with the --verbose flag gives me an idea. There are a lot of these kinds of commands:
git checkout -f BRANCH_NAME git rebase "remotes/svn/BRANCH_NAME"
Clearly that's a lot of file I/O to simply fast forward a branch from a remote branch. In my particular use-case, there will be no local changes to move past the head after the fast forward is done. What would really be ideal would be to do the equivalent of a "git fetch
I have a repo that I just recently migrated using svn2git. It contains 73 branches, and 1128 tags. When I run the command
It takes quite a while, even when there are no new changes. Here's what time reports:
This repository has a lot of history in it, roughly 10,000 commits. Is this expected? Keeping an svn clone updated using these commands is actually nearly instantaneous: