Kit Speed Lab: Repeatable Benchmarks for Kits and Games
- ..
- .metadata122 B
- README.md2.9 KB
- guides
- package.yaml605 B
- results.module
- set.module
README.md
speedLabTurretsKit: turretsKit benchmarks for speedLab
Version 0.1.0.
The speedLab benchmark set for turretsKit (turrets and towers for tower defense, base defense and sentry-gun games). Every benchmark builds a stand-alone turret field from turretsKit's, spawnerKit's and SecondWind's public APIs, far from the scene's own content, so the set runs in any world that installs turretsKit. Install it beside speedLab, press Play, then:
zero speedLab run speedLabTurretsKit.set every benchmark
zero speedLab run speedLabTurretsKit.set worst 32 turrets firing on 160 enemies
zero speedLab run speedLabTurretsKit.set tablet the same at tablet settings (render scale 0.75)
| Benchmark | Tags | Load |
|---|---|---|
| turrets small | play still fly 1p small | 8 turrets, 20 enemies |
| turrets medium | play still fly 1p medium | 16 turrets, 80 enemies |
| turrets stress | stress still fly 1p big | 24 turrets, 160 enemies |
| turrets worst | worst stress still fly 1p big | 32 turrets, 160 enemies |
| ... tablet | tablet | the same at the tablet60 budget, render scale 0.75 |
The field: a looping road 44 m by 20 m, enemies (grunt, runner, brute) of a million health each kept on it, and turrets of ten attack types (machine gun, cannon, laser, tesla, frost, missile, sniper, flamethrower, poison, mortar) with every targeting mode in two rows beside it, so the turrets fire for the whole run without clearing the road. Each benchmark is seen from a low view along the road, a view over the field and an orbit.
Read the turretsKit.Turret row of zero profiler scripts beside the lab's rows: it is every Turret instance summed, and in a big wave most of it is the shared target list (turretsKit.targets), which one turret refreshes every 0.1 s for all of them.
speedLabTurretsKit.results holds the measured numbers of the turretsKit speed round: round 9 measured turretsKit.Turret in Arts TD's worst wave (the speedLabArtsTd set's "artsTd worst": 24 towers standing after 8 fusions, all eight races, 160 enemies on the road, towers firing) on turretsKit 2.3.5 and 2.3.7.
Guides
- How to measure what turrets and towers cost in my game: the method with this set and with a game's own worst wave.
Dependencies
speedLab and turretsKit (which brings spawnerKit and SecondWind). The set requires turretsKit.api, spawnerKit.api and SecondWind.api by name, so it measures the turretsKit the world holds.
Version history
- 0.1.0: first release. Seven turret field benchmarks (quiet, small, medium, stress, worst, two players, a five-minute memory soak), each with a desktop-at-tablet-settings twin. The stand-alone field is not measured yet: its first rows come in the next patch; results: round 9 (helper arts11) turretsKit.Turret before (2.3.5) and after (2.3.7) in Arts TD's worst wave, desktop and browser.