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

Add opt-in support for the 'puffin' profiler in eframe #1483

Merged
merged 3 commits into from
Apr 13, 2022
Merged

Add opt-in support for the 'puffin' profiler in eframe #1483

merged 3 commits into from
Apr 13, 2022

Conversation

emilk
Copy link
Owner

@emilk emilk commented Apr 12, 2022

puffin is a profiler I wrote a while back: https://github.com/EmbarkStudios/puffin

With this PR you can now get profile scopes for some things in eframe, egui-winit and egui_glow. This let's you see if, for instance, it is the tessellation, painting, or something else that is taking up the time.

There is a simple example in the new examples/ folder.

Note that puffin is only for finding the rough overview of your performance. You should use a proper sampling profiler for a more detailed understanding.

Screen Shot 2022-04-13 at 10 58 38

@emilk emilk marked this pull request as ready for review April 12, 2022 20:04
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.

1 participant