On Jupter Notebook, i was trying to compare time taken between the two methods for finding the index with max value.
In the Image, the first function took, 1000
It has a built-in option -n: " Options: -n: execute the given statement times in a loop. If this value is not given, a fitting value is chosen."docs
So it choses the number of loops itself if not specified.