Skip to content

Repurpose Flamebearer as a trace CLI tool for agents and humans#16

Merged
mourner merged 26 commits into
masterfrom
revival
Jun 25, 2026
Merged

Repurpose Flamebearer as a trace CLI tool for agents and humans#16
mourner merged 26 commits into
masterfrom
revival

Conversation

@mourner

@mourner mourner commented May 21, 2026

Copy link
Copy Markdown
Owner

This project used to be about generating an HTML flamegraph for Node traces, but then lay dormant since 2018. In 2026, it was revived with a new purpose: to be a useful CLI tool in the age of AI.

🔥 flamebearer

A CLI that summarizes performance traces for AI agents and humans. Reads Chrome DevTools Performance recordings (.json / .json.gz) and Node .cpuprofile files, and prints a compact, structured text report — top CPU offenders per thread, long tasks, category breakdown — designed to fit in an LLM's context window in one shot.

No HTML, no GUI: Speedscope already nails that.

Usage

npm install -g flamebearer

# Chrome DevTools trace
flamebearer profile.json.gz

# Node CPU profile (single, multiple, or a folder with profiles)
node --cpu-prof app.js
flamebearer CPU.*.cpuprofile
image

@mourner mourner changed the title Flamebearer revival: a minimal CLI trace analysis tool for agents and humans Revival: a trace CLI tool for agents and humans May 21, 2026
@mourner mourner changed the title Revival: a trace CLI tool for agents and humans Repurpose Flamebearer as a trace CLI tool for agents and humans May 21, 2026
@mourner mourner marked this pull request as ready for review May 24, 2026 17:39
@mourner mourner merged commit 48bdf80 into master Jun 25, 2026
2 checks passed
@mourner mourner deleted the revival branch June 25, 2026 12:00
@mourner mourner temporarily deployed to github-pages June 25, 2026 12:01 — with GitHub Pages Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants