Log inGet started
World

Kit Speed Lab: Repeatable Benchmarks for Kits and Games

README.md

speedLabFinalRound

Version 0.1.5. The Kit Speed Lab's benchmark set for Final Round, the 1v1 fighting game kit (versusKit 1.1.10 on comboKit, announcerKit and frameCamKit; kit world 52de2af7-b0b9-479b-95a0-fb56f7bd5148). It measures how fast a fighting game made with versusKit really runs, the same way every time, with benchKit: frame time, CPU and graphics card time, scripts, memory and GPU memory.

Install it next to speedLab in any world that installs versusKit. Press Run on its card on the speed lab's board, or in play:

zero speedLab run speedLabFinalRound.set
zero speedLab run speedLabFinalRound.set worst
zero speedLab run speedLabFinalRound.set soak

Benchmarks

Each one is on desktop (desktop tag, budget desktop60, render scale 1, the HUD look it names) and at tablet settings (tablet tag, budget tablet60, render scale 0.75 and the minimal HUD look, versusKit's own advice for small screens: "desktop at tablet settings").

idwhat it measures
finalRound-quietthe quiet stage: the classic stage, two fighters standing in guard, the arcade HUD up (the floor)
finalRound-playa normal match: one fight, both training bots playing their strings (hits, blocks, hitstop, hit effects)
finalRound-stresslots of hit effects: four fights side by side on wide stages, eight bots, the always-animating hologram HUD
finalRound-worstthe worst case: six fights in steel cages, every fighter throwing its super every 3 s on top of its strings
finalRound-2pthe normal match with a second player in the room; it measures on the player who runs it
finalRound-soakfive minutes of the normal match with memory sampled every 100 ms: shows whether memory stays flat

Every benchmark is built from the kits' public APIs: versusKit's stages (Versus.stages.build) and its HUD drawn the way the Versus component draws it in 1.1.10 (Versus.hud.render, resent only when Versus.hud.signature changes or the look animates, else twice a second), and comboKit's fighters on its training bot (CK.attach, control = "bot", refill = true), with supers driven through CK.framesFor and CK.drive. Everything stands around (3000, 0, 3000), away from a scene's own content. The host spawns it synced; a joiner waits in ready. The set does not run the select screen, the splash or MatchFlow's rounds (those are moments, not a steady cost); the HUD faces are off (coloured initials), so a face costs nothing here (versusKit's README puts a live face at about 2 ms a frame).

results.module holds the before and after numbers of versusKit 1.1.10. The guides:

  • How to measure the speed of my fighting game: the method in plain words ("fighter lags on hits", "hit effects slow on tablet").
  • Example: speeding up a fighting game's HUD with the speed lab: start to finish, measure, find the cost, fix, measure again.

Version history

  • 0.1.5: round 7 results: two five-minute browser soaks (web sub-client, six matches each, memory every 10 s) with the teardown comparison after every match, and the recipe for it in the how-to guide. The round 6 browser row now says it was played in the Final Round world.
  • 0.1.4: results rows for the five-minute memory soak in a browser (round 6, PASS) and the round 4 desktop soak; headline names the soak verdict.
  • 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 soak, each on desktop and at tablet settings; results of versusKit 1.1.9 against 1.1.10.