3 This is a super simple way to get a performance graph into your PICO-8 carts.
5 
7 1. `#include perfgraph.p8:1`.
8 2. Use `p_start(name)` and `p_end(name)` around the code you need to measure.
9 3. Call `p_show(x,y,width)` to show a graph! (The frame times will reset after you call this.)
15 #include perfgraph.p8:1
20 p_start("complicated 1")
22 circfill(rnd()*128,rnd()*128,rnd()*100,rnd()*16)
24 p_end("complicated 1")
26 p_start("complicated 2")
28 circ(rnd()*128,rnd()*128,rnd()*100,rnd()*16)
30 p_end("complicated 2")