Skip to content

Conversation

@panxinmiao
Copy link
Contributor

This pull request introduces an Imgui-based Stats component, inspired by pygfx.Stats. It offers three modes: fps/ms (text), fps (histogram), and ms (plot_lines), which can be toggled by clicking.

Its performance surpasses that of pygfx.Stats; replacing pygfx.Stats with this component in the animation example can boost the frame rate by several dozen fps, aiding in obtaining more accurate performance results.

1.mp4

@panxinmiao panxinmiao requested a review from Korijn as a code owner February 15, 2025 05:16
@Korijn Korijn merged commit 9fd7664 into pygfx:main Feb 15, 2025
20 checks passed
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

Successfully merging this pull request may close these issues.

2 participants