Kit Speed Lab: Repeatable Benchmarks for Kits and Games
- ..
- .metadata105 B
- README.md6.5 KB
- guides
- package.yaml763 B
- results.module
- set.module
README.md
speedLabArtsTd: Arts TD benchmarks for speedLab
Version 0.1.17.
A benchmark set for the Arts TD tower defense game (every tower and enemy drawn in its own art medium). Install it in the Arts TD world beside speedLab, press Play, then:
zero speedLab run speedLabArtsTd.set every benchmark
zero speedLab run speedLabArtsTd.set stress only those tagged stress (or one by name)
| Benchmark | Tags | Load |
|---|---|---|
| artsTd quiet | quiet still 1p | Sketchbook Meadow, no towers, no enemies |
| artsTd small | play still 1p small | 8 towers, 20 enemies |
| artsTd play | play still 1p medium | 16 towers, 80 enemies, battle and low views |
| artsTd stress | stress still 1p big | 24 towers (4 fused into hybrids), 160 enemies |
| artsTd fly | play fly 1p medium | 16 towers, 80 enemies, camera flying over the map |
| artsTd play 2p / stress 2p | 2p | as play / stress with a second player in the room |
| artsTd play tablet / stress tablet | tablet | tablet60 budget, render scale 0.75 |
| artsTd media gallery | looks big | the Gallery of Media: every medium and hybrid, a parade of 112 enemies |
The 2p benchmarks need a second player in the same room first (a sub-client in play, a second device or a friend); run them on the joining player for a guest's cost. Every battle benchmark turns Arts TD's own resolution governor off while it runs, so each run renders at its own render scale.
speedLabArtsTd.results holds the before and after numbers measured in the Arts TD speed round (desktop, and tablet settings on the desktop).
Guides
- Why is my tower defense slow? How to measure a tower defense game with this set.
- Example: making Arts TD's biggest wave cheaper with the speed lab: start to finish with the real numbers (pencil passes 13 -> 0.35 ms GPU, every medium's passes 7.2-7.6 -> 5.2-5.5 ms, browser hit particles 4.83 -> 3.36 ms).
Version history
-
0.1.17: round 16b rows (speed16): creepsKit 1.3.12 against 1.3.13 in Arts TD after repeated play/edit flips, desktop and browser twice each. One creep tick loop in every run on both versions: no speed difference claimed.
-
0.1.16: round 16 rows (speed16): a map change in Arts TD 1.0.1 against 1.0.2 (scenery props spawned 4 per frame, session checks off the every-frame path), desktop and browser twice each, measured with Arts TD's speedround16/measure.luau. Slowest session tick at a map switch -86% desktop and -81% browser, worst wall frame after it -63% / -62%, scenery dress -87% / -76%.
-
0.1.15: round 11/12 rows (helpers next11 and arts11c): spawnerKit.Enemy in the worst wave on spawnerKit 1.2.11 (Arts TD 0ea56370) against 1.2.12 (Arts TD 716f221c, browser after runs on main 532ca61c), desktop and browser twice each with the row's file path. Desktop median 2.81 / 2.49 -> 1.48 / 2.36 ms (-28%; same session with the file swapped -56% / -63%), browser 3.17 / 3.96 -> 2.17 / 2.12 ms (-40%, a fresh web client per run, towers firing). The whole frame does not follow because it is GPU bound (styleKit skObjMaskPart and scene.shadow.cull); a first fresh web run with no tower firing yet is kept as its own row and left out of the comparison.
-
0.1.14: round 9 rows (helper arts11): turretsKit.Turret in the worst wave on turretsKit 2.3.5 (Arts TD branch before-r9, which is main bd734e6a with turretsKit as it was at 32e8d2cc) against 2.3.7 (main bd734e6a), everything else equal; desktop four runs before and three after, browser two each; towers firing in every counted run (shots and firing samples written beside each run). Desktop Turret median 4.28 to 4.80 ms before, 2.94 and 3.53 ms after (-26% on the pair with the same firing load); browser shows no repeatable gain (the row swings 1.4 to 7.4 ms within one version). The speedLabTurretsKit set holds the same rows.
-
0.1.12 was published twice with different contents (an early draft on the lab's round 7 branch and a later one), so read it as withdrawn. 0.1.13 holds the corrected set: the worst wave stands all 32 towers (all eight races in the palette, free builds during the run, the game's own hook put back in teardown).
-
0.1.13: round 7 rows (arts9) for Arts TD 48a1aed -> 82f4d6f1 (published: the browser presets bug fixed by install, prefixKit 1.0.6), worst wave desktop and browser twice each, with turretsKit.Turret, spawnerKit.Enemy and SecondWind.Vitals rows and their paths; versionAfter 82f4d6f1. Also: the worst-wave build really stands 32 towers in a fresh client: every race goes on sale for the run (Arts TD sells only the races in the players' palettes) and builds are free through turretsKit's economy hook (the way towerDefenseKit 1.2.31's 32-tower test does), both put back in teardown; round 7 rows (arts8) for Arts TD 48a1aed -> 76414af7, desktop and browser twice each. Also round 7 rows for Arts TD before its kit release (published 48a1aed, top-level SecondWind 1.4.19 code with a stale 1.4.18 catalog string): worst wave Vitals and whole frame, desktop and browser twice each, profiler paths showing the top-level SecondWind ran on both; no after rows (the release 4ee0611f stands only 9 of 32 towers in the worst wave, so its runs are not comparable).
-
0.1.11: results rows for Arts TD on SecondWind 1.4.18 as its own install (published a52b71e2): worst wave desktop twice before (1.4.13) and after, Vitals medians 3.56 / 2.79 -> 0.73 / 1.21 ms; spawnerKit.Enemy after-only rows; browser runs written down as not a version A/B (enemies ran the SecondWind prefixKit pins); example guide step 8.
-
0.1.10: results rows for SecondWind 1.4.13 -> 1.4.17 (an idle Vitals sleeps) in the worst wave: desktop twice before and after, same-session sleep off and on on desktop, desktop at tablet settings and in a browser; example guide step 7.
-
0.1.9: results rows for SecondWind 1.4.11 -> 1.4.13 in the worst wave (desktop and browser, twice each) with an honest headline.
-
0.1.8: an example guide (making Arts TD's biggest wave cheaper with the speed lab), found by search.
-
0.1.7: a worst case (24 towers with 8 fused hybrids firing on 160 enemies), a five-minute memory soak, tablet twins of every benchmark and desktop tags; guide: Why is my tower defense slow?
-
0.1.6: medium benchmarks run 80 enemies and big ones 160 (was 60 and 150), so they match the spawner set's small / medium / big of 20 / 80 / 160; the benchmark version is 2, so rows taken at 60 and 150 are not mixed with new ones. The published result rows were measured at 60 enemies.
-
0.1.5: round 4 wave A/B rows and an honest headline.