bfc-rs
iai
Our great sponsors
bfc-rs | iai | |
---|---|---|
1 | 9 | |
4 | 559 | |
- | - | |
0.0 | 0.0 | |
about 3 years ago | 11 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
bfc-rs
-
What's everyone working on this week (1/2021)?
Finished BFC-RS, an optimizing Brainfuck compiler I've already made a post about here. There's still more stuff that could be done, but I've decided to call it a day since I'm not going to have the time to develop it anytime soon. Contributions are welcome, though.
iai
-
How to benchmark in Rust with libtest bench
The three popular options for benchmarking in Rust are: libtest bench, Criterion, and Iai.
-
Adding runtime benchmarks to the Rust compiler benchmark suite
Iai^1 uses CacheGrind^2 to count instructions
[1] - https://github.com/bheisler/iai
-
How to catch performance regressions in Rust
But, /u/bencherdev, please consider integrating iai measurements! By the same person behind criterion but designed for one-shot measurements that are stable in CI measurements.
-
Hey Rustaceans! Got a question? Ask here! (34/2022)!
Is lai no longer maintained? It hasn't had any commits in a year and a half.
-
[Question / Discussion] Why is .unwrap() so heavily discouraged?
Lately I've found that using unwrap_unchecked has nearly zero performance gain but all the UB to gain if you change the code one day. My source is iai which provides exact instruction counts and is entirely deterministic for any given execution (and almost-deterministic across different compilations of the same program).
-
[MEDIA] Which will perform faster, a trivial comparison in performance of two functions.
Have you tried criterion.rs or iai ? The first is great at micro benchmarks and, if it is not enough, the second can catch even smaller performance difference.
-
Blog post: (I want) A Better Rust Profiler
In the mean time maybe https://github.com/bheisler/iai could be of help
- Experimental one-shot benchmark framework using Cachegrind
-
What's everyone working on this week (1/2021)?
Well, the most interesting one is probably Iai; an experimental benchmark framework that runs all of the benchmarks in Cachegrind for much higher precision and repeatability than is possible with Criterion.rs. It's still a work-in-progress, so I haven't published it on Crates.io yet. See the readme for a more detailed discussion of the pros/cons relative to Criterion.rs.
What are some alternatives?
customasm - 💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
rust-socketio - An implementation of a socket.io client written in the Rust programming language.
bfloader - 🧠 Brainfuck IDE and interpreter in 512 bytes. (boot sector)
TinyTemplate - A small, lightweight template engine
fingine - A personal finance simulation engine in Rust.
tree-buf - An experimental serialization system written in Rust
oakc - A portable programming language with a compact intermediate representation
scribble - An experimental terminal text-editor written in Rust. ⚠️
bfc - An industrial-grade brainfuck compiler
firestorm - A fast intrusive flamegraph
chronoutil - ChronoUtil module provides powerful extensions to rust's Chrono crate.
hotspot - The Linux perf GUI for performance analysis.