Loncat ke konten
GAME · ULASAN · BASIS DATA
Forum

💬 Live Community Activity Feed

Forum 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 Terang 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)

Cari di Gamer24H

Masukkan minimal 3 karakter.

Jelajahi

TAMPILAN

Pilih tema warna Anda

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

🌍 PILIH BAHASA 25 Bahasa
🔍