Skip to content

Blueprint 0.20.0-alpha.6 (test build): faster on a 386

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:54
· 6 commits to main since this release

A test build of the speed work on the perf/386 branch. Unzip, and run BLUEPRT in the folder, in DOSBox-X or on a real PC with a 386 or better and an EGA or VGA card. BLUEPRT /BENCH > BENCH.TXT times the ten scenes, with each scene's worst frame broken down.

Faster on a 386 (0.20.0-alpha.1 to alpha.6)

  • A tile that breaks no longer redraws a screenful of background: only the part round it. That was a 40-56 ms hitch.
  • Fire, gas, creaking and belts are looked for only where they can be, not on every tile on the screen: 3-4.5 ms off every frame.
  • The notes, a little cheaper: dimension text kept, numbers written without sprintf, the aim line asking about the walker only near it.
  • The check for what's still held up after something breaks is leaner, with the same results.
  • Particles are cheaper to move and to draw.
  • Choosing which cells to send is 22-30% cheaper: unmarked cells are passed four at a time, and the old marks are carried over a row at a time when the camera moves.

In DOSBox-X at 386 speed, against 0.19.0: level 1's start from 32.1 ms a frame to 25.5, the office from 33.5 to 26.9, the walker from 53.8 to 45.3, the jetpack from 40.1 to 33.3; the worst frame in the office from 86 ms to 67, gas burning from 162 to 133. The game plays exactly as before.

Fixed

  • Burning wood now shows itself charring.

All the details: CHANGELOG.md.