Kit Speed Lab: Repeatable Benchmarks for Kits and Games
- ..
- .metadata112 B
- README.md6.3 KB
- guides
- package.yaml899 B
- results.module
- set.module
README.md
speedLabTidewater: speed benchmarks for the Tidewater water kit
Version 0.1.3.
The speedLab benchmark set for Tidewater (oceans, lakes, rivers, waterfalls and splashes). Install it beside speedLab and Tidewater, enter play, and measure the whole range with one command:
zero speedLab run speedLabTidewater.set desktop every benchmark at desktop settings
zero speedLab run speedLabTidewater.set tablet the same at tablet settings (render scale 0.75)
zero speedLab run speedLabTidewater.set look the seven looks only
zero speedLab run speedLabTidewater.set "tidewater stress" one benchmark by name
The benchmarks
Each one exists twice: at desktop settings (tag desktop, budget desktop60, render scale 1) and
at the tablet60 budget's settings (tag tablet, render scale 0.75). On a desktop the tablet rows
are "tablet settings on desktop", not a tablet.
| Benchmark | Tags | What it shows |
|---|---|---|
| tidewater quiet | quiet, still, 1p | one still lake, nothing moving |
| tidewater play 1p | play, 1p | sea, lake, river, waterfall and pool, 12 floating crates, a walk at eye height |
| tidewater play 2p | play, 2p | the same, run with a second player in the room (run it on the joining player for a guest's cost) |
| tidewater stress | stress, fly, 1p | a gale sea with 40 floaters plus every other kind of water at once, flown over |
| tidewater still | still, 1p | the play waters from two fixed views |
| tidewater fly | fly, 1p | a fly-through over the sea, lake, river and falls |
| tidewater look realistic / tropical / cartoon / painted ink / low-poly / pixel art / toy plastic | look, the look, still, 1p | the play waters in each look, the same two views |
| tidewater showcase | showcase, play, 1p | the Tidewater showcase scene itself (needs that scene loaded and in play) |
| tidewater showcase quiet bay | showcase, quiet, still, 1p | the showcase's calm bay from two fixed views, the 29 floaters riding |
| tidewater showcase play | showcase, play, 1p | normal play: a walk along the beach and pier past the floaters, then the pier views |
| tidewater showcase stress | showcase, stress, 1p | the showcase with 40 more floating crates in the bay (69 floaters), flown over |
| tidewater showcase worst | showcase, worst, stress, 1p | a gale sea under the showcase and 60 more crates (89 floaters), flown over; the calm sea comes back after |
| tidewater showcase 2p | showcase, play, 2p | the bay views with a second player in the room (start a second client in the same play session) |
| tidewater showcase soak | showcase, soak | five minutes of the showcase with memory sampled every 100 ms: whether script and GPU memory stay flat |
Every benchmark but the showcase builds its water through Tidewater's own API (Water.create
and the Buoyancy component) at (3000, 0, 3000), far from the scene, and removes it after, so
the set runs in any world that has Tidewater, installed as a package or as the @tidewater
library. The showcase benchmark names @tidewater::scenes.showcase: load that scene, enter
play, wait for the island and forest to finish building, then run tidewater showcase.
Results
speedLabTidewater.results holds the published before and after rows of each Tidewater speed
release (kit versions, device and settings, date, whether each pass settled, and per benchmark
p50, p95, cpu, gpu, script ms, memory and GPU memory), which the speed lab showcase board shows.
The showcase part
Seven benchmarks, each at desktop and tablet settings, run in the Tidewater showcase scene itself
(@tidewater::scenes.showcase): load that scene, enter play, wait for the island and forest to
finish building, then
zero speedLab run speedLabTidewater.set showcase all seven
zero speedLab run speedLabTidewater.set "tidewater showcase quiet bay"
zero speedLab run speedLabTidewater.set soak the five-minute memory soak
Every showcase scenario but the soak measures each view twice in the same run: once with the
sea's physics band as Tidewater ships it, and once with every wave of the sea handed to physics,
as Tidewater 1.2.18 and earlier did (segments ending ", 1.2.18 band"; toggle fullBand, which
calls ocean:configure({ physicsMinWave = 0 })). So one run shows what the 1.2.19 saving is
worth on your machine. On a Tidewater older than 1.2.19 both segments measure the same band.
The stress and worst scenarios add their crates through the run's own spawner, which removes
them after; the worst scenario puts the showcase's own sea state back.
Where the showcase frame goes (2026-11-29, desktop and web): it is CPU bound. The engine's
physics step is the largest part, and most of it is the water reads of the 29 floating bodies
(fluid_forces and water_watch, each floater reading every carried wave at each hull corner
on every step), then the solver; then the scripts' own update calls, effect plays and the
collector. Tidewater's own scripts are a few per cent of the samples. The guides
how-to-measure-the-speed-of-my-water-or-ocean-scene and
example-speeding-up-the-tidewater-showcase-with-the-lab walk through it.
Version history
- 0.1.3: the set finds Tidewater through the
@tidewaterlibrary first; a plaintidewaterpackage is probed by a name built at run time. In the lab the plain name had started to land on an engine-fetched copy of an older Tidewater release (floodKit pins it), so the set measured old code and the lab could not publish.
0.1.2
- The showcase part: six scenarios in the Tidewater showcase scene (quiet bay, normal play, stress, the worst case, two players, a five-minute memory soak), each at desktop and tablet settings, each measuring the 1.2.19 and the 1.2.18 sea band side by side.
- Results of Tidewater 1.2.19 (the sea's physics band leaves waves under 3 mm to the drawn
surface): the floaters' water reads fell 9 to 19% in settled native pairs and 27 and 33% on
the web. 1.2.18's foam rows are kept under
history. - A how-to guide (measuring the speed of a water or ocean scene) and an example guide (speeding up the Tidewater showcase with the lab, start to finish).
0.1.1
- The showcase benchmark and the results of Tidewater 1.2.18 (foam patterns refreshed one per frame).