improved postgres benchmarking