Another reason postgres could be running very slow, is that it may be spooling the intermediate result to a temp file on hard disk.
Do you see a performance increase when using SSD Drives?
Do you see a performance increase when using SSD Drives?
I would be worried about external factors, nonstandard/non-default configs, and other such things impacting your tests.