It's actually worse than that. It's apples to oranges because it's asking one service to do X and one service to do Y.
You can configure postgres to behave more like Redis, and it will be faster if you do (at the cost of transactional guarantees).
A more interesting test might have been Postgres configured-like-redis vs Redis.