As described here, while debugging, as the script prints something to the Expressive Output Window, it gradually gets slower, until practically stopping the game, after many prints …
If I clean the Expressive Output Window (Ctrl+K), it will be fast again, then everything will be repeated …
When I activate log mode, this problem does not occur.
Repro
- Activate Expressive Output Window beta
- Run this script (LocalScript)
local time = tick()
for i = 1, 10000 do
wait()
print("Time between prints: ", tick() - time)
time = tick()
end
- You will notice that, as the prints appear, the time increases.
- Clear the Output (Ctrl+K) and it will become faster again, then get slower gradually
- And by enabling Log Mode, the time is stable.