##// END OF EJS Templates
Fixes default value of -r<R> and updates documentation
alphaCTzo7G -
Show More
@@ -962,11 +962,12 b' python-profiler package from non-free.""")'
962 body has access to any variables created in the setup code.
962 body has access to any variables created in the setup code.
963
963
964 Options:
964 Options:
965 -n<N>: execute the given statement <N> times in a loop. If this value
965 -n<N>: execute the given statement <N> times in a loop. If <N> is not
966 is not given, a fitting value is chosen.
966 provided, <N> is determined so as to get sufficient accuracy.
967
967
968 -r<R>: repeat the loop iteration <R> times and take the best result.
968 -r<R>: number of repeats <R>, each consisting of <N> loops, and take the
969 Default: 3
969 best result.
970 Default: 7
970
971
971 -t: use time.time to measure the time, which is the default on Unix.
972 -t: use time.time to measure the time, which is the default on Unix.
972 This function measures wall time.
973 This function measures wall time.
General Comments 0
You need to be logged in to leave comments. Login now