mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 04:09:04 +00:00
opt-viewer: output index first
One can start looking at the index while the pages are still generating llvm-svn: 326123
This commit is contained in:
parent
f4e4e91a6a
commit
9a50f35955
@ -242,14 +242,8 @@ def generate_report(all_remarks,
|
||||
else:
|
||||
raise
|
||||
|
||||
_render_file_bound = functools.partial(_render_file, source_dir, output_dir, context, no_highlight)
|
||||
if should_print_progress:
|
||||
print('Rendering HTML files...')
|
||||
optpmap.pmap(_render_file_bound,
|
||||
file_remarks.items(),
|
||||
num_jobs,
|
||||
should_print_progress)
|
||||
|
||||
print('Rendering index page...')
|
||||
if should_display_hotness:
|
||||
sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.Hotness, r.File, r.Line, r.Column, r.PassWithDiffPrefix, r.yaml_tag, r.Function), reverse=True)
|
||||
else:
|
||||
@ -259,6 +253,14 @@ def generate_report(all_remarks,
|
||||
shutil.copy(os.path.join(os.path.dirname(os.path.realpath(__file__)),
|
||||
"style.css"), output_dir)
|
||||
|
||||
_render_file_bound = functools.partial(_render_file, source_dir, output_dir, context, no_highlight)
|
||||
if should_print_progress:
|
||||
print('Rendering HTML files...')
|
||||
optpmap.pmap(_render_file_bound,
|
||||
file_remarks.items(),
|
||||
num_jobs,
|
||||
should_print_progress)
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=desc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user