Not really measuring loop performance. The while and for loops are measuring 'append' performance, and the numpy loop fails to include the overhead of constructing the numpy arrays, and getting the results out again.
That said, interesting article, certainly illustrates the idea.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.