May 2024 Rustacean meetup

May 2024 Rustacean meetup

Bhargav Srinivasan

@thebsv

Benchmarking Rust Concurrency Libraries

Submitted Apr 19, 2024

An overview of the popular concurrency libraries in Rust, which were used to generate the Julia fractal. I started out by rendering the fractal using the tokio library so i callled this presentation “Julia in Tokio”. I benchmarked them by using them to run a lot of iterations of multiple image sizes and used Bencher to measure average iteration time for the different implementations. In addition to this, I generated flame graphs for each implementation and would be talking about how to read them and make sense of them. The libraries I compared are crossbeam, tokio, smol, rayon.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A community of Rust language contributors and end-users from Bangalore. We have presence on the following telegram channels https://t.me/RustIndia https://t.me/fpncr LinkedIn: https://www.linkedin.com/company/rust-india/ Twitter (not updated frequently): https://twitter.com/rustlangin more