Postgres and wsl2 and podman vs. Postgres and windows
Windows
$ ./pgbench -U postgres -c 10 -j 2 -T 60 pgbench
Password:
pgbench (14.2)
starting vacuum...end.
transaction type: <builtin: TPC-B (sort of)>
scaling factor: 10
query mode: simple
number of clients: 10
number of threads: 2
duration: 60 s
number of transactions actually processed: 303691
latency average = 1.966 ms
initial connection time = 302.140 ms
tps = 5087.274385 (without initial connection time)
podman/wsl2
$ ./pgbench -U postgres -c 10 -j 2 -T 60 -p 5433 pgbench
Password:
pgbench (14.2, server 14.10 (Debian 14.10-1.pgdg120+1))
starting vacuum...end.
transaction type: <builtin: TPC-B (sort of)>
scaling factor: 10
query mode: simple
number of clients: 10
number of threads: 2
duration: 60 s
number of transactions actually processed: 110853
latency average = 5.408 ms
initial connection time = 62.968 ms
tps = 1849.121013 (without initial connection time)