--- topic: render-performance-survey triggers: [grid.rs, patches.rs, kerb_shadows.rs, KerbPiece, "kerb", split_by_upload_bytes, terrain_refine::weld, "street level is slow", ground_detail.rs, wet_surfaces.rs, street_labels.rs, map_stream.rs, systems/dev/perf.rs, "rotate the camera", "turning", "turn window", material_modified_per_frame, get_mut, StreamCentre, orbit_focus, sample_to_callgrind, kcachegrind, qcachegrind, "sample(1)", CARTO_MSAA, light_shafts, macOS, Metal, Retina, write_buffer, StagingBuffer, "batch set", GLOBE_SKY_SAMPLES, ShotMetrics, render_census, "draw call", "overdraw", "clipmap", "SIMD", big_space, "frame time", "profiling", "perf", "framerate", "fps", occluded_by_finer, "tier", quality.rs, Adreno, "gpu preprocessing", bindless, "task pool", ComputeTaskPool, CARTO_NO_CLOUDS, globe_clouds, "clouds", "slow at altitude", "fps drops when zoomed", fbm3, "shadows", "shadows are slow", ShadowFilteringMethod, NotShadowCaster, NoFrustumCulling, shadow_casters, shadow_distance_m, shadow_cascades, CascadeShadowConfigBuilder, CARTO_NO_SHADOWS, "moon shadow", CARTO_NO_LIGHT_SHAFTS, CARTO_NO_STREET_LABELS, CARTO_OCCLUSION_CULLING, CARTO_DBG_HIDE, StreetLabelSign, street_labels.rs, "mac-2", "M5 Pro", "cascades", "turn is slow", "shadow map size", CARTO_SHADOW_MAP] updated: 2026-11-26 --- # Where the frames go, and where they do not A ten-lens survey of the client's render cost, 2026-08-16. Most of what follows is **negative results** — directions that look obviously worth taking and are not. Those are the expensive part to rediscover, so they are the part written down. What was found *and* fixed is in the commits; this note holds the standing facts around them. ## The instrument, and what it may be trusted for `ShotMetrics` carries `draws`, `tris_total`, `tris_shadow`, the four per-streamer triangle splits, `tiles_occluded`, `worker_outstanding`, `frame_ms` and `frame_ms_max`. `systems::render_census` computes the first group for both the shot harness and `log_render_cost`'s five-second line. **The split that matters is workload versus machine.** | Metric | Trustworthy in this container | Gate on it in CI | |---|---|---| | `draws`, `tris_*`, `tiles_occluded` | **Yes** — a property of what the client *selected*. Culling, LOD and visibility run the same code on lavapipe as on an Adreno | **Yes**, as an absolute ceiling | | mesh/image/material asset counts | Yes | Leak-shaped rather than cost-shaped | | Allocation counts (`crates/geo/src/perf_budgets.rs`) | Yes — bit-identical over three runs | **Already gated** | | `worker_outstanding` | Timing-dependent | No — report only | | `frame_ms`, `frame_ms_max` | Weak relative signal *within one run on one machine* | **No** | | `elapsed_gpu` from `RenderDiagnosticsPlugin` | **No** — CPU rasteriser time wearing a GPU label | **No.** This is theatre | Two limits are structural and documented at the fields. Triangle counts read **0** for anything uploaded `RENDER_WORLD`-only — tiles, globe, transit — because the main world no longer holds the geometry, so on the globe tier `draws` is the only column carrying meaning. And `worker_outstanding` is sampled at the settle *verdict*, not the shutter, because the harness quiesces the pool between them. `frame_ms` was clipped at both ends until 2026-08-16: it accumulated `Res