jprof
jprof copied to clipboard
Profiling library/tool for löve
Theres the Doc: https://blast.hk/moonloader/luajit/ext_profiler.html
The v key cycles between showing both time and memory, just time, and just memory on the graph.
Hey here's a thing. I wrote it after probably over-instrumenting my code: it takes a save of around 500k events from, like, minutes, to around 2 seconds on my cheapo...
How should jprof be started then? No arguments? That results in an error currently, but it is not too confusing to just show a black screen with the text "Drop...
Option to reload the last loaded file with F5
PROF_RELEASE would be a nice name too. It is a significant change that could sneak up on people. Do I need a changelog/version numbers?
The viewer already runs on löve 11.1, but jprof.lua (which generates the profiling data, should work from 0.9.2 on). If I required the (new in löve 11) love.data module, I...
~~Left click on a zone to make it the new root zone in the flame graph (zone zoom). Rightclick to unzoom.~~ Zoom in the graph at the bottom with mousewheel,...
Saving takes a long time. Can this be optimized? Maybe save in chunks in a separate thread while gathering the data? The viewer also doesn't handle really big captures well...