author | Paul Mackerras <paulus@samba.org> | |
Mon, 14 Nov 2005 23:34:03 +0000 (10:34 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 14 Nov 2005 23:34:03 +0000 (10:34 +1100) | ||
commit | 232475d38231552f04f2e4221936700a923a531e | |
tree | 6ade03f2cf3acdddc2266991880182db3a9b8369 | tree | snapshot |
parent | 8b7e5d76e836396a097bb6f61cf930ea872a7bd3 | commit | diff |
Add -r flag and some speedups
The -r flag means "rev-list order", i.e. just display the commits
in the order they come from git-rev-list.
The speedups include:
- don't process the whole commit line-by-line, only the header
- don't convert dates when reading the commits, rather do it when
needed
- don't do the $canv delete lines.$id in drawlines when drawing the
graph initially (it was taking a lot of the total time)
- cache the date conversion for each hour (more important with tk8.5,
since [clock format] is a lot slower in 8.5 than in 8.4).
Signed-off-by: Paul Mackerras <paulus@samba.org>
The -r flag means "rev-list order", i.e. just display the commits
in the order they come from git-rev-list.
The speedups include:
- don't process the whole commit line-by-line, only the header
- don't convert dates when reading the commits, rather do it when
needed
- don't do the $canv delete lines.$id in drawlines when drawing the
graph initially (it was taking a lot of the total time)
- cache the date conversion for each hour (more important with tk8.5,
since [clock format] is a lot slower in 8.5 than in 8.4).
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |