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 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










![Yuri Astrakhan Interview, Rivian VW Tech; MapLibre Cofounder [Rust Project Content @ RustConf 2025]
Yuri Astrakhan has had an enviable career. While working as a Principle Software Engineer at Elastic he cofounded the MapLibre project: a library for embedding scrollable maps in websites and native applications with a Rust core. He was then hired by Rivian to work on both internal and open-source software but little did they know that they were also hiring a chief Rust evangelist! The topic of his RustConf 2025 talk was a report on how driving Rust adoption at a large and distributed automotive company has been going; some tips and best practices.
Yuri took some time out of his RustConf 2025 week to sit down with the t-content team and speak to us more about Rust in automotive, encouraging adoption in a large engineering organization, and how open-source can help companies and how companies can help open-source.
Yuris RustConf 2025 Talk: https://www.youtube.com/watch?v=3RIxy9YE-Yk
Yuri Astrakhan: https://github.com/nyurik
MapLibre: https://maplibre.org/
Rivian Volkswagen Group Technologies: https://rivianvw.tech/
Follow @rustvideos for our upcoming video interviews!
Interviewer: Xander Cesari (https://github.com/MerrimanInd) Yuri Astrakhan Interview, Rivian VW Tech; MapLibre Cofounder [Rust Project Content @ RustConf 2025]](https://i.ytimg.com/vi/MgGsZmBNLO0/mqdefault.jpg)