Skip to content

This one line froze my Godot game

Youtube 0:47 376 views
ZetBit

ZetBit

@UC3zY4m_LrHraxTCv-lFPPIg

Two hundred print() calls in one frame took 145 milliseconds in a small Godot test scene. Without them, the same frame took a tenth of a millisecond. In my strategy game it showed up as a 50 ms hitch every two seconds, and with the log on a USB drive the whole game ran five times slower. All fifteen traps I timed: (link til den lange video) Measured on Godot 4.6, Ryzen 5 5500. #godot #gamedev #indiedev #shorts

More Videos