scripts: Renamed report -> main_ in perf.py/perfbd.py

This is a useful convention. It indicates these functions don't do
anything a main function wouldn't normally do.
This commit is contained in:
Christopher Haster
2025-03-15 01:46:30 -05:00
parent 59703f3b16
commit 5e8344a1c6
3 changed files with 4 additions and 5 deletions

View File

@@ -1469,7 +1469,7 @@ def annotate(Result, results, *,
print(line)
def report(paths, *,
def main_(paths, *,
by=None,
fields=None,
defines=[],
@@ -1618,7 +1618,7 @@ def main(**args):
if args.get('record'):
return record(**args)
else:
return report(**args)
return main_(**args)
if __name__ == "__main__":