Log inGet started
World

Kit Speed Lab: Repeatable Benchmarks for Kits and Games

README.md

speedLabCarForge.set

Registers the Car Forge benchmark set with the Kit Speed Lab (Lab.register, id carForge). Twenty-four benchKit definitions, each scenario a desktop variant (tag desktop, budget desktop60, render scale 1), a tablet variant (tag tablet, budget tablet60, render scale 0.75: desktop at tablet settings, never a tablet number) and a browser variant (.browser, tag browser, budget web60, render scale 1, the browser fleet from carForge.fleet: 60 cars, 3 AI drivers; meant to be run in a browser client, a web sub-client or the published web player):

  • carForge.quiet: the empty benchmark street, no cars.
  • carForge.play: the device's traffic fleet as the whole load (60 cars, 4 AI drivers on a desktop; 30 and 2 on a tablet), the same load as carForge.fleetBench.
  • carForge.stress: the fleet beside a 100-car parked street (carForge.streetBench).
  • carForge.worst: the heaviest moment, maximum traffic: the 100-car street with twice the device's fleet.
  • carForge.still: the stress street from three fixed views.
  • carForge.fly: the stress street with the camera flying down the street, over the AI loop and out to the far-traffic ring.
  • carForge.2p: the fleet with a second player in the room; it measures on the player who runs it.
  • carForge.soak: five minutes of the stress street, memory sampled every 100 ms.

Every definition builds and tears down through Car Forge's own carForge.streetBench (build, ready, teardown) with its own knobs (parked, driving, far, shapes, hide), so it needs the carForge kit installed and nothing else from the Car Forge world. hide sets the Car Forge showcase's own groups aside while measuring when they are there; in other worlds nothing is hidden.