Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Timing function execution



On Sat, Nov 6, 2021 at 9:21 AM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> Could "time" invoke getrusage(RUSAGE_THREAD) before and after and
> print the difference?

That's a possibility.  It'd only work on a subset of OSs, I think.




Messages sorted by: Reverse Date, Date, Thread, Author