If you’re anything like me, you probably find the default Mac OS dock auto hide/reveal to be painfully slow. Thankfully you can fix that by entering the following two lines in Terminal:

defaults write com.apple.Dock autohide-delay -float 0 && killall Dock
defaults write com.apple.dock autohide-time-modifier -int 1 && killall Dock

The first line defines the delay on when the dock starts to hide/reveal (0 sec). The second line defines how long the hide/reveal animation runs for (1 sec).

You can also easily revert the change and go back to the default values by running the following two lines in Terminal:

defaults delete com.apple.dock autohide-delay;killall Dock
defaults delete com.apple.dock autohide-time-modifier;killall Dock