Skip to content

Commit

Permalink
Add demo to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Gartner committed Oct 24, 2019
1 parent 2705720 commit 69b4fa8
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,24 @@

A flamegraph generator for Postgres `EXPLAIN ANALYZE` output.

<a href="https://mgartner.github.io/pg_flame/flamegraph.html">
<img width="700" src="https://user-images.githubusercontent.com/1128750/67529948-7d46b000-f672-11e9-918a-a6e9a1e42cd4.png">
</a>

## Demo

Try the demo [here](https://mgartner.github.io/pg_flame/flamegraph.html).

## Installation

Coming soon!

## Usage

1. Generate a query plan in JSON by prefixing a SQL query with
`EXPLAIN (ANALYZE, BUFFERS, FORMAT JSON)`. Save the output to a file.
1. Generate a query plan in JSON by prefixing a SQL query with `EXPLAIN
(ANALYZE, BUFFERS, FORMAT JSON)`. Save the output to a file. Example query
plan JSON can be found
[here](https://mgartner.github.io/pg_flame/plan.json).

_Example:_

Expand Down

0 comments on commit 69b4fa8

Please sign in to comment.