Главная
Study mode:
on
1
Introduction
2
Definition
3
Why we dont profile
4
Project structure
5
Run configuration
6
Profiling memory usage
7
Length and capacity
8
Profiling with Instruments
9
Dockerfile
10
Profiling in Linux
11
Time Profiling
12
Benchmarking
13
Flame Graph
14
Fixing Capacity
15
Mutability Reader
16
Avoid temporary structures
17
Optimized version
18
Benchmarks
Description:
Explore code profiling techniques in Rust through this 48-minute conference talk by Vitaly Bragilevsky at Rust Linz, December 2022. Learn about various approaches, tools, and crates for analyzing program behavior in terms of time and memory usage at runtime. Discover how to measure function timings, interpret flame graphs, and implement optimization techniques such as reserving memory in advance, avoiding auxiliary data structures, and eliminating unnecessary memory operations. Gain insights into profiling memory usage, using instruments, working with Docker, and profiling in Linux environments. Understand the importance of extensive correctness testing when optimizing code and learn how to profile alongside development for better efficiency without compromising program integrity.

Profiling Code in Rust - Techniques for Time and Memory Optimization

Rust
Add to list
0:00 / 0:00