I've not done a formal study, but I've always found that throwing hardware at the problem does wonders. My current database I made faster by bumping RAM until the entire working set fits in memory. The server has 256GB of RAM, half of which is used by ZFS for its purposes, and the other half for Postgres. The prior iteration of the servers only had 64GB of RAM and the difference was very remarkable.