This post is all about the performance of the “hasql” library and particularly its PostgreSQL back end in comparison to its popular direct competitors: “HDBC” and “postgresql-simple”. Benchmarks What makes Hasql so fast? Benchmarks The source of the PostgreSQL back end comes with a suite of 3 benchmarks. I’ll analyze them one by one. Results parsing In this benchmark a simple SELECT query without
![Hasql benchmarks](https://cdn-ak-scissors.b.st-hatena.com/image/square/d795c7cbe440f91965e1bdce3da14dafb7567b15/height=288;version=1;width=512/https%3A%2F%2Fnikita-volkov.github.io%2Fimages%2Fdefault-thumb.png)