He probably just wanted to test the difference between 'while ' and 'do while' and takes the fastest possible solution (for) as a reference. It's however good to know that 'do while' is that much slower compared to while.
Testing in Chrome 27.0.1453.116 32-bit on Windows Server 2008 R2 / 7 64-bit