sebae banner 728x900
sebae banner 300x250

Mentorship Session: Run Fast! Catch Performance Regressions in eBPF with Rust

0 views
0%

Mentorship Session: Run Fast! Catch Performance Regressions in eBPF with Rust

Mentor: Everett Pompeii, Founder + Maintainer, Bencher

Performance is critical when working in eBPF. So what should we do when our code starts running slowly? Sure, we need to fix the performance regression, but what’s stopping this from happening again?

For the same reasons that unit tests are run in CI to prevent feature regressions, benchmarks should also be run in CI to prevent performance regressions. During this presentation, you’ll learn how to implement continuous benchmarking in your project.

First, we walk through writing a simple eBPF program in Rust. Then we show how to add benchmarks to both the client and kernel side code. Finally, we introduce continuous benchmarking to our CI process to detect and prevent any future performance regressions. Every tool used along the way is open source.

If you’re interested in learning a better way to maximize and maintain performance in your project, bring your questions and join us for this presentation.

Date: November 2, 2023