mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-19 23:09:59 +00:00
Sort benchmark sizes numerically in HTML report generation
This commit is contained in:
parent
1a5b8919d3
commit
6a9b828ada
3
.github/scripts/custom_benchmark_report.py
vendored
3
.github/scripts/custom_benchmark_report.py
vendored
@ -247,7 +247,8 @@ def generate_html_table_with_links(
|
||||
{html_doc_end}"""
|
||||
|
||||
all_sizes = sorted(
|
||||
list(set(size for test_data in results.values() for size in test_data.keys()))
|
||||
list(set(size for test_data in results.values() for size in test_data.keys())),
|
||||
key=(lambda x: int(x.split("x")[0])),
|
||||
)
|
||||
all_test_names = sorted(list(results.keys()))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user