Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexis King
GHC
Commits
c6b4be4b
Commit
c6b4be4b
authored
Oct 13, 2020
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testsuite: Sort metrics by metric type
Closes #18838.
parent
bf7c5b6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
testsuite/driver/runtests.py
testsuite/driver/runtests.py
+15
-1
No files found.
testsuite/driver/runtests.py
View file @
c6b4be4b
...
...
@@ -457,7 +457,21 @@ else:
if
config
.
baseline_commit
:
print
(
'Performance baseline: %s
\n
'
%
config
.
baseline_commit
)
if
any
(
t
.
metrics
):
tabulate_metrics
(
t
.
metrics
)
# Group metrics by metric type
groups
=
{}
# type: Dict[MetricName, List[PerfMetric]]
for
m
in
t
.
metrics
:
if
m
.
stat
.
metric
not
in
groups
:
groups
[
m
.
stat
.
metric
]
=
[]
groups
[
m
.
stat
.
metric
].
append
(
m
)
for
metric_name
,
stats
in
groups
.
items
():
heading
=
'Metrics: %s'
%
metric_name
print
()
print
(
heading
)
print
(
'-'
*
len
(
heading
))
print
()
tabulate_metrics
(
stats
)
else
:
print
(
"
\n
None collected."
)
print
(
""
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment