<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>rust - Category - @bwplotka</title><link>https://bwplotka.dev/categories/rust/</link><description>rust - Category - @bwplotka</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>bwplotka@gmail.com (Bartek Płotka)</managingEditor><webMaster>bwplotka@gmail.com (Bartek Płotka)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Tue, 03 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://bwplotka.dev/categories/rust/" rel="self" type="application/rss+xml"/><item><title>benchfmt.rs: Bringing Go's Benchmarking and benchstat Workflow to Rust</title><link>https://bwplotka.dev/2026/rust-microbenchmarks-benchstat/</link><pubDate>Tue, 03 Nov 2026 00:00:00 +0000</pubDate><author>Bartek Płotka</author><guid>https://bwplotka.dev/2026/rust-microbenchmarks-benchstat/</guid><description><![CDATA[<div class="featured-image">
                <img src="/og-images/benchfmt-rs.png" referrerpolicy="no-referrer">
            </div>TL;DR: I built benchfmt.rs, a zero-dependency Rust benchmark runner and Criterion converter for Go&rsquo;s benchstat. It adds /key=value projections, heap tracking for allocated bytes (B/op) and objects (allocs/op) per op, and pprof profiling.
In this post, I am benchmarking varint and Prometheus Remote Write 2.0 decoding across Go and Rust to showcase the benefits of benchstat-like flow in Rust. I&rsquo;m also sharing some fun learnings on the way (e.g., yes Rust is faster).]]></description></item></channel></rss>