From ce1767f13262452cb8e51fe880e194a6a3280674 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 15 Sep 2026 11:40:19 +0300 Subject: feat(make.sh): Add time tracking to every stage --- make.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'make.sh') diff --git a/make.sh b/make.sh index c18af74..a587b68 100755 --- a/make.sh +++ b/make.sh @@ -140,8 +140,12 @@ N=1 for stage in $stages do printf "[%d/%d] %s\n" "$N" "$C" "$stage" + s="$(date +'%s.%3N')" if "$stage" then + e="$(date +'%s.%3N')" + $AWK 'BEGIN { printf " %.3fs" ORS, ENVIRON["e"] - ENVIRON["s"] }' + : $((N = N + 1)) else exit $? -- cgit v1.3.1-23-gd82d