Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto benchmark button for Features #535

Open
alandtse opened this issue Sep 17, 2024 · 0 comments
Open

Auto benchmark button for Features #535

alandtse opened this issue Sep 17, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@alandtse
Copy link
Collaborator

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.
@alandtse alandtse added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant