Mod loading time

Started by Tutankhamun, December 02, 2018, 04:39:36 PM

Previous topic - Next topic

Tutankhamun

It would be helpful to display (in the log at the game start) how long it took (in seconds) for the game to load a mod. This could help:
1. The Modders (they can optimize their mods further based on the data)
2. Players (They can pinpoint the mods that are causing slow game starts)

AileTheAlien


Kiame

It's already in game. Go to options and enable "Verbose Logging". Close the game and restart it.

In the logs one of the messages will read something like

--- Thread 2 ---
8369ms LoadAllPlayData

Select that log and scroll down in it to see all the mods

- - 1ms Initializing [Core|Core]
- - 0ms Initializing [InGameDefEditor|[KV] In-Game Definition Editor - 1.0]
- - 0ms Initializing [ModSyncRW|ModSync RW - 1.0]
- - 0ms Initializing [InfiniteStorage|[KV] Infinite Storage - 1.0]
- - 0ms Initializing [ChangeDresser|[KV] Change Dresser - 1.0]
- - 0ms Initializing [WeaponStorage|[KV] Weapon Storage - 1.0]
- - 0ms Initializing [ConsolidatedTraits|[KV] Consolidated Traits - 1.0]