mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 17:49:25 +00:00
Sort benchmark sizes numerically in HTML report generation
This commit is contained in:
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}"""
|
{html_doc_end}"""
|
||||||
|
|
||||||
all_sizes = sorted(
|
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()))
|
all_test_names = sorted(list(results.keys()))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user