GitHub - jkool702/timep: `timep` is an efficient and state-of-the-art trap-based profiler for bash code. `timep` does much more than "providing per-command execution times" -- it maps the full call-stack tree for the bash code being profiled, and (optionally) uses that call-stack tree to generates a FlameGraph of bash commands!
timep
timep is an efficient and state-of-the-art trap-based time profiler for bash code. timep generates a per-command execution time profile for the bash code being profiled. As it generates this profile, timep logs command runtimes+metadata hierarchically based on both function and subshell nesting depth, mapping and recreating the complete full call-stack tree for the bash code being profiled.
BUILTIN FLAMEGRAPH GENERATOR: One standout feature of timep is that, in addition to the time profil...
Read more at github.com