Top 10 Rust Performance Projects
Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome! Ping us on gitter to know moreProject mention: Force all rust application traffic to pass from proxy. | reddit.com/r/rust | 2022-02-05
Could sozu or rathole or leaf or exodus somehow help?
Drill is an HTTP load testing application written in Rust (by fcsonline)Project mention: [Media] Introducing `pdc` a load testing library that can hit 500,000 req/sec | reddit.com/r/rust | 2022-04-26
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
A high performance concurrent caching library for RustProject mention: Writing a concurrent LRU cache | reddit.com/r/rust | 2021-12-10
Ya, I saw concache but I looked into it and it doesn't implement what is needed. Each bucket has its own linked-list backing (hence "lock-free linked list buckets"). An LRU needs each value in each bucket to be part of one linked list I believe. After posting this I realized my line of research was failing because it was state of the art five years ago. Caffeine replaced `concurrentlinkedhashmap` in the java world (by the same author). A rust version of that is Moka. These are much more complicated than a concurrent LRU but faster (aka more state of the art). Another rust crate is Stretto which is a port of dgraph's Ristretto (in go). The question becomes is it worth it to essentially port `concurrentlinkedhashmap` to have a great concurrent LRU when there are more state of the art caches out there.
Website for graphing performance of rustcProject mention: Show HN: Rust test harness that measures energy consumption | news.ycombinator.com | 2022-04-05
At the end of the day most people care about wall clock time. It's a real physical value that's easy to understand and easy to compare between systems. Plus, if two functions execute say, 1 billion instructions each, but one spends extra time stalled waiting for data fetches from RAM or doing IO, you definitely want to account for that in normal benchmarking.
Instruction counting is more of a specialized tool but I like to use it whenever I can because it has low variance and makes comparing changes a lot easier. Compare how bumpy these graphs are for instruction count (first link) and wall clock time (second link):
There was a proposal a little while back for BinAST which gets you some of the same benefits as bytecode, but not all... mainly just reducing the parse time and maybe even allowing more pipelined evaluation. See https://github.com/binast/binjs-ref
Load testing framework, inspired by Locust (by tag1consulting)Project mention: How to load test Drupal? | reddit.com/r/drupal | 2021-10-06
More sophisticated with goose https://github.com/tag1consulting/goose
A high performance python technical analysis library written in Rust and the Numpy C API. (by gregyjames)Project mention: Panther: A high performance Python technical analysis library written in Rust using PyO3 and rust-numpy. 9x faster than pandas alone! | reddit.com/r/coolgithubprojects | 2022-02-19
Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.
Fast functions for printing integer primitives to an io::Write (by dtolnay)Project mention: Potential problem with the package manager | reddit.com/r/Zig | 2021-12-22
The hyper package for the crab language actually has a dependency on a package that does itoa (among others) so IMO the problem exist there too and most non trivial packages will be bloated
An inquiry into nondogmatic software development. An experiment showing double performance of the code running on JVM comparing to equivalent native C code.
Code for comparing CDN speeds!Project mention: Turing Technique: Life-Changing Tip To Get Better At Chess and Chess... | dev.to | 2021-09-06
I also have a theory on how to master first-person shooter games like Halo rapidly. However, I haven’t tested it yet. If it works I’ll write about it 😊. Subscribe if you’re interested in getting that update.
Rust Performance related posts
Does rust have a visual analysis tool for memory and performance like pprof of golang?
11 projects | reddit.com/r/rust | 14 May 2022
[Media] Introducing `pdc` a load testing library that can hit 500,000 req/sec
2 projects | reddit.com/r/rust | 26 Apr 2022
Show HN: Rust test harness that measures energy consumption
3 projects | news.ycombinator.com | 5 Apr 2022
do you guys prefer functional programming style when using rust?
1 project | reddit.com/r/rust | 3 Apr 2022
A complete overhaul of Blackjack's 3d viewport with custom wgpu drawing
3 projects | reddit.com/r/rust_gamedev | 6 Mar 2022
How to speed up the Rust compiler in 2022
7 projects | reddit.com/r/rust | 24 Feb 2022
What’s everyone working on this week (8/2022)?
6 projects | reddit.com/r/rust | 21 Feb 2022
What are some of the best open-source Performance projects in Rust? This list will help you:
Are you hiring? Post a new remote job listing for free.