Code

Added branch load counter to fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Wed, 23 Aug 2006 08:31:12 +0000 (04:31 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 14 Jan 2007 07:15:05 +0000 (02:15 -0500)
commitd6c7eb2c160fc40c48fd25fdae15c193eec13bb7
tree1de4b8993b7f656b68626b5d19d3501b75046647
parentd83971688ba42e4cd37908f4d776801a997ca421
Added branch load counter to fast-import.

If the branch load count exceeds the number of branches created then
the frontend is causing fast-import to page branches into and out of
memory due to the way its ordering its commits.  Performance can
likely be increased if the frontend were to alter its commit
sequence such that it stays on one branch before switching to another
branch, then never returns to the prior branch.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c