Profiling Code in Rust - by Vitaly Bragilevsky - Rust Linz, December 2022 @RustVideos
Profiling Code in Rust - by Vitaly Bragilevsky - Rust Linz, December 2022  @RustVideos
Uploaded December 2022 | Updated November 2026, 16 hours ago
Profiling is a way to understand program behavior in terms of time and memory usage at runtime. Profiling is generally considered an advanced topic, but it doesn't have to be hard at all!

In this talk, I want to present and discuss various approaches, tools, and crates that help us to explore time and memory usage of our programs. We’ll explore a simple project, discover its characteristics and see what can be done to optimize them. We’ll see how to measure the timings of code fragments and functions reliably. We'll look at flame graphs and learn how to understand them. We’ll talk about such techniques as reserving memory in advance, avoiding creating auxiliary data structures, and removing unnecessary memory operations. We’ll also see that extensive correctness testing is a must-do when optimizing code because making programs faster and more memory-efficient should not lead to making them incorrect.

It's okay to profile our code along with writing it. It's not about unneeded premature optimization, it's about doing it right at the first run!

Slides: bit.ly/profiling-rust

Rust Linz:
sessionize.com/rust-linz
https://rust-linz.at
fosstodon.org/@rustlinz
twitter.com/rustlinz
Profiling Code in Rust - by Vitaly Bragilevsky - Rust Linz, December 2022Introduction to Rust programming on bare metal hardware by Mike Kefeder - Rust Zürisee March 2023RustConf 2023 - Integrating Rust and Go: Lessons from Github Code SearchRust under the Hood — by Sandeep Ahluwalia — Seattle Rust User Group, January 2025RustWeek Interview: Jynn Nelson, Compiler Team Lead, Ferrous SystemsRustConf 2023 - GUI Accessibility Across Platforms and Programming Languages Using RustEncrypted File System for Rust/Android Applications by Stefan Schindler - Rust Zürisee Feb 2023Rust & JavaScript - Jakob Meier - Rust Zürisee November 2024Rust Halifax - Rust & Tell #1RustConf 2023 - Extending Rusts Effect System2022-05-16 Cross Team Collaboration Fun Times (CTCFT)Yuri Astrakhan Interview, Rivian VW Tech; MapLibre Cofounder [Rust Project Content @ RustConf 2025]
Rust Programming Language |

Profiling Code in Rust - by Vitaly Bragilevsky - Rust Linz, December 2022

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER