Profile library/tool for TIC-80 lua code.
Call profile:start(<name>) and profile:stop(<name>) around code/functions that you want to profile, then call profile:update() from the end of OVR() or TIC() once per frame.
Use the ` key to see profile table in-game. Use the t key to dump the table to the tic-80 console.