Skip to content

FPS counter plugin for BepInEx - measure frame time and plugin performance

License

Notifications You must be signed in to change notification settings

ManlyMarco/FPSCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FPS counter and performance statistics for BepInEx

A BepInEx plugin that measures many performance statistics of Unity engine games. It can be used to help determine causes of performance drops and other issues. Here are some of the features:

  • Accurately measures true ms spent per frame (not calculated from FPS)
  • Measures time spent in each of the steps Unity takes in order to render a frame (e.g. how long all Update methods took to run collectively)
  • Measures time spent in each of the installed BepInEx plugins (easy to see performance hogs, only counts code running in Update methods)
  • Measures memory stats, including amount of heap memory used by the GC and GC collection counts (if supported)

In-game preview

How to use

  1. Install the latest version of BepInEx 5.x.
  2. Extract the release into your game root, the .dll should end up in the BepInEx\plugins\FPSCounter subdirectory.
  3. Start the game and press U + LeftShift (default hotkey).

The on/off hotkey and looks can be configured in the config file BepInEx\config\MarC0.FPSCounter.cfg (you have to run the game at least once to generate it), or by using BepInEx.ConfigurationManager.