Deep sendmaps profiling (#6237)

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-06-11 01:02:39 +02:00
committed by GitHub
parent b8c9d5e79b
commit cd7e358f52
5 changed files with 121 additions and 6 deletions
+11
View File
@@ -197,6 +197,9 @@ GLOBAL_PROTECT(admin_verbs_debug)
/client/proc/export_dynamic_json,
/client/proc/run_dynamic_simulations,
#endif
#ifdef SENDMAPS_PROFILE
/client/proc/display_sendmaps,
#endif
/datum/admins/proc/create_or_modify_area,
/client/proc/check_timer_sources,
/client/proc/toggle_cdn,
@@ -825,3 +828,11 @@ GLOBAL_PROTECT(admin_verbs_hideable)
var/datum/admins/admin = GLOB.admin_datums[ckey]
admin?.associate(src)
#ifdef SENDMAPS_PROFILE
/client/proc/display_sendmaps()
set name = "Send Maps Profile"
set category = "Debug"
src << link("?debug=profile&type=sendmaps&window=test")
#endif