Postgres needs to be tuned for the workflow and the hardware.

It's a travesty to run it on default settings.

All it takes is 5 mins to do it.

Use pgtune - https://pgtune.leopard.in.ua/

I know the author concludes that he would still use Postgres for his projects.

But, he would get much better benchmark numbers if it was tuned.