Even reading from disk ought to be way faster than the typical Postgres use case of going over the network, shouldn't it?
The way most web apps use DBs, sqlite is incredibly fast. Because most web apps make multiple queries, often sequentially, and they're very sensitive to DB latency. The network overhead adds up: https://twitter.com/benbjohnson/status/1514969870529560580