Skip to content

planflare v0.1.0

Latest

Choose a tag to compare

@flipcyde101 flipcyde101 released this 21 Nov 21:11
· 1 commit to main since this release

planflare v0.1.0

100% offline PostgreSQL EXPLAIN (ANALYZE, BUFFERS, FORMAT JSON) flamegraph, hotspot detector, and before/after plan diff CLI with zero runtime dependencies.

Highlights

  • 100% Offline & Zero Dependencies: Never paste production query plans into third-party websites; pipe directly from psql (including default psql-wrapped output) or analyze saved JSON files.
  • True Exclusive Timing & Buffer Math: Accounts for Actual Loops, Actual Loops = 0 (Never Executed), parallel workers, InitPlan children, and exclusive block subtraction for Bitmap Heap Scan and stacked disk spills.
  • Automated Hotspot Detection: Flags LARGE_SEQ_SCAN, ROW_MISESTIMATE (per-loop), DISK_SPILL, LOW_BUFFER_HIT, and HIGH_FILTER_REMOVAL.
  • Multiple Outputs: Terminal flamegraph, before/after plan diff, copy-paste Markdown PR table (--markdown), JSON (--json), and standalone offline HTML flamegraph (--html).
  • Verified Cross-Platform: 10/10 tests passing across Ubuntu, macOS, and Windows on Node 24.

Try It in 1 Second

npx planflare --demo