This contains an analysis of the time taken when using various combinations of loop() and while.