Kit Speed Lab: Repeatable Benchmarks for Kits and Games
README.md
speedLabTinkerYard
Version 0.1.3. The Kit Speed Lab's benchmark set for Tinker Yard, the physics sandbox built on physicsSandboxKit, weldKit and physicsPropsKit (kit world 8f18c4b8-9e37-4a64-94d2-8ea0d0448a79).
It measures how fast a physics sandbox runs as it fills up: a quiet yard, normal play, a stress pile of 250 props ("too many props lag"), the worst case (a glued block of 96 crates with about 212 welds, collapsing under a 2 t weight: "welded builds slow"), two players, and a five-minute soak of normal play with memory sampled, which shows whether memory stays flat. Each runs on desktop settings and at tablet settings. Everything is built through the kit's public API, so the set runs in any world that installs physicsSandboxKit.
speedLabTinkerYard.set: the benchmark definitions, registered withLab.register.speedLabTinkerYard.results: the before and after numbers of weldKit 1.1.2 (joint markers skip their redraw while nothing they draw from has changed).- Guide: How to measure the speed of my physics sandbox.
- Example guide: Example: speeding up welded builds in a physics sandbox with the speed lab, start to finish (measure, find the cost, fix, measure again).
Run the whole set from the lab's board, or in play: zero speedLab run speedLabTinkerYard.set (stress, worst, 2p, soak, tablet pick a part).
Version history
0.1.3
- the guides are published as guide assets (0.1.2 still recorded the guide folders without their own entry, so library search did not list them).
0.1.2
- a still benchmark (two fixed views of normal play) and a camera fly-through, desktop and tablet; every one-player benchmark tagged 1p; the guides are published as guide assets (0.1.1 shipped them as loose files, so library search did not find them).
0.1.1
- each guide carries a one-line description and plain-words search tags in its .metadata, so a search such as 'how to measure the speed of my physics sandbox game' finds it (0.1.0 shipped them empty). No benchmark changed.
0.1.0
- First set: quiet, play, stress, worst, 2p and a five-minute memory soak, each for desktop and tablet; results for weldKit 1.1.1 against 1.1.2; the how-to and example guides.