Skip to content

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

Merged
emilk merged 3 commits intomasterfrom
puffin
Apr 13, 2022
Merged

Add opt-in support for the 'puffin' profiler in eframe#1483
emilk merged 3 commits intomasterfrom
puffin

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