3 This is a super simple way to get a performance graph into your PICO-8 carts.
5 
7 1. `#include perfgraph.lua`.
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.lua
19 p_start("complicated 1")
21 circfill(rnd()*128,rnd()*128,rnd()*100,rnd()*16)
23 p_end("complicated 1")
25 p_start("complicated 2")
27 circ(rnd()*128,rnd()*128,rnd()*100,rnd()*16)
29 p_end("complicated 2")
37 Have fun. You can find a demo in perfgraphdemo.p8 in this repo. If you like this then feel free to follow me on Twitter: [@btsherratt](http://twitter.com/btsherratt/).