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

feat request: display of frame duration #49

Closed
trusktr opened this issue Mar 26, 2025 · 2 comments
Closed

feat request: display of frame duration #49

trusktr opened this issue Mar 26, 2025 · 2 comments

Comments

@trusktr
Copy link

trusktr commented Mar 26, 2025

Hello! Love this project.

It could help with benchmarking the engines having a number other than FPS, such as the duration of each frame. For example, even if the FPS is 60 on a display with 60hz, the frames duration might be 4ms, 8ms, or 10ms, all without affecting the FPS, so seeing the number will be useful.

@lo-th
Copy link
Owner

lo-th commented Mar 27, 2025

yes good idea i will add in next update

@lo-th
Copy link
Owner

lo-th commented Apr 1, 2025

ok is add you can use phy.getMs() to return frame time

@lo-th lo-th closed this as completed Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants