Generate and output profiling report.
This is a method of the Profiler class in the profiler module.
def report(output: str) -> str