doodlum / Skyrim-Community-Shaders

SKSE core plugin for community-driven advanced graphics modifications for AE, SE and VR. Also fixes bugs and improves performance.
GNU General Public License v3.0
137 stars 41 forks source link

Auto benchmark button for Features #535

Open alandtse opened 1 week ago

alandtse commented 1 week ago

Given we have A/B testing as a feature, we could probably create an auto benchmark option for any feature. It would basically be a button that could record fps or frametime or whatever toggling the feature on and off.

  1. Add Feature Disable/Enable functions.
  2. Add stats measuring.
  3. When "benchmark" button is pressed, turn on stats measuring and measure with feature on.
  4. Enable A/B testing after calling the disable function. Measure.
  5. Perform proper averaging; delay before measuring to avoid the recompilation time (or even detect if recompiling is done).
  6. Maybe could force the camera to rotate during the test. Flatrim already does this if you're idle too.