swc/scripts/repo/profile-git.sh
Donny/강동윤 8afb5af517
chore(repo): Make git faster (#3075)
swc_ecma_parser:
 - Flatten parser test suite ported from `tsc`.

swc:
 - Flatten the reference directory for the `tsc` test suite.
2021-12-20 14:05:57 +09:00

16 lines
236 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
find . -type d -empty -delete
export GIT_TRACE2_PERF_BRIEF=true
export GIT_TRACE2_PERF=/tmp/git-perf
rm -f $GIT_TRACE2_PERF
time git status -z -u
# time git status -uno
# git add -A
cat $GIT_TRACE2_PERF