
-1. `#include perfgraph.lua`.
+1. `#include perfgraph.p8:1`.
2. Use `p_start(name)` and `p_end(name)` around the code you need to measure.
3. Call `p_show(x,y,width)` to show a graph! (The frame times will reset after you call this.)
```lua
-#include perfgraph.lua
+#include perfgraph.p8:1
::l::
```
-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/).
+Have fun!