Optimizing rav1e
Effective profiling techniques and optimization strategies
- Track: Rust devroom
- Room: K.3.401
- Day: Sunday
- Start: 11:40
- End: 12:25
rav1e is a fast AV1 encoder written in rust (and plenty of assembly), released monthly.
Since the 0.1.0 release we try to make sure we provide an adequate speed or quality boost compared to the previous.
This talk is about what tools are available in the rust ecosystem and what are the practices that worked best for us.
The presentation will touch the following topics: - Exploring a codebase and profiling it effectively, both for cpu usage and memory usage. - Which are the optimization strategies that worked for us better (critical path analysis vs peak consumer) - Benchmarking and tracing
I'll provide examples on what tools worked well or not so well and what currently I consider the best and most promising tools for each tasks.
Speakers
Luca Barbato |