If not, how can it be faster?
Is it the IPC overhead of Postgres?
Postgres / MSSQL / all RDBMS is slow because of network I/O.
I assume in situations where you're choosing between Postgres and sqlite, everything is running on a single machine anyways.