Chrome is very slow due to "Resolving host in proxy script..."
I was experiencing this issue while using a corporate VPN from Chrome on a Mac. I resolved it by:


Getting the full hostname from running the command hostname
Opening up /etc/hosts in an editor, with write permissions, e.g. sudo vi /etc/hosts
Adding the name of the machine to localhost, e.g.

127.0.0.1   localhost Eamons-MacBook-Pro.local

Saving /etc/hosts


Caveat: It is possible that /etc/hosts may be updated by the system during reboots and upgrades, and changes could be lost.