It helps to create a local copy because variable resolution starts at the most local and goes toward looking in the global namespace, making it slower.
Much slower in certain older browsers.
Here is a benchmark: http://jsperf.com/global/25
Update:
Added an updated version with another test case that in theory shows that most of the performance impact comes from going up the scope chain.