Kit Speed Lab: Repeatable Benchmarks for Kits and Games
README.md
speedLabGameNight: the speed lab's Game Night set
Version 0.1.6.
Repeatable speed benchmarks for card, dice and board games made with the Game Night kits (tableKit, diceKit, boardKit, cardsKit, gameNight). Install it next to the speed lab and the gameNight kit, then press Run on its card on the speed lab's board, or in play: zero speedLab run speedLabGameNight.set (add stress, worst, 2p, soak or tablet to run part of it).
- Six situations, each on desktop and at tablet settings: a quiet table (
quiet), normal play (play), a stress room with lots of cards, dice and pawns (stress), the worst case with a full card spread and a big dice throw (worst), two players (2p, measured on the player who runs it), and a five-minute soak of normal play with memory sampled (soak), which shows whether memory stays flat. - Built from the kits' own public components, around 3000, 0, 3000, so it runs in any world that installs the kits without touching that world's scene. The host spawns the pieces synced; joiners wait until they arrive.
- Measured numbers included (
speedLabGameNight.results): where Game Night's frame time goes on desktop and in the browser, and the before and after of the tableKit 1.0.13 fix. - A how-to guide: how to measure the speed of my card, dice or board game.
- An example guide: speeding up a card, dice and board game table with the speed lab, start to finish (measure, find the cost, fix, measure again).
local results = require("speedLabGameNight.results")
print(results.headline)
Version history
- 0.1.6: the measured results add speed round 16d. diceKit 1.0.12 plays dice clatter through a few kept audio players per sound instead of building a new voice for every impact: dice-sound script time on desktop falls 92 percent (11.55 to 0.88 ms per second), and one roll's 70 impact sounds in the browser fall from 76.8 to 6.1 ms. Before the change, one
audio.playcall in each browser run took 260-285 ms. Three new rows hold the before and after. The lab's gameNight install stays 0.2.4 (diceKit 1.0.11): gameNight 0.2.5 brings recorded copies of an older cardsKit into the lab whose art does not resolve, which blocks a push here. - 0.1.5: the measured results add speed round 16c. boardKit 1.0.14 plays board sounds through kept audio players instead of building a new voice for every hop (desktop board-sound script time down 82 percent, 0.87 to 0.095 ms per sound in the browser), and tableKit 1.0.15 holds the seated pose without an animation player running every frame (in the browser that player cost up to 16 ms a frame). Four new rows hold the before and after. The gameNight install is now 0.2.4 (tableKit 1.0.15, boardKit 1.0.14, diceKit 1.0.11).
- 0.1.4: the measured results add speed round 16. diceKit 1.0.11 stops the second-long hitch when Game Night's dice land: the worst single tray update in the busiest moment fell from 799 to 1003 ms to 83 to 127 ms on desktop, and from 911 ms to 4 to 10 ms in the browser. Four new rows hold the before and after. The gameNight install's diceKit is now 1.0.11.
- 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: twelve benchmarks (six situations including a five-minute memory soak, desktop and tablet), results of the tableKit 1.0.13 round, the how-to and example guides.