rustc-perf
bencher
Our great sponsors
rustc-perf | bencher | |
---|---|---|
26 | 11 | |
591 | 379 | |
2.5% | 23.0% | |
9.7 | 9.9 | |
10 days ago | 5 days ago | |
Rust | MDX | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rustc-perf
-
Adding runtime benchmarks to the Rust compiler benchmark suite
> what do people use to run benchmarks on CI?
Typically, you purchase/rent a server that does nothing but sequentially run queued benchmarks (and the size/performance of this server doesn't really matter, as long as the performance is consistent), then sends the report somewhere for hosting and processing. Of course, this could be triggered by something running in CI, and the CI job could wait for the results, if benchmarking is an important part of your workflow.
But CI and benchmarks really shouldn't be run on the same host.
> What does the rust project use?
It's not clear exactly where the Rust benchmark "perf-runner" is hosted, but here are the specifications of the machine at least: https://github.com/rust-lang/rustc-perf/blob/414230abc695bd7...
> What do other projects use?
Essentially what I described above, a dedicated machine that runs benchmarks. The Rust project seems to do it via GitHub comments (as I understand https://github.com/rust-lang/rustc-perf/tree/master/collecto...), others have API servers that respond to HTTP requests done from CI/chat, others have remote GUIs that triggers the runs. I don't think there is a single solution that everyone/most are using.
- [rustc-perf] Runtime benchmarks got finally merged
-
Ask HN: Was programming more interesting when memory usage was a concern?
A lot of effort is spent to reduce the size of structs in the Rust compiler
https://nnethercote.github.io/2023/03/24/how-to-speed-up-the...
3% and 6% of improvement doesn't seem like much, but at the level of rustc those big wins
Performance of Rustc must be continously tracked (here https://perf.rust-lang.org/) because if you don't proactively fight against bloat, the tendency is that the code will become slower over time (due to new features etc)
-
Can Rust's compile time match its runtime performance?
hmm really really hard to answer :'), it's tradeoffs I think, no matter what you think Rust (cmiiw, I'm not qualified to say this) has (and probably in the future will adds more with guards on compiler metrics https://perf.rust-lang.org/) several phases that given the diffs to other language, might not available to any language compiler out there, if it's available I think rustc already did their best in here (some already being parallized etc etc, might be wrong since I can't refs any reference MRs, but it does exists though labels regarding this)
-
How to catch performance regressions in Rust
About a year ago I was looking for a tool like Rust perf for my application code. I did some research and found a lot of prior art. However, nothing checked all the boxes I was looking for, so I built Bencher!
- Rust – Are We Game Yet?
-
Next Rust Compiler
https://www.pingcap.com/blog/rust-compilation-model-calamity... is a good overview. In general it varies depending on the crate but we track the performance at https://perf.rust-lang.org/ - if you look at cargo, for example, over 60% of the time is spent in codegen through LLVM: https://perf.rust-lang.org/detailed-query.html?commit=222d1f...
- Data-driven performance optimization with Rust and Miri
-
Generic associated types to be stable in Rust 1.65
Something like https://perf.rust-lang.org/?
-
This Week in Rust #463
The performance full-report link is dead: https://github.com/rust-lang/rustc-perf/blob/master/triage/2022-10-04.md
bencher
-
Why SQLite Performance Tuning Made Bencher 1200x Faster
Bencher is a suite of continuous benchmarking tools. https://github.com/bencherdev/bencher
-
15 open-source tools to elevate your software design workflow
Link | Github | License
- Show HN: Bencher – Continuous Benchmarking
-
How to benchmark in Rust with libtest bench
Luckily, I've found this awesome open source tool called Bencher. There's a super generous free tier, so I can just use Bencher Cloud for my personal projects. And at work where everything needs to be in our private cloud, I've started using Bencher Self-Hosted.
-
LinuxCon: Catch performance regressions in Rust
+1 and an `iai` adapter is in the works for Bencher: https://github.com/bencherdev/bencher/issues/82
-
How to catch performance regressions in Rust
tab-based UI: Very true! So three, simultaneously visible columns feel better to you then? New tracking issue
-
Bencher—Catch Performance Regressions in CI @ Rust DC, September 20, 2022 w/ Everett Pompeii
Was a great talk about a promising new tool (https://github.com/epompeii/bencher)! Fills a niche that most of the projects I currently work on haven't filled (i.e., the state+aggregation+heuristics on benchmark output so that we can actually do something with benchmarks other than randomly run them locally).
What are some alternatives?
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
signum-pool - Signum Pool: open-source, fair, auditable
glTF-Sample-Models - glTF Sample Models
toast - Containerize your development and continuous integration environments. 🥂
unreal-rust - Rust integration for Unreal Engine 5
bencher - bencher is just a port of the libtest (unstable) benchmark runner to Rust stable releases. `cargo bench` on stable. "Not a better bencher!" = No feature development. Go build a better stable benchmarking library.
rusty-dos - A Rust skeleton for an MS-DOS program for IBM compatibles and the PC-98, including some PC-98-specific functionality
bruno - Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
RustPython - A Python Interpreter written in Rust
cargo-chef - A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.
nanoserde - Serialisation library with zero dependencies
BookStack - A platform to create documentation/wiki content built with PHP & Laravel