py3: use range() instead of xrange()
The latter does not exist on Python 3. This makes test-contrib-perf.t pass on
Python 3 again.
Differential Revision: https://phab.mercurial-scm.org/D6443
--- a/contrib/perf.py Fri May 24 15:59:59 2019 +0300
+++ b/contrib/perf.py Fri May 24 15:38:50 2019 +0300
@@ -408,7 +408,7 @@
count = 0
if profiler is None:
profiler = NOOPCTX
- for i in xrange(prerun):
+ for i in range(prerun):
if setup is not None:
setup()
func()