Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/perf/p0004-lazy-init-name-hash.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / perf / p0004-lazy-init-name-hash.sh` 56 lines ยท 1219 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='Tests multi-threaded lazy_init_name_hash' 4 . ./perf-lib.sh 5 6 test_perf_large_repo 7 test_checkout_worktree 8 9 test_expect_success 'verify both methods build the same hashmaps' ' 10 test-tool lazy-init-name-hash --dump --single >out.single && 11 if test-tool lazy-init-name-hash --dump --multi >out.multi 12 then 13 test_set_prereq REPO_BIG_ENOUGH_FOR_MULTI && 14 sort sorted.single && 15 sort sorted.multi && 16 test_cmp sorted.single sorted.multi 17 fi 18 ' 19 20 test_expect_success 'calibrate' ' 21 entries=$(wc -l