Skip to content

Commit f4709b1

Browse files
committed
profiler: marginal improvements
1 parent 3b585b8 commit f4709b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mitogen/profiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ def try_merge(stats, path):
7272
stats.add(path)
7373
return True
7474
except Exception as e:
75-
print('Failed. Race? Will retry. %s' % (e,))
75+
print('%s failed. Will retry. %s' % (path, e))
7676
return False
7777

7878

7979
def merge_stats(outpath, inpaths):
8080
first, rest = inpaths[0], inpaths[1:]
81-
for x in range(5):
81+
for x in range(1):
8282
try:
8383
stats = pstats.Stats(first)
8484
except EOFError:

0 commit comments

Comments
 (0)