跳至内容
游戏 · 评测 · 数据库
论坛

💬 Live Community Activity Feed

论坛 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 浅色 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)

在 Gamer24H 搜索

至少输入 3 个字符。

探索

外观

选择您的颜色主题

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

🌍 选择语言 25 种语言
🔍