HANDLE_LAGGING_TASK / @LAGGING (FOR ADMIN)
ToastStunts supports a special verb that will get called when a task is lagging. This task now logs the last 20 lagging tasks to and surfaces the info via @lagging (a new admin verb). There are two versions of @lagging, one for when we are lagging (the default @lagging) which just prints simple info with as little ticks as possible. And @lagging pretty which can be used when we aren't lagging and presents the info in a much easier to read way.
This verb is available to most admin but is really intended for programmers or for folx to copy and paste to programmers if they aren't online.
This will DRAMATICALLY cut down on how long it takes us to identify something that has spun out of control and is lagging the MOO.
@FORKED LAGGING (ADMIN)
The new option for @forked, '@forked lagging' will show the same information, printed slightly less pretty, and it will take 1/50th of the ticks that normal @forked takes, will almost never need to suspend, and will print the results right away instead of waiting until the end. This version avoids literally everything that takes ticks, including calling notify() directly instead of player:tell or player:notify. It is much much faster and honestly, still pretty easy to read.
This will allow us to more quickly and easily debug issues when we are lagging.