Closing the performance gap between hpgsql (Haskell) and tokio-postgres (Rust)
Haskell Community
Closing the performance gap between hpgsql (Haskell) and tokio-postgres (Rust)
I spent a good chunk of the last 6 months working on improving row decoding performance of hpgsql, to the point where in one benchmark it has surpassed .NET’s Npgsql and is 10% slower than Rust’s tokio-postgres. Link to article below: Note that in another very reasonable benchmark, it’s still ~3x slower than Npgsql and tokio-postgres. The article covers some of the optimizations I applied, and others I tried but was unable to. I hope this is at least a useful and interesting experience repor...
0 comments
No comments yet.