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

perf-test: enhance the profiling measurement #89

Open
hermet opened this issue Jan 15, 2025 · 0 comments
Open

perf-test: enhance the profiling measurement #89

hermet opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
perf-test Performance Test

Comments

@hermet
Copy link
Member

hermet commented Jan 15, 2025

The current performance stats display the current value along with the minimum and maximum values during measurement. However, the minimum and maximum values are highly unpredictable and do not provide meaningful insights into the overall condition. Instead, presenting the accumulated values as an average would be more effective and informative.

image

For example in case of FPS:

accumulatedFPS = 0;  //FPS in accumulated value.
...
if (first frame) accumulatedFPS += currentFPS;
else accumulatedFPS = (accumulatedFPS + currentFps) / 2  //update it every frame.

Eventually, we can display the accumulatedFPS in the format: current fps (accumulated fps), instead of the current format: current fps (min fps- max fps). This approach can also be applied to memory usage and other performance stats.

@hermet hermet added the perf-test Performance Test label Jan 15, 2025
@hermet hermet changed the title perf-test: enhance the profiling measurment perf-test: enhance the profiling measurement Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf-test Performance Test
Projects
Status: No status
Development

No branches or pull requests

2 participants