blog·rugen staffStaff·Oct 15

0.7.0: what got faster

0.7.0 added no feature on purpose. It was measured before and after on the same machine, and the classic 1v1 simulation stayed bit-identical.

0.6.5 0.7.0
Convert a 105 MB fighter 20 s, 1.1 GB 2.9 s, 0.36 GB
Memory of a loaded fighter 109 MB 40 MB
GPU textures after a match kept forever freed
Draw calls per frame 60–75 40–49
Frame spikes in the first seconds several none
OpenGL fallback never actually used works

How: sprites compressed at a sane zstd level instead of the maximum, streamed through the encoder instead of decoded twice into memory, read from the file when first drawn, sounds decoded on a worker thread, textures released when the match ends, and a low-spec mode that draws the fight at 0.75 or 0.5 of the window on weak GPUs.

Numbers, method and rugen bench are in the performance page.

1 0

0 comments

No comments yet

Log in to start the conversation.