Code profiling utility. Depends on LuaJIT.
Inspired by jitprofiler. Bringing your graphs directly into Luanti, rather then depending on external tools.
Code: MIT
Media: CC0
Depends: -nothing-
Download: https://github.com/Skamiz/k_profiler/ar ... master.zip
Features:
Create collections of profiler samples, either manually from the mods formspec, or automatically from code.
Display them as graphs in a formspec displayed with the chat command: '/k_profiler'.
Zoom in on sections of the graph by clicking on them.
Hover over sections to get more information, like the full path of the function, number of samples, time used and, if sampling precision is set to "line", even the specific line of code.
See the mods readme for a fuller explanation.
Warning: The builtin JIT profiler has issues with sandboxed environments as used by, for example, lua controllers and basic_robots, and may hang the game when encountering such.
[Mod] K-Profiler [k_profiler]
- Skamiz Kazzarch
- Member
- Posts: 690
- Joined: Fri Mar 09, 2018 20:34
- GitHub: Skamiz
- In-game: Skamiz
- Location: la lojbaugag.
Who is online
Users browsing this forum: Bing [Bot], dgleijen and 0 guests