Back to JetBrains

Death by a Thousand Ticks: Why Gameplay Systems Become Slow | Konrad Słoń | GameDev Day 2026

JetBrainsOctober 19, 202657m
Topics49
Performance Problems in Game Development0:31Speaker Background1:30Understanding the Frame Concept2:00Frame Production Requirements3:30Frame Rate vs Frame Time4:00Time Budgets by Frame Rate5:02CPU vs GPU Division6:01Gameplay as Partial Budget Consumer7:00The Scale Problem8:00The Title's Meaning9:00The Accumulation Problem10:01Three Categories for Improvement10:31Interconnected Improvements11:30The Danger of Cost Optimization12:01Focus on Frequency and Range12:30Structural Control13:30The Tick Function Problem14:00The Default Every-Frame Assumption15:00Enemy Behavior Requirements16:00Every-Frame Implementation17:30Single Enemy Analysis19:00The Range Factor20:31Cumulative Impact21:30Questioning Every-Frame Assumptions22:30Distance Update Optimization24:00Periodic Execution Implementation25:01The Distribution Problem26:01Frame Cadence Importance27:01Frame Rhythm Definition28:01Two Questions for Frequency Improvement29:01Distributing Work Across Frames29:30Benefits of Distribution30:30Measuring Impact of Frequency Changes31:10Eliminating Unnecessary Work32:30Status Update Function Analysis33:01Event-Driven Approach35:01Event System Trade-offs38:01Performance Results After Two Optimizations39:01Ownership and Responsibility40:31Path System Architecture43:02Selective Processing Based on Group Context45:01Summary of Three Optimization Strategies46:01Average Frame Time vs. Spikes47:30Core Principles48:01When These Approaches Don't Apply49:30Priority of Optimization Strategies50:33Three Key Questions for Performance Issues51:00Q&A: Frame Budget Allocation52:30Q&A: Batching and Frame Rate Considerations54:01
In a Nutshell

Performance problems in games rarely come from single expensive functions but from many small operations accumulating across frames—especially when work runs every frame for many objects. Instead of optimizing cost, first reduce frequency by asking whether work needs to happen every frame, then eliminate unnecessary polling by responding to state changes rather than constantly checking, and finally shift ownership to systems with broader context to avoid redundant processing. The cheapest work is the work you don't have to do.

AI-Generated Notes

These notes were generated by AI and may contain inaccuracies.

Game performance problems rarely result from a single, obviously expensive piece of code. Most of the time when working with game code, developers find code snippets that seem to make perfect sense and may be very cheap, but when they accumulate, expensive features accumulate and problems become difficult to address.

The speaker is Conrad, a senior game programmer who works for a team supporting CD Projekt Red on their upcoming game. Game systems constitute a large part of daily work, and architectural problems are dealt with regularly.

Games don't have an abstract performance budget. There is a "framework" in game development where everything that needs to happen competes for time. At the simplest level, a frame is a snapshot of the game at a particular moment in time. Frames tell us about the locations of objects, type of motion, gameplay events, user interface appearance, camera location, visual effects, and all other elements contributing to the state seen on screen.

Games create frames over and over to create the illusion of continuous motion. The key performance question is how much time is available to produce the next frame. Games must produce frames quickly to maintain the illusion of continuous motion.

When discussing game performance, the term frames per second (FPS) is used, which is what players see. From the developer perspective, frame time is more useful because it tells how long the production process of that frame actually takes. They describe the same thing but from different angles.

Sign in to read the full notes

Get access to AI-generated notes, topic timestamps, and more.