diff options
author | Stefan Beller <sbeller@google.com> | 2015-09-02 14:42:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-03 14:12:40 -0700 |
commit | 0ea306ef1701d6f42e74d3c33addfcd630248904 (patch) | |
tree | 26fb1ee5833d5dba0e1da2c6b4b03a74d413c3fb /t/Git-SVN/Utils/can_compress.t | |
parent | submodule: rewrite `module_list` shell function in C (diff) | |
download | tgif-0ea306ef1701d6f42e74d3c33addfcd630248904.tar.xz |
submodule: rewrite `module_name` shell function in C
This implements the helper `name` in C instead of shell,
yielding a nice performance boost.
Before this patch, I measured a time (best out of three):
$ time ./t7400-submodule-basic.sh >/dev/null
real 0m11.066s
user 0m3.348s
sys 0m8.534s
With this patch applied I measured (also best out of three)
$ time ./t7400-submodule-basic.sh >/dev/null
real 0m10.063s
user 0m3.044s
sys 0m7.487s
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/Git-SVN/Utils/can_compress.t')
0 files changed, 0 insertions, 0 deletions