timep: A blazing-fast Bash profiler with built-in flamegraphs

2025-08-26
timep: A blazing-fast Bash profiler with built-in flamegraphs

timep is a state-of-the-art trap-based profiler for bash code. It generates per-command execution time profiles, hierarchically logging command runtimes and metadata based on function and subshell nesting. The latest release (v1.3) is fully self-contained, including a compressed binary and a flamegraph generator. Major refactorings have dramatically improved performance; a test with ~67,000 commands now runs in 5 minutes (down from 20!). timep offers detailed and summarized profiles, plus visually insightful flamegraphs, simplifying the analysis and optimization of Bash code.