Better HN
topnewbestaskshowjobs
Log inSign up

epompeii

12 karma · joined Nov 30, 2023 (3y ago) · 19 submissions

Founder + Maintainer of Bencher

https://bencher.dev

https://github.com/bencherdev/bencher

Submissions

comment 2y ago · link · parent

Author of Bencher here. Bencher will now create all dimensions as needed, so the above use case should now work out of the box. This change was made after all of the great feedback from early users like epage.

2.

Zero to Performance Hero: How to Benchmark and Profile Your eBPF Code in Rust(infoq.com ↗)

2 points · by epompeii · 2y ago · discuss

comment 2y ago · link · parent

I think you are totally right!

The VIEW itself is not a "materialized" view, but when the (normal) view is instantiated within a single query it is treated as MATERIALIZED because it is used multiple times in the query execution: https://www.sqlite.org/lang_with.html#materialization_hints

comment 2y ago · link · parent

I think it was definitely unoptimized to begin with. The major slow down didn't happen until the model evolved though, as I mention in the Background section. Not catching that change was certainly a performance failure!

comment 2y ago · link · parent

If anything, this experience has made me appreciate Diesel even more!

Having strongly typed SQL has prevented these sort of bugs from happening at compile time. The only reason I ran into trouble here was that I went into `unsafe` land without proper precaution. That's on me, not the ORM.

comment 2y ago · link · parent

Definitely ironic and embarrassing!

I figured I could either hide in shame or share some hard learned wisdom, and I opted for the latter.

7.

How Rustls (Rust TLS) fights to stay faster than OpenSSL(bencher.dev ↗)

16 points · by epompeii · 2y ago · discuss

8.

Single-shot benchmarking in Rust with Iai(bencher.dev ↗)

1 points · by epompeii · 2y ago · discuss

9.

Bencher v0.4.2 Released(bencher.dev ↗)

2 points · by epompeii · 2y ago · discuss

10.

Show HN: Bencher – Continuous Benchmarking(github.com ↗)

3 points · by epompeii · 2y ago · discuss

11.

How to benchmark in Rust with libtest bench(bencher.dev ↗)

1 points · by epompeii · 3y ago · discuss