Is your feature request related to a problem? Please describe.
When I write a plugin, and it seems to slow down how responsive the server is. I can't tell what takes how long!
Describe the solution you'd like
I would like to get a quick overview of execution times of my event handlers. I would like those to happen on command (via a console command, for example, in the lua console for my plugin, for example), and via a lua api (like MP.DebugExecutionTimes() or something). Once I have those times, I would like to be able to edit the code of the worst offending/most surprisingly bad performing event handlers to include manual profiling steps, which are added to the same profile.
Is your feature request related to a problem? Please describe. When I write a plugin, and it seems to slow down how responsive the server is. I can't tell what takes how long!
Describe the solution you'd like I would like to get a quick overview of execution times of my event handlers. I would like those to happen on command (via a console command, for example, in the
lua
console for my plugin, for example), and via a lua api (like MP.DebugExecutionTimes() or something). Once I have those times, I would like to be able to edit the code of the worst offending/most surprisingly bad performing event handlers to include manual profiling steps, which are added to the same profile.