Hi,
I'm wondering what is the best way to profile a user defined bash
function. Also, some functions may be slow (say ~1sec) at the first
time when it is run, but subsequent runs of them become much faster.
Is there a good way to profile a bash function? (I'd like something
like valgrind to generate the timing info, but I'm not sure there is
such a tool.) Thanks.
--
Regards,
Peng
[Prev in Thread]
Current Thread
[Next in Thread]
[Help-bash] How to profile a user bash function?,
Peng Yu<=