Главная
Study mode:
on
1
Intro
2
New Zealand Accent 101
3
Growing Ecosystem
4
Micro vs Macro benchmarking
5
Obtaining realistic workloads
6
Back to fundamentals
7
Ex: PostgreSQL write performance
8
E.g. storing the number 3.14
9
Base-10 Implementation
10
Math implementation
11
Performance of math calculations
12
Representing a decimal
13
Exploiting fixed size primitive types
14
Copying vs Borrowing
15
What about unsafe?
16
Closing Thoughts
Description:
Explore benchmarking and optimization techniques for Rust libraries in this 31-minute conference talk from RustConf 2018. Dive into the journey of consistently and fairly benchmarking library functions, and discover strategies for enhancing performance. Learn about micro vs. macro benchmarking, obtaining realistic workloads, and returning to fundamentals. Examine practical examples, including PostgreSQL write performance and storing decimal numbers. Investigate techniques such as exploiting fixed-size primitive types, copying vs. borrowing, and the potential use of unsafe code. Gain insights into developing high-quality, ergonomic, and performant Rust libraries to contribute to the growing Rust ecosystem.

Benchmarking and Optimization of Rust Libraries

Rust
Add to list