veeenu / hudhook

A videogame overlay framework written in Rust, supporting DirectX and OpenGL
MIT License
167 stars 27 forks source link

Add performance metrics #159

Open veeenu opened 4 months ago

veeenu commented 4 months ago

It should be easy to add a performance metrics tracker for debugging purposes.

Things that should be tracked:

These metrics don't necessarily need a big object, they can be stored in a struct of floats and updated via exponentially-weighted moving average with a low coefficient like 0.1 which should stabilize after 100 frames.