Environment Metadata Capture
Every run automatically records the hardware, operating system, browser, browser version, WarGrid version, harness version and power/throttling hints. Benchmark numbers are meaningless without their context, and this metadata travels with all exported results.
Planned. This page shows the specification from issue #208. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Metadata panel populated from the current visitor's browser before any run.
Expected behavior
The panel lists detected values with a source label (detected, estimated, user-entered, unavailable). Running a benchmark stamps the current metadata onto the result; editing overrides updates subsequent runs only.
Planned API surface
collectEnvironment()EnvironmentInforunResult.environmentenvironmentOverridesAcceptance criteria
- Captured fields include: browser name, browser version, user agent, OS, logical core count, device memory hint when available, device pixel ratio, viewport size, WarGrid version, harness version, timestamp in UTC (pending)
- Each field carries a provenance value of detected, estimated, user-entered or unavailable (pending)
- Unavailable APIs never throw; the field is set to 'unavailable' (pending)
- No metadata is transmitted anywhere unless the user explicitly exports or submits it (pending)
- Overrides are clearly marked as user-entered in exports (pending)