{"repo":"jkool702/timep","free":true,"listed":false,"github":"https://github.com/jkool702/timep","clone":"git clone https://github.com/jkool702/timep.git","description":"`timep` is an efficient and accurate state-of-the-art trap-based profiler and flamegraph generator 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 generate a FlameGraph of the profiled bash commands!","language":"Shell","stars":193,"topics":["bash","novel","profile","timing","flamegraph","performance","profiler"],"license":"MIT","category":"cli-tools","readme_excerpt":"timep timep is an efficient and state-of-the-art trap-based time p rofiler 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. CURRENT TIMEP VERSION : timep v1.10.1 The timep v1.10 release is a smaller \"quality of life\" release that incorporates the following changes: 1. /dev/shm is no longer a hard dependency. The loadable builtin timep.so file and the flamegraph generation perl script now follow the same logic that choosing the timep tmpdir uses ( /dev/shm is preferred, but if unavailable $TMPDIR , /tmp , and $PWD will be tried with decreasing preference) 2. The flamegraph generation workflow has been parallelized. After the parallel primary log processing finishes, flamegraph generation runs in parallel with final output profile generation (resulting in a much shorter time until the output profile is printed to the screen). Additionally, when the dual-stack and quad-stack flamegraphs are created the 4x dual stack ones are made in parallel and the 2x quad-stack ones also are made in parallel. 3. The way timep aggregates the compined time totals (shown at the bottom of the profiles) has been overhauled, making them more accurately describe the actual runtime (without instrumentation overhead). Three times ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jkool702","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jkool702/timep/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}