Gmlive used to be quite fast until the update to 2.3 . Now it is very slow, even a few calls if (live_call()) return live_result; brings a massive drop in fps. I don't know why it happens, I don't even use structs nor new gml features :(
Viewing post in [Fixed in 1.0.47+] gmlive and fps
I have news: apparently debug_get_callstack
(which GMLive uses to figure out what script is being executed) gets progressively slower the more code you have in scripts that were called - even if that code is commented out. With GMLive now being a massive script, that is an issue.
I filed a bug report (#180892) and will look into mitigating this (likely by splitting the script into smaller scripts).
A workaround is to use live_name
, which will then omit calling debug_get_callstack
.