Aircada Engine Telemetry & Performance Benchmarking Specification
This specification is the authoritative ground truth for all performance, memory, lifecycle, and network telemetry captured across the Aircada 3D Engine. Every metric collected is mathematically rigorous, 100% verified against native browser and GPU hardware APIs, and formatted for transparent enterprise auditing.
Standardized 3-Phase Benchmark Test Methodology Protocol
To guarantee maximum technical rigor, reproducibility, and transparency across enterprise case studies, all Aircada configurator telemetry is captured using a standardized three-phase testing protocol:
- Startup & Lifecycle Phase ($t = 0$ to TTI): Initiated continuously from the browser's initial navigation timestamp (
performance.timeOrigin). Measures un-skewed cold asset downloads, WebGPU WGSL pipeline and shader compilation, scene graph hydration, and Time to Interactive (TTI). TTI is achieved when all geometries, materials, camera rigs, and UI interaction listeners reachRUNTIME_READY.
- Active Interaction Stress Test Phase (Exact 10-Second Benchmark Run / 600 Frames): Triggered once the configurator reaches TTI. A high-resolution timer (
performance.now()) records individual frame deltas and GPU draw calls across an active 10-second window (~600 frames at 60 FPS):
- Step 1 (0s – 3s): Viewport Coverage: Continuous 360° rotational camera orbit across the entire 3D model.
- Step 2 (3s – 7s): State & Shader Stress: Rapid switching across 3 distinct product materials/variants, triggering dynamic texture swaps, procedural TSL node evaluations, and Shopify cart state serialization.
- Step 3 (7s – 10s): Texture & LOD Inspection: Deep camera zoom and pan over surface finishes, 3D laser engravings, and decal stickers to evaluate GPU mipmapping and high-resolution texture memory LOD.
- Hardware & Environmental Context Logging: Auto-detects and logs client OS (
Windows 11,Apple iOS,macOS), browser engine (Google Chrome,Apple Safari), unmasked GPU hardware adapter (WEBGL_debug_renderer_info/ WebGPU device adapter), Graphics Backend (WebGPU WGSL NativevsWebGL2), Viewport resolution, physical screen resolution, Device Pixel Ratio (DPR), CPU concurrency cores, and device memory.
1. Startup & Lifecycle Milestones (DevLoadingStats)
All startup milestones are measured as millisecond deltas from browser navigationStart ($t = 0$):
- Cold Load Time (
coldLoadTime): Total wall-clock elapsed time from initial navigation request to window load completion (PerformanceNavigationTiming.loadEventEnd - PerformanceNavigationTiming.startTime).
- Time to First Byte (
timeToFirstByte/ TTFB): Duration from navigation start until the first byte of HTML is received (PerformanceNavigationTiming.responseStart - PerformanceNavigationTiming.requestStart).
- DOM Content Loaded (
domContentLoaded/ DCL): Elapsed time until the initial HTML document has been completely parsed (PerformanceNavigationTiming.domContentLoadedEventEnd - PerformanceNavigationTiming.startTime).
- First Contentful Paint (
firstContentfulPaint/ FCP): Time until the browser renders the first piece of DOM/text/canvas content (captured viaPerformanceObserver({ type: 'paint' })entry name'first-contentful-paint').
- Largest Contentful Paint (
largestContentfulPaint/ LCP): Core Web Vital measuring when the largest eligible visual content element finishes rendering in the viewport (PerformanceObserver({ type: 'largest-contentful-paint' })). Target: $< 2.5\text{s}$ (Good).
- Interaction to Next Paint (
interactionToNextPaint/ INP): Core Web Vital measuring user interface responsiveness across qualifying clicks/taps (PerformanceObserver({ type: 'event', durationThreshold: 16 })). Target: $< 200\text{ms}$ (Good).
- Cumulative Layout Shift (
cumulativeLayoutShift/ CLS): Score measuring unexpected visual layout shifts during page loading (sum of layout shift scores fromPerformanceObserver({ type: 'layout-shift' })). Target: $0.0$.
- Time to First 3D Render (
timeToFirst3DRender/ TTFR): Elapsed time from $t = 0$ to the instant the first WebGPU frame is presented, recorded at the conclusion of the firstThreeRenderingManager.render()frame swap.
- Time to Interactive (
timeToInteractive/ TTI): Elapsed time from $t = 0$ until all 3D assets, textures, materials, and UI controls are fully hydrated and actively listening for user input (LoadingPhaseName.RUNTIME_READY).
- Shader Compilation Time (
shaderCompileTime): Total wall-clock time spent compiling WebGPU WGSL compute/render pipelines (elapsed ms betweenLoadingPhaseName.COMPILEandPOST_COMPILE).
2. Frame Timing, Smoothness & Jank (DevFrameTimingStats)
Frame timing is measured via high-resolution performance.now() timer across a rolling ring buffer of up to 600 frames (~10 seconds at 60 FPS) and dedicated benchmark sessions:
- Current FPS (
fps): Instantaneous frame rate over the last sampling interval (frameCount / (samplingIntervalMs / 1000)).
- Average FPS (
avgFps): Rolling harmonic mean frame rate across all tracked frames in the active buffer ($1000 / (\sum \text{frameTimes} / N)$).
- Median Frame Time (
medianFrameTime/ P50): 50th percentile frame duration in milliseconds. 50% of frames rendered faster than this threshold (sortedBuffer[floor(N * 0.50)]). Baseline for 60 FPS is $16.67\text{ms}$.
- P95 Frame Time (
p95FrameTime): 95th percentile frame duration. 95% of frames rendered within this latency threshold (sortedBuffer[floor(N * 0.95)]). Target: $< 20.0\text{ms}$.
- P99 Frame Time (
p99FrameTime): 99th percentile frame duration, capturing worst-case micro-stutter during heavy interactions (sortedBuffer[floor(N * 0.99)]). Target: $< 33.3\text{ms}$.
- Jank Rate (
jankRate): Percentage of frames that exceeded $20.0\text{ms}$ (dropping below 50 FPS): $(\text{count}_{>20\text{ms}} / N) \times 100$. Target: $< 5\%$.
- Severe Jank Rate (
severeJankRate): Percentage of frames that exceeded $33.33\text{ms}$ (dropping below 30 FPS): $(\text{count}_{>33.33\text{ms}} / N) \times 100$. Target: $0\%$.
3. GPU Render Calls & Geometry (DevRenderStats)
- Active Draw Calls (
drawCalls/activeDrawCalls): Number of individual GPU command buffer draw passes dispatched per frame, measured as the delta inrenderer.info.render.callsper rendered frame (diff $> 0$). Idle render pauses retain the active 3D model draw calls. Target: $< 10$ draw calls per frame for complete configurator assemblies via unified PBR shaders and geometry batching.
- Triangles (
triangles/activeTriangles): Total active 3D geometric polygon count rendered in the primary scene (renderer.info.render.triangles). Retains peak 3D model geometry when the scene goes idle.
4. GPU Memory Footprint (DevMemoryStats)
Memory stats represent client-calculated buffer weights tracked directly by Three.js WebGPURenderer (does not represent physical hardware VRAM allocation):
- Tracked GPU Buffer Memory (
total): Total memory allocated across textures, vertex/index geometry buffers, and shader PSOs (renderer.info.memory.total).
- Textures Buffer Memory (
texturesSize): Decoded GPU memory consumed by all active uncompressed texture buffers ($\sum (\text{width} \times \text{height} \times \text{channels} \times \text{bytesPerPixel})$).
- Geometries Buffer Memory (
geometriesSize): GPU memory consumed by vertex attribute buffers (position, normal, UV, tangent) and index buffers (renderer.info.memory.geometriesSize).
- Active Programs (
programs/programsSize): Count and memory weight of compiled WebGPU WGSL compute and render pipeline state objects.
- Render Targets (
renderTargets): Count of offscreen framebuffer textures (shadow maps, bloom targets, post-process passes).
5. Network Asset Weights & Wire Sizes (DevNetworkStats)
- Core Engine Bundle (
engineBundleBytes): Production gzipped wire size ofbundle.js.gzserved from Azure CDN edge cache (1,190,009 bytes / 1.19 MB gzip / 4.68 MB uncompressed JS).
- JavaScript Wire Total (
scriptsBytes): Sum of all JavaScript and WASM files downloaded over the network.
- Estimated Total Wire Size (
estimatedWireTransferBytes): Comprehensive reconstructed network transfer size accounting for CORS-masked 3D assets, combining reported script bytes with decoded GPU geometry (DRACO compressed ~30%) and textures (WebP compressed ~22%) to reflect true initial page transfer.
- HTTP Request Count (
requestCount): Total HTTP resource network requests captured viaPerformanceResourceTimingwith expanded buffer limit (2,000 entries).
6. Stability & Reliability (DevStabilityStats)
- Context Loss Count (
contextLossCount): Count of WebGL context lost or WebGPU device loss events (target: $0$).
- Runtime Error Count (
errorCount): Count of uncaught runtime errors or unhandled promise rejections (target: $0$).
- 100% Verifiable Runtime Telemetry: Captured live via in-engine performance monitor (?devstats=true), not synthetic lab simulations.
- Standardized 3-Phase Benchmark Protocol: 0–3s Orbit, 3–7s Variant Stress, 7–10s Texture LOD over 600 frames at 60 FPS.
- Google Core Web Vitals Alignment: LCP (<2.5s), INP (<200ms), and CLS (0.0) measured alongside 3D-specific TTFR and TTI.
- GPU Hardware Provenance: Unmasked GPU adapter, WebGPU native backend, DPR, and CPU concurrency logged with every capture.
| Telemetry Metric | Measurement API / Formula | Production Target | Significance |
|---|---|---|---|
| Largest Contentful Paint (LCP) | PerformanceObserver(largest-contentful-paint) | < 2.5s (Good) | Core Web Vital for SEO & conversion |
| Interaction to Next Paint (INP) | PerformanceObserver(event, threshold: 16ms) | < 200ms (Good) | UI click & customizer responsiveness |
| Cumulative Layout Shift (CLS) | PerformanceObserver(layout-shift) | < 0.1 (Target: 0.0) | Visual stability without UI jumping |
| Median Frame Time (P50) | sortedBuffer[floor(N * 0.50)] | 16.67ms (60 FPS) | Steady-state rendering latency baseline |
| P95 Frame Time | sortedBuffer[floor(N * 0.95)] | < 20.0ms | Responsiveness under multi-part rotation |
| P99 Frame Time | sortedBuffer[floor(N * 0.99)] | < 33.3ms | Worst-case 1% micro-stutter tolerance |
| Active Draw Calls / Frame | renderer.info.render.calls | < 10 passes | Material batching & shader discipline |
| Time to First 3D Render (TTFR) | ThreeRenderingManager.render() frame swap | < 1.5s | First presented 3D frame in viewport |
| Time to Interactive (TTI) | LoadingPhaseName.RUNTIME_READY | < 1.5s | Full customizer responsiveness milestone |
| WebGPU Context Losses | device.lost event listener | 0 losses | Zero 3D viewport crash guarantee |
| Runtime Errors | window.onerror listener | 0 errors | Zero-defect runtime execution |