diff options
| Commit | ce1767f13262452cb8e51fe880e194a6a3280674 (patch) | |
|---|---|---|
| Author | 2026-09-15 11:40:19 +0300 | |
| Committer | 2026-09-15 11:40:19 +0300 | |
| Files | 731186f21cd154fcc51516e20017ee4cdc068349 /make.sh | |
| syndamia.com-ce1767f13262452cb8e51fe880e194a6a3280674.tar syndamia.com-ce1767f13262452cb8e51fe880e194a6a3280674.tar.gz syndamia.com-ce1767f13262452cb8e51fe880e194a6a3280674.zip | ||
| Parent | cbc2301f471794e71885e92b58b9ed9cd805de35 (diff) | |
feat(make.sh): Add time tracking to every stage
1 files changed, 4 insertions, 0 deletions
| -rwxr-xr-x | make.sh | 4 |
@@ -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 $? |