Show HN: Timep – A next-gen profiler and flamegraph-generator for bash code
Note: this is an update to [this]( https://news.ycombinator.com/item?id=44568529 ) "Show HN" post. timep is a state-of-the-art [debug-]trap-based bash profiler that is efficient and extremely accurate. Unlike other profilers, timep records: 1. per-command wall-clock time 2. per-command CPU time, and 3. the hierarchy of parent function calls /subshells for each command the wall-clock + CPU time combination allows you to determine if a particular command is CPU-bound or IO-bound, and the hierarchical logging gives you a map of how the code actually executed. The standout feature of timep is that it will take these records and automatically generate a bash-native flamegraph (that shows bash commands, not syscalls). ------------------------------------------------ USAGE timep is extremely easy to use - just source the `timep.bash` file from the repo and add &quo
Why it failed
Note: this is an update to [this]( https://news.ycombinator.com/item?id=44568529 ) "Show HN" post. timep is a state-of-the-art [debug-]trap-based bash profiler that is efficient and extremely accurate. Unlike other profilers, timep records: 1. per-command
- Kind
- patent
- Status
- Rejected
- Inventor
- jkool702
- Ended
- 2025
- Source
- hackernews