##// END OF EJS Templates
perf: only display the total time for perfrevlogwrite if quiet...
Boris Feld -
r40585:c63081cd default
parent child Browse files
Show More
@@ -1632,10 +1632,11 b' def perfrevlogwrite(ui, repo, file_=None'
1632 ("99%", resultcount * 99 // 100),
1632 ("99%", resultcount * 99 // 100),
1633 ("max", -1),
1633 ("max", -1),
1634 ]
1634 ]
1635 for name, idx in relevants:
1635 if not ui.quiet:
1636 data = results[idx]
1636 for name, idx in relevants:
1637 title = '%s of %d, rev %d' % (name, resultcount, data[0])
1637 data = results[idx]
1638 formatone(fm, data[1], title=title, displayall=displayall)
1638 title = '%s of %d, rev %d' % (name, resultcount, data[0])
1639 formatone(fm, data[1], title=title, displayall=displayall)
1639
1640
1640 # XXX summing that many float will not be very precise, we ignore this fact
1641 # XXX summing that many float will not be very precise, we ignore this fact
1641 # for now
1642 # for now
General Comments 0
You need to be logged in to leave comments. Login now