Issue 21 mentioned the idea of TRACE_MY_FUNCTION=1,0, to find time hogs. Logging this for future when someone has time to code it.
I recommend naming it TIME_TRACE=1,0.
Initial thought is to use time in front of chroot_xxxxxx calls. For example:
case "$action" in
":file")
time chroot_setup $name
action=":file"
;;
":mkdir")
time chroot_mkdir $name
;;
":ln_fix_rel")
time chroot_ln_fix_rel $name
;;
":ln_rel")
time chroot_ln_rel $name
;;
":ln")
time chroot_ln $name
;;
. . .
Original report by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
Issue 21 mentioned the idea of
TRACE_MY_FUNCTION=1,0,
to find time hogs. Logging this for future when someone has time to code it.I recommend naming it
TIME_TRACE=1,0
.Initial thought is to use
time
in front ofchroot_xxxxxx
calls. For example: