Apex GP

Devlog

A five-second freeze, cut into seventy-millisecond slices

Circuit loading was one 2.4-4.3 second block, past Android's input deadline on a tablet. It is now 70 ms slices, with a tune that survives a hot SoC.

Loading a circuit used to be one unbroken block of work: 2.4 to 4.3 seconds on this desktop, with a single worst slice of 1.45 s on Monaco. On a throttled tablet that block ran 5.2 seconds, past Android's five-second input deadline, so the app was declared unresponsive before the race appeared. The build is now cut into 70 ms slices: the circuit builder yields a frame whenever 70 ms have passed, at row, chunk and object boundaries. Total build time is unchanged, mean +0.4% across fifteen circuits; the worst remaining span is 109 ms at Silverstone and 286 ms at Monaco.

Two pieces needed their own pass. Monaco's building ambient-occlusion field was one 270-310 ms block rasterising 120,000 triangles; it now runs in four spans of about 71 ms, proved cell for cell against the old output. The pit building, lane and canopy and garages together, is a coroutine too.

Some blocks cannot be sliced: the warm-up's GPU passes ran 1.0-1.7 s on the tablet. Gestures that begin during those stages now never reach the engine, judged once at the first finger down. Forty-nine checks, and nineteen mutations that each fail them.

A frame time that only held while the tablet was cold

The graphics tune is a one-shot at start-up, and a Pad 8 Pro measured 16.8 ms at the tune and 33.7 ms at the same settings once its SoC reached its thermal cap. A race now steps down the ladder after ten seconds of sustained degradation, once per session, with a five-minute cooldown: never in the first thirty seconds, never in a load, pause or lobby, and off when Optimise is off.

What broke on the way

The tablet stopped responding at 16:00 on the 19th, and the load was not the cause: the motion-sensor pool was being flooded. That is fixed, along with tilt following a steering-mode change within a second and touch really switching the sensors off again.

The rest of the window went to 0.12.3: 96 commits across four fix streams, mostly multiplayer. Timed weekend sessions hand over to a shared grid, the closure notice appears when the last racer leaves, push registration is ordered across account changes, the mod registry validates typed and binary models, and upgrades preserve 0.12.1 personal bests. The suite stands at 138 gates on the frozen head, zero failures.

← All devlog posts ยท RSS