How to profile performance - Valheim-Modding/Wiki GitHub Wiki

There are a few .NET profilers you can use. This guide will focus on using dotTrace by JetBrains.

  1. First follow this guide on setting up a debug version of valheim: https://github.com/Valheim-Modding/Wiki/wiki/Debugging-Plugins-via-IDE

  2. Then follow this guide on how to setup a Unity configuration in dotTrace.

  3. Inside your dotTrace configuration, specify the path to your mods PDB files (symbol files). If these don't exist you must follow steps in this guide to create them.