Faster Dock in Mac OSX

This makes the animation faster

defaults write com.apple.dock autohide-time-modifier -float 0.15;killall Dock
//restore:
defaults delete com.apple.dock autohide-time-modifier;killall Dock

This makes the delay of show/hide Dock faster:

defaults write com.apple.Dock autohide-delay -float 0; killall Dock
// and also the restore:
defaults delete com.apple.dock autohide-delay;killall Dock

Reference:
http://apple.stackexchange.com/questions/33600/how-can-i-make-auto-hide-show-for-the-dock-faster