Total War: WARHAMMER III

Total War: WARHAMMER III

Not enough ratings
Warhammer 3 Profiler modding tool
   
Award
Favorite
Favorited
Unfavorite
ui
Tags: mod
File Size
Posted
26.872 KB
23 Oct @ 7:29pm
1 Change Note ( view )

Subscribe to download
Warhammer 3 Profiler modding tool

Description
This mod is a in-game Lua performance profiler intended for modders and whoever wants to make their scripts more efficient. Automatic logging, finds slow scripts, listeners, end turn lag causes.

Example output:

[out] <167.9s> [PROFILER] ============= TURN 2 REPORT =============
[out] <167.9s> ================================================================
[out] <167.9s> [PROFILER] Top 20 functions (sort=total, threshold=0.001s)
[out] <167.9s> [PROFILER] Total measured time: 2.347s
[out] <167.9s> ----------------------------------------------------------------
[out] <167.9s> Function Total Avg Max Min Calls
[out] <167.9s> ----------------------------------------------------------------
[out] <167.9s> callback:intervention_manager_FactionTurnStart 0.476s 0.0015s 0.0020s 0.0010s 314 [20.3%]
[out] <167.9s> callback:AIGameStartForceSiegeAttack 0.452s 0.0078s 0.0120s 0.0050s 58 [19.3%]
[out] <167.9s> callback:AIGameStartHeroEmbed 0.405s 0.0046s 0.0140s 0.0020s 89 [17.3%]
[out] <167.9s> callback:AINearbyDiplomaticContact 0.191s 0.0034s 0.0080s 0.0010s 57 [8.1%]
[out] <167.9s> callback:GrudgeSettlementOccupied 0.132s 0.0132s 0.1190s 0.0010s 10 [5.6%]
[out] <167.9s> callback:CorruptuonRegionTurnStart 0.044s 0.0010s 0.0010s 0.0010s 44 [1.9%]
[out] <167.9s> callback:nakai_CharacterPerformsSettlementOccupationDecision 0.038s 0.0380s 0.0380s 0.0380s 1 [1.6%]
[out] <167.9s> callback:GrudgeBattleStarted 0.037s 0.0093s 0.0160s 0.0030s 4 [1.6%]