nowfound

Dev tools · July 15, 2025

TA

Timep – a next-gen profiler and flamegraph-generator for bash code

timep is a TIME Profiler for bash code that will give you an accurate per-command execution time breakdown of any bash script or function. Unlike other profilers, timep also recovers and hierarchally records metadata on subshell and function nesting, allowing it to recreate the full call-stack tree for the bash code being profiled. If you call timep with the `--flame` flag, it will automatically generate a flamegraph .svg image where each block represents the wall-clock time spent on a particular command (top level) or its parent subshells/functions (all the other levels). Using timep…

In plain words

Timep is a profiler for bash scripts and functions that measures execution time for individual commands and tracks how they nest within subshells and functions. It reconstructs the complete call stack and generates flamegraph visualizations as SVG images, where each block shows wall-clock time spent in a command or its parent contexts. Users can profile code by sourcing the timep.bash file and prefixing commands with timep, requiring no modifications to the code being analyzed.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

timep is a TIME Profiler for bash code that will give you an accurate per-command execution time breakdown of any bash script or function. Unlike other profilers, timep also recovers and hierarchally records metadata on subshell and function nesting, allowing it to recreate the full call-stack tree for the bash code being profiled. If you call timep with the `--flame` flag, it will automatically generate a flamegraph .svg image where each block represents the wall-clock time spent on a particular command (top level) or its parent subshells&#x2F;functions (all the other levels). Using timep is simple - just source the timep.bash file then add timep before whatever you want to profile. You do not need to change in the code being profiled - timep handles everything for you. Example usage: . .&#x2F;timep.bash timep someFunc timep -flame someScript <inputFile timep will generate 2 profiles for you: one showing each individual command (with full subshell&#x2F;function nesting chains), and one that combines repeated loops commands into a count + total runtime line with minimal "extra" metadata. See the github README for more info on the available flags and output profile specifics. timep works by cramming all the timing instrumentation logic into a DEBUG trap that roughly does the following: 1. record end timestamp for previous command 2. compare current state to state saved in variables last DEBUG trap to determine what sort of command is happening. e.g., if BASH_SUBSHELL increased then we know we just entered a subshell or background fork. 3. once we know what type of command is happening, generate a log line for the previous command (now that we have its end time 4. save current state in various variables (for use next debug trap) 5. record start time for the next command then after the profiled code is done running, timep post-processes the logs to produce the final profile

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 2d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, July 2025

the whole month →
  • Clueso1,298

    Create stunning product videos in minutes with AI

    AI · 2025 · clueso.io

  • The 1st Agentic Canvas for building apps visually with AI

    AI · 2025 · trickle.so

  • TB
  • TY

    Today marks ten years, 3653 consecutive days, of running at least one mile every day under the USRSA rules [1]. To celebrate, I built an interactive dashboard that turns a decade of GPX files into charts you can explore. Running has truly changed my life: I've made lifelong friends, explored beautiful places, and more importantly invested into my own health and fitness, which I'm starting to see the positive benefits as I get older. The stack is pretty simple: a NextJS app, with a Postgres database to keep all my running data, and all the stats are pre-computed and cached in Redis, so I…

    Dev tools · 2025 · nodaysoff.run

  • DA

    Made this website as an exercise in vibe-coding and GCP. It was posted about a few times around the internet, on sites like Morning Brew (https:&#x2F;&#x2F;www.morningbrew.com&#x2F;issues&#x2F;business-buzzkill), MetaFilter (https:&#x2F;&#x2F;www.metafilter.com&#x2F;209703&#x2F;Draw-A-Fish), boingboing.net, etc. I think it's cute! I built a basic CNN trained against penises and swastikas, and then anything that doesn't hit the 63% confidence score gets sent to a mod queue, a vibe-coded fish-tinder…

    Dev tools · 2025 · drawafish.com

  • AppStruct864

    No-code app builder

    Dev tools · 2025 · appstruct.ai