Commit Graph

3 Commits

Author SHA1 Message Date
Zonespace
f7c26bbf25 515 Compat (#17465)
* ONLY SKYRAT CHANGES

* ACTUALLY SKYRAT CHANGES

* yolo, revert later

* Update alternate_byond_versions.txt

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-11-15 06:59:06 +00:00
MrStonedOne
073bb122e2 debug verbs, less overhead, more sorts, fix for 16m call count bug 2017-10-26 15:01:41 -07:00
MrStonedOne
adb134e462 Line by line profiling system
This allows you to profile shit in a line by line fashion, getting a neat little report about how long (in milliseconds) was spent on what line(s).

Only one can be running at a time. You just have to call PROFILE_START then call PROFILE_TICK between lines, and finally, use profile_show(mob/client) to show the profile results to a mob. Profiles are sorted by avg cost per run.

Example usage: ef876c6fdb (diff-7664a9b9849fbd5b5d688654469b26d9R417)

Example output: https://gist.github.com/MrStonedOne/06a275be398499db41da702dde7fc518
2017-10-25 22:37:34 -07:00