frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: profiler-md converts performance profiles to Markdown

https://github.com/TomerAberbach/profiler-md
1•tomeraberbach•9m ago
Hi HN!

profiler-md is a CLI and JS library that converts performance profiles to Markdown across 17 formats (e.g. pprof), 29 profilers (e.g. py-spy), 22 languages (e.g. Rust), and 4 profile types (call stack profiles, call graphs, heap snapshots, and traces).

Earlier this year I tried using AI agents for performance optimization. They weren't very effective because they frequently:

- Speculated about why something was slow from just reading the code

- Made changes, measured the wall time before vs after, and struggled to distinguish real improvements from noise

- Analyzed raw profiles using one-off scripts, which were often subtly incorrect

The issue was that the agents couldn't read a flamegraph like I could. In a flamegraph, I could see what was slow, and when I made changes, I could see whether the targeted work was eliminated. The agents needed a feedback loop like that.

So I wrote a small converter from Node CPU profiles to Markdown. The agents were much more effective when using it, and I realized I also liked reading the Markdown myself!

I felt this had potential, and I use many different programming languages at work, so I decided to build profiler-md. I also wrote an agent skill [1], which I've successfully used to optimize profiler-md itself and its pprof-format dependency (a 78x speedup on a large pprof file [2] and a 3.3x speedup more broadly [3]).

I got to solve some fun problems for this project:

- Making it so that adding a new format, profiler, or profile type is as simple as implementing an interface and adding to a registry. I also have project skills for this!

- Resolving weirdly differing profiler semantics (e.g. around what line numbers mean [4] [5] [6] [7]) by setting up the right interface boundaries.

- Matching functions across profiles for the Markdown diff output. A profile doesn't contain the full code, so this required some heuristics. I evaluated the algorithm by measuring recall (99.9%) and precision (99.7%) on diffs from real version upgrades.

- Designing a call tree renderer that maximizes metrics such as how many of the hottest functions it shows and how much of the profile's self value it covers [8].

I'd love to hear what you think. Try it out and let me know if you have any feedback or questions!

Full disclosure: I work at Anthropic, but this personal project is unrelated to my employer.

[1] https://github.com/TomerAberbach/profiler-md/#skill

[2] https://github.com/DataDog/pprof-format/pull/77

[3] https://github.com/DataDog/pprof-format/pull/107

[4] https://github.com/rbspy/rbspy/issues/409

[5] https://github.com/oven-sh/bun/issues/29240

[6] https://github.com/google/pprof-nodejs/issues/361

[7] https://github.com/NixOS/nix/blob/16fa212a96192479593620e9b9...

[8] https://github.com/TomerAberbach/profiler-md/blob/a1ee95e4b5...

Volcanic Springs Amoeba Survives 63 °C, Setting Heat Record for Complex Life

https://www.sciencealert.com/volcanic-springs-amoeba-survives-63-c-setting-a-new-heat-record-for-...
1•gmays•8s ago•0 comments

Nondeterminism in Futhark(language)

https://futhark-lang.org/blog/2026-11-04-nondeterminism.html
1•DASD•2m ago•0 comments

Building a Serverless ClickHouse

https://jordivillar.com/blog/building-a-serverless-clickhouse
2•adastral•5m ago•1 comments

The Atheist Bible

https://suchanek.name/texts/atheism/
1•axiologist•8m ago•1 comments

Show HN: profiler-md converts performance profiles to Markdown

https://github.com/TomerAberbach/profiler-md
1•tomeraberbach•9m ago•0 comments

Show HN: Pizza – An event-driven AI agent, no while true

https://pizza.hertzbeat.com/
1•tomsun28•10m ago•0 comments

Show HN: Simple tool for FDEs to avoid missing HITL steps in claude code

https://github.com/robertodf99/hook-me-up
1•rdelgadoferr•12m ago•1 comments

Control and complexity: tension in systems design

