Skip to content

Newsletter 13: Add a section about puffin profiler #244

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

Merged
merged 3 commits into from
Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions content/posts/newsletter-013/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,30 @@ If needed, a section can be split into subsections with a "------" delimiter.

## Library & Tooling Updates

### 🐦 [Puffin Profiler]

Pufin is a simple instrumentation profiler created by [Embark]
where you opt-in to profile parts of you code.

``` rust
fn my_function() {
puffin::profile_function!():
...
if ... {
puffin::profile_scope_data!("load_image", image_name):
...
}
}
```

The collected profile data can be viewed ingame with [imgui-rs].

![Puffin flamegraph shown with puffin-imgui](puffin.png)

[Puffin Profiler]: https://github.com/EmbarkStudios/puffin
[Embark]: https://www.embark-studios.com/
[imgui-rs]: https://github.com/Gekkio/imgui-rs

## Popular Workgroup Issues in Github

## Meeting Minutes
Expand Down
Binary file added content/posts/newsletter-013/puffin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.