Remember to open the console (Press F12) before you click "Run".
Test to see which loop is the fastest.