ZoneAlarm is basically monitoring all your ports... and Avast is constantly monitoring your harddisk for new files.
Since PostgreSQL is a server on port 5432, it can greatly affect performance if a firewall keeps monitoring the data stream.
Therefore with any firewall set exceptions to it for port 5432, and postgres.exe. (so it won't monitor them) If you can't set those exceptions... uninstall it completely.
Similarly, make sure the antivirus program is not monitoring C:/HMArchive, C:/Program Files(x86)/PostgreSQL since there will be a lot of (new) data activity in those folders.