merge(third_party/git): Merge squashed git subtree at v2.23.0
Merge commit '1b593e1ea4
' as 'third_party/git'
This commit is contained in:
commit
7ef0d62730
3629 changed files with 1139935 additions and 0 deletions
29
third_party/git/t/perf/p4000-diff-algorithms.sh
vendored
Executable file
29
third_party/git/t/perf/p4000-diff-algorithms.sh
vendored
Executable file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/sh
|
||||
|
||||
test_description="Tests diff generation performance"
|
||||
|
||||
. ./perf-lib.sh
|
||||
|
||||
test_perf_default_repo
|
||||
|
||||
test_perf 'log -3000 (baseline)' '
|
||||
git log -3000 >/dev/null
|
||||
'
|
||||
|
||||
test_perf 'log --raw -3000 (tree-only)' '
|
||||
git log --raw -3000 >/dev/null
|
||||
'
|
||||
|
||||
test_perf 'log -p -3000 (Myers)' '
|
||||
git log -p -3000 >/dev/null
|
||||
'
|
||||
|
||||
test_perf 'log -p -3000 --histogram' '
|
||||
git log -p -3000 --histogram >/dev/null
|
||||
'
|
||||
|
||||
test_perf 'log -p -3000 --patience' '
|
||||
git log -p -3000 --patience >/dev/null
|
||||
'
|
||||
|
||||
test_done
|
Loading…
Add table
Add a link
Reference in a new issue