diff --git a/ASHLAR.md b/ASHLAR.md index 26690f0626..d3d4ed81a7 100644 --- a/ASHLAR.md +++ b/ASHLAR.md @@ -65,6 +65,14 @@ present. Settings and saves go to `~/.cache/ashlar/play-morrowind/`. MORROWIND_DATA="/path/to/Data Files" docker/ashlar-play.sh ``` +To record a frame-time baseline on the NVIDIA GPU without opening a window: + +```bash +docker/ashlar-bench.sh +``` + +See `docs/ashlar/BENCHMARK.md` for the method and the recorded baseline. + ## Git remotes - `origin` is `git@gitea.eom.dev:Gaming/ashlar.git`. diff --git a/docker/ashlar-bench.sh b/docker/ashlar-bench.sh new file mode 100755 index 0000000000..c27051b3a3 --- /dev/null +++ b/docker/ashlar-bench.sh @@ -0,0 +1,111 @@ +#!/usr/bin/env bash +# Records a frame-time baseline on the asset-free Game Template. +# +# The engine starts a new game with fixed video settings, the player stands at +# the template's start position, and OpenMW's built-in profiler writes every +# frame's timings for a fixed duration. The trace and a summary go to +# ~/.cache/ashlar/bench/