You can support the development on the Github Sponsors page.


Tech > LIBPROFILE


v1.0 TIC-80 profiling library
made by Gavin Stewart
uploaded by gstew
added:
download cartridge
- CLICK TO PLAY -

5


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.

Comments


LucasM

Yooo. Neat! I was making a mini profiler of my own, and someone shared this with me on the discord. I love your functionality. I'm probably gonna share my cart soonish, and if I do I'll probably shout out your LIBPROFILER at the end of my cart if someone needs a more detailed profiler than mine. I really like what you did with this yo.


Post comment