https://ferd.ca/control-and-complexity-tension-in-systems-design.html
2•fagnerbrack•13m ago•0 comments

So Much Tech News: The Week of 11/08/2026

https://somuchtechnews.substack.com/p/so-much-tech-news-the-week-of-11082026
1•amichae2•14m ago•0 comments

When AI Knows More Than It Can Offer

https://medium.com/@smoking2man/when-ai-knows-more-than-it-can-offer-how-training-turns-an-intell...
1•Aldus551•15m ago•0 comments

Beating the Frontier on NetHack

https://antithesis.com/blog/2026/nethack/
1•signa11•15m ago•0 comments

Show HN: Nostalgia Rider

https://nostalgiarider.com
1•qvq•17m ago•1 comments

Show HN: Codex sessions in the Mac menu bar

https://smol-ninja.github.io/little-brain/
1•shubyhere•18m ago•0 comments

Show HN: FlAIent – Learn interactive AI coding with real agents

https://flaient.com/
1•ProdRatSuperior•18m ago•0 comments

Show HN: Floodtide – A Mac app updater with backups and rollback

https://bhopstudio.com/floodtide
1•realm7077•18m ago•0 comments

Show HN: Folate – Local DOM selector model that beats 7B VLMs at 1/60th the size

https://github.com/figranium/folate
1•asernasr•19m ago•0 comments

New open source C4 Diagram tool

https://www.youtube.com/watch?v=ZCAHP50Zly8
2•oliveralbertini•19m ago•0 comments

My 99-Year-Old Grandmother Built a Hidden Empire Around Flannel

https://www.outsideonline.com/outdoor-gear/clothing-apparel/grandmother-flannel/
1•ripe•20m ago•1 comments

Atlas of the brain's striatum could guide researchers to new drug treatments

https://news.mit.edu/2026/brains-striatum-atlas-could-guide-researchers-new-drug-treatments-0901
1•gmays•20m ago•0 comments

Show HN: ArchLog – a memory for your team's engineering decisions

https://archlog.dev/
1•ArchLog•20m ago•0 comments

HN: Teach a bot a secret rule and watch it learn from your answers

https://demo.glyphh.ai/bot/
1•glyphhai•20m ago•0 comments

Megaspeed says Alice Huang left the company in August 2025

https://www.reuters.com/business/megaspeed-says-alice-huang-left-company-august-2025-2026-11-15/
2•gpi•21m ago•0 comments

Apfel-LLM: Drop

https://github.com/NixOS/nixpkgs/pull/588623
1•franze•23m ago•0 comments

Roll back a bad release from chat: rollbacks, restored variables and deploys

https://railyard.run/blog/rollback-release-from-chat/
2•RailyardRun•25m ago•0 comments

ADHD man makes ADHD app for study to kill brainrot

https://github.com/GigaGoose287/StudyGuard
1•GigaGoose123•26m ago•1 comments

First Molecular-Level Images of Water Reorganization During a Reaction

https://www.pnnl.gov/news-media/scientists-capture-first-molecular-level-images-water-reorganizat...
1•gmays•27m ago•0 comments

'Duffy Lied': Controllers Refute Transportation Secretary's Ground Stop Story

https://www.commondreams.org/news/duffy-ground-stop-explanation
4•mikestew•29m ago•0 comments

Illiteracy and Society in Scotland and Northern England 1600 – 1800 [pdf]

https://catdir.loc.gov/catdir/samples/cam031/85007800.pdf
1•andsoitis•32m ago•0 comments

GitHub Projects Community (X) CM join the cause to wash Jensen Huang image

https://twitter.com/GithubProjects/status/2121830342864843239
2•crefiz•35m ago•0 comments

Kotlin 2026: Layoffs, AI, Google – Is the Golden Age Over? Jake Wharton Explains

https://www.youtube.com/watch?v=9WjPdgOK-68
1•pjmlp•36m ago•0 comments