Start-up benchmark
The Benchmark page of Anvil Manager measures how long the game takes to start on your computer, without a plugin and with it, for example Bellows.
The game starts again and again, and each start quits by itself once the game is ready. Nothing
in your saves, mods or anvil/anvil.toml changes. At the end you see the result and may send an
anonymous report, copy it, or do neither.
Before you start
Section titled “Before you start”- Start
AnvilManager.exefrom the game folder. Its pages are in the sidebar, under Play EU4; in a narrow window the sidebar folds to icons. - The plugin you compare must be enabled and, if it comes from a mod, approved, with no update waiting. It must take part in the benchmark. Bellows does.
- Steam must run, and the game must not.
- Leave the computer alone while the series runs. With 5 warm starts per setup that is at least ten full starts to the main menu. The page shows how long to expect.
The Manager checks these before the series, and says what to do when one fails. You do not need administrator rights.
Run a series
Section titled “Run a series”- Open the Benchmark page.
- Under Compare, choose the plugin.
- Choose how many valid warm starts each setup needs: 3, 5 (the default) or 10. The page shows how many starts and minutes to expect.
- Click Start the series.
The Manager starts the game alternating between the two setups (without, with, with, without, …). The tab shows which start runs and every finished one. Play EU4 and the other tabs are locked meanwhile.
Stop lets the running start finish, then ends the series. Using the keyboard or mouse during a start does not discard it, but it is noted next to the start.
Read the result
Section titled “Read the result”- Warm starts: for each setup the median time, the fastest and slowest start (min–max), the number of starts and every time, with a dot per start on a shared axis.
- Difference: the median with the plugin minus the median without it, in seconds and percent. When the min–max ranges of the two setups overlap, the page says that the difference is uncertain instead of colouring it.
- Cold starts: listed one by one; a cold difference is shown only when both setups had a cold start.
- Starts that do not count, with their reasons, and a line that says what was not measured.
A start’s time runs from the creation of the game process to the end of start-up
(anvil-game.ready). That ends about 1.5 s after the Running application line in the game’s
system.log, so benchmark times are a little longer than those on the plugin pages.
Warm and cold starts
Section titled “Warm and cold starts”The first start after a reboot, or after an antivirus update, is much slower: Windows has to read the game’s files from the drive again. Such a start is cold. The Manager cannot make cold starts on demand without administrator rights, so it shows the cold starts that a series happens to contain.
It tells them apart by how long the first opening of each game file took in that start. A start in between is unclear and joins neither group. Cold starts do not count towards the target of warm starts; the labels “first start since boot” and “definitions changed” only describe a start.
Starts that do not count
Section titled “Starts that do not count”A start is replaced when the plugin was still learning (Bellows learns which files a new mod set needs on its first start), when the game crashed before it was ready, or when it ended without a record. At most 4 extra starts are added per series. The series stops when, for example, the plugin was not loaded, the game crashed twice, a start did not end by itself, Steam, the mod set or the plugin changed during the series, or too many starts did not count. The result then names the reason.
Send or copy the report
Section titled “Send or copy the report”Review the report and send… opens a preview of the report, exactly as it would be sent: your computer, your mods, the versions, the plugin’s state and fields in each start, and the JSON itself. One switch leaves out the Steam Workshop ids of your mods.
- Send uploads it once to the Anvil maintainers. Nothing is sent without this click. The receiver takes a limited number of reports per day. From Anvil 1.26, when that limit is reached the Manager says The receiver cannot take more reports today. Try again tomorrow. instead of asking you to try again later. When a send fails, the line under it gives the reason, and you can copy the report instead.
- Copy puts the same JSON on your clipboard, for example for a Bellows performance report.
What a report contains, where it goes, how long it is kept and how to have it deleted: Benchmark reports and your privacy.
The Manager keeps the last ten reports in anvil/data/anvil/benchmarks/ in the game folder;
Kept reports on the page opens them.
The full rules are in the start-up benchmark specification.