A fantasy sandbox with survival elements. You can play alone or with others, exploring the world and gathering resources, finding and raiding tombs, building bases... Read more
Valheim Profiler — In-Game Performance Diagnostics and Profiling Toolkit
-
Download (281.89 kB)September 18, 2026, 11:01 AMvalheim-profiler-instrument_1789718517_840094.zip
A dedicated in-game performance diagnostics and profiling toolkit engineered for Valheim mod authors and server administrators. Operating via a low-overhead IMGUI overlay, Valheim Profiler instruments critical execution hot paths to measure execution times for Harmony patches, MonoBehaviour callbacks, vanilla engine update loops, multiplayer network bottlenecks, and live log feeds. Designed specifically for targeted diagnostic sessions rather than normal gameplay playthroughs due to instrumentation overhead.
Key Profiling Modules:
- Central Launcher — A unified, compact hub interface to toggle and arrange diagnostic windows on screen.
- Patch Profiler — Evaluates Harmony Prefix, Postfix, Finalizer routines, transpiled targets, and injected call sites to isolate execution bottlenecks.
- MonoBehaviour Frame Profiler — Tracks high-frequency frame events (Update, FixedUpdate, LateUpdate, OnGUI) with hierarchical grouping by mod assembly and component.
- MonoBehaviour Call Profiler — Evaluates lifecycle event hooks including Awake, Start, OnEnable, OnDisable, and OnDestroy.
- Valheim Update Profiler — Analyzes native engine loops, encompassing batched entity iterations, MonoUpdaters scopes, and the structural WearNTear scheduler.
- Client Log Monitor — An in-game reader for LogOutput.log featuring live text filtering, error pattern detection, buffer history loading, and multi-row clipboard export.
- Server Log Monitor — Streams headless dedicated server logs directly to authenticated server administrators over Valheim RPC channels.
- Network Profiler — Measures traffic metrics across dedicated-server RPCs, routed RPC calls, ZDO synchronization packets, and low-level transport loads.
- Input Isolation Helpers — Toggleable "Prevent Input" and "Prevent Mouse" settings to inspect diagnostic tables without triggering character movement or camera jitter.
Default Hotkey Mapping:
- F7 — Suite Launcher / Main Overlay.
- F8 — Patch Profiler.
- F9 — Client Log Monitor.
- F10 — Server Log Monitor.
- F11 — Network Profiler.
- MonoBehaviour Frame Profiler, Call Profiler, and Valheim Update Profiler are launched directly via the F7 hub.
Installation Guidelines:
- Ensure BepInExPack Valheim is installed.
- Extract package contents into your plugins directory:
<Valheim_Directory>\BepInEx\plugins\. - Client-side profiling: Install exclusively on the local client.
- Dedicated server profiling: Install identical versions of the mod on both the headless dedicated server and the authenticated administrator client.
Related files:
Useful links:
