if you set your dock to hide, run this Terminal command to get rid of the slowest animation on macOS:
Defaults write http://com.apple.dock autohide-delay -float 0 && defaults write http://com.apple.dock autohide-time-modifier -float 0.4 && killall Dock
trust me
Defaults write http://com.apple.dock autohide-delay -float 0 && defaults write http://com.apple.dock autohide-time-modifier -float 0.4 && killall Dock
trust me