Siirry sisältöön
PELIT · ARVOSTELUT · TIETOKANTA
Foorumi

💬 Live Community Activity Feed

Foorumi Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #119602
    User AvatarLily Ramirez
    Member

    Followed the advice, and the framedrops are basically gone now — shoutout to everyone who pointed me at the profiler graphs. The real culprit was per-frame allocation in the Lua binding layer (I was boxing every struct into a new Vaalea userdata on each tick), so the GC had to run every ~30ms and cause those ugly spikes. Switched to a pooled object pattern on the Lua side and moved the hot path into C++ native with a manual GC trigger off the main thread, and the frame times flattened right out. Lesson learned: it wasn’t the rendering thread after all, it was my garbage collection math. Thanks guys!

    "Stockholm, Sweden • Ryzen 7 7800X3D & RX 7800 XT"
Viewing 1 post (of 1 total)

Hae Gamer24H:sta

Kirjoita vähintään 3 merkkiä.

Tutki

ULKOASU

Valitse väriteema

Automaattinen mode follows your device and switches to Xbox, PlayStation, or Nintendo colors on matching stories. Your manual choice stays on this device.

🌍 VALITSE KIELI 25 Kieltä
🔍