Companion
Types
Demo/debug-only: breakdown of one parseVectorTile call. decodeAllMs is the initial whole-tile com.xweather.mapsgl.mvt.MvtReader.decode used only to discover layer names; convertMs is the per-layer decode-plus-Feature-conversion loop (usually the expensive part for point-heavy layers); clusterMs is only nonzero when point de-duplication (>3000 point features) ran.
Demo/debug-only: one completed requestTile call's timing. networkMs covers acquiring timeSeriesDownloadSemaphore (if applicable) plus the HTTP fetch itself; parseMs covers acquiring vectorParseSemaphore plus the actual MVT decode.
Properties
Functions
Demo/debug-only: free MVT-decode slots (out of DEBUG_PARSE_SEMAPHORE_CAPACITY), shared by every VectorTileSource instance. 0 means decode concurrency is currently the bottleneck — tiles are downloaded but queued waiting for a free parse slot.
Demo/debug-only: current bytes used / configured budget bytes for every native mesh/tile cache namespace (mvt/fillmesh/outlinemesh/circlemesh), plus a "total" row summing all four — see com.xweather.mapsgl.NativeCacheBudget. Bridged here (a public companion function) because com.xweather.mapsgl.NativeCacheBudget itself is internal and not reachable from a consuming app module. Returns an empty list before the first com.xweather.mapsgl.map.MapController has configured the budget.
Demo/debug-only: the most recent (up to DEBUG_RECENT_TIMINGS_MAX) parse breakdowns across all vector sources, oldest first.
Demo/debug-only: the most recent (up to DEBUG_RECENT_TIMINGS_MAX) request timings across all vector sources, oldest first.