I've been wondering how changes to code in on_tick of a mod have been affecting game performance.
And looking at F5 screen with show-time-usage enabled, "Update:" numbers seem to have by-mod breakdown and look useful, but can't find what they stand for.
For example, a line for each mod in "Update:" section like "mod-Bottleneck: 0.118/0.254/1.537" - what does each one of these three numbers (separated by slashes) represent?
Only info I was able to find on these so far was basically "first number high = bad", which is better than nothing, but not very helpful either.
Would appreciate any additional information.
More specific questions:
- Are these numbers stand for cpu time that lua thread took to run stuff (e.g. that mod hooks for example line), monotonic time between start/end (as in "clock_gettime(CLOCK_MONOTONIC, ...)") or rtc/wall-clock time?
- First number - is it time it took to run arbitrary last entry point from that mod?
- - Maybe sum of time for all entry points during last game logic update?
- - Maybe some kind of average of all calls to that mod code during last update?
- - Maybe not average at all, but sum, min, max, or something else entirely?
- What does the second number mean?
- What is the third one? Some kind of sum over time?
- How often are they updated (esp. second and third one)?
- How roughly accurate these numbers are? E.g. if it's cpu time, is it sampled per-process as sum of all threads, so that e.g. graphical settings will change these numbers too?
This is important for performance optimization, as - for example - looking at max or average value while tweaking one of N hooks in a mod can be pointless, or comparing non-cpu times when you have e.g. video rendering running in the background is probably a bad idea (as they'll be really biased by that, even with the same code).
Do realize that these might be hard questions, esp. for non game developers, just wanted to hint at as much useful info as possible, in case it might be known/available - will be happy with any clarifications, really

Thanks in advance!