Log inGet started
World

Kit Speed Lab: Repeatable Benchmarks for Kits and Games

README.md

speedLabCloudburst: speed benchmarks for the Cloudburst weather kit

Version 0.1.8.

The speedLab benchmark set for Cloudburst (rain, snow, storms and fog). Install it beside speedLab and Cloudburst, enter play, and measure the whole range with one command:

zero speedLab run speedLabCloudburst.set desktop    every benchmark at desktop settings
zero speedLab run speedLabCloudburst.set tablet     the same at tablet settings (render scale 0.75)
zero speedLab run speedLabCloudburst.set 2p         the two-player runs (run them on the joining player too)
zero speedLab run speedLabCloudburst.set "cloudburst 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, Cloudburst quality medium). On a desktop the tablet rows are "desktop at tablet settings", not a tablet.

BenchmarkTagsWhat it shows
cloudburst quietquiet, still, 1pa clear sky, the weather kit running with nothing falling
cloudburst play 1pplay, 1psteady rain, a walk at eye height
cloudburst play 2pplay, 2pthe same with a second player in the room (the weather is synced)
cloudburst stressstress, fly, 1pa night thunderstorm over a town at ultra quality, flown through
cloudburst stillstill, 1psteady rain from two fixed views
cloudburst flyfly, 1psteady rain, a camera flying low and high
cloudburst snowlook, snow, still, 1palpine snow from the two views
cloudburst foglook, fog, still, 1pa sea fog bank from the two views
cloudburst pixel rainlook, pixel, still, 1pstylised pixel rain from the two views

The weather is one synced entity carrying Cloudburst's Cloudburst component, spawned by the host at (3000, 0, 3000), far from the scene, and removed after. A joining player's run waits for it to arrive. Weather is world-wide, so measure in a world whose own scene has no weather of its own.

Results

speedLabCloudburst.results holds the numbers of the Cloudburst 1.6.3 release (fog sent to the engine only when it moves), measured in the Cloudburst world before this set existed: the weather script 3.0 ms to 1.1 to 2.0 ms a frame, old and new alternated. Re-run zero speedLab run speedLabCloudburst.set desktop on 1.6.2 and 1.6.3 to get the same rows for every benchmark. No real tablet has been measured yet.

Guides

  • How to measure what rain, snow and storms cost my game: the method with this set.
  • Example: making a rainstorm cheaper with the speed lab: start to finish with the real numbers (Cloudburst 1.6.3: weather script 3.0 -> 1.1-2.0 ms a frame by sending fog only when it moves).

Version history

  • 0.1.8: names Cloudburst 1.6.11, whose rain and thunder sounds are dependencies on the original clips in their own worlds (light rain 51cdb7cb from 6b3d163f, heavy rain 2f4a40c8 from 72fc9f0a, roof rain 475cf171 and close thunder ae746446 from 4e897ccd, mid and far thunder 7879550e and a92d50c6 from 0fc7535e), installed under deps/<their world>/, so a fresh copy of a world with the set gets the weather and its sounds from where they were made. 1.6.10 was the first release on those dependencies; 1.6.11 puts four of them in their worlds' own folders. The lab never committed 1.6.9.

  • 0.1.7: names Cloudburst 1.6.9, whose rain and thunder sounds are its own assets, so a fresh copy of a world with the set loads Cloudburst's sound and weather.

  • 0.1.6: names Cloudburst by its package name and world (fd142e06) instead of a file path, so the set installs the same way in any world.

  • 0.1.5: the set names Cloudburst 1.6.8, the lab's fresh install (1.6.5 to 1.6.7 made the weather cheaper per frame; 1.6.8 has the same weather as 1.6.7). Earlier rows were measured on Cloudburst 1.6.4 and say so; benchmarks unchanged.

  • 0.1.4: the example guide names the set version it belongs to (it said 0.1.2); numbers and steps unchanged.

  • 0.1.3: an example guide (making a rainstorm cheaper with the speed lab), found by search.

  • 0.1.2: the same content as 0.1.1, released under a new number because a refused push claimed 0.1.1 with an earlier descriptor; the Cloudburst dependency names the lab's own install (Cloudburst 1.6.4).

  • 0.1.1: a worst case (night thunderstorm at ultra quality and density 2, still views inside it) and a five-minute memory soak, with tablet twins; guide: How to measure what rain, snow and storms cost my game.

  • 0.1.0: the first set: quiet, play (1p and 2p), stress, still, fly, snow, fog and pixel rain, at desktop and tablet settings, and the Cloudburst 1.6.3 results.