author | Josh Micich <josh.micich@gmail.com> | |
Thu, 14 May 2009 19:51:15 +0000 (12:51 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 16 May 2009 17:28:59 +0000 (10:28 -0700) | ||
commit | f1cf2d8b1467b5973f249703b31e709eaede97ad | |
tree | dd7ea63492ebacded988b6cdb2c1cd6800852029 | tree | snapshot |
parent | e01662bb5da721d65226f4b173858ea3bf0bde30 | commit | diff |
mktree --batch: build more than one tree object
This option works in a similar way to the '--batch' option of 'git cat-file'.
It enables creation of many tree objects with a single process.
The change was motivated by performance considerations in applications that
need to create many tree objects. A non-rigorous test showed tree creation
times improved from (roughly) 200ms to 50ms.
Signed-off-by: Josh Micich <josh.micich@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This option works in a similar way to the '--batch' option of 'git cat-file'.
It enables creation of many tree objects with a single process.
The change was motivated by performance considerations in applications that
need to create many tree objects. A non-rigorous test showed tree creation
times improved from (roughly) 200ms to 50ms.
Signed-off-by: Josh Micich <josh.micich@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-mktree.txt | diff | blob | history | |
builtin-mktree.c | diff | blob | history |