Minor cleanup and adjustments to metrics HTML report #499
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request enhances the
cmd/metrics/resources/base.html
file by improving the visualization and clarity of the TMA (Top-down Microarchitecture Analysis) sunburst chart and related line charts. The main changes include introducing a consistent color scheme for TMA categories and their children, refactoring the sunburst chart configuration for maintainability, adding explicit series names to line charts, and making minor improvements to metric descriptions.Visualization and Theming Improvements:
tmaColors
object to define consistent color families for TMA categories and their children, and updated the sunburst chart to use these colors for better visual distinction and clarity.tmasunburst
variable, improving maintainability and making it easier to update chart properties or data in the future. The chart rendering now uses this variable.Chart Configuration Enhancements:
name
properties to all line chart series (e.g., "CPU Utilization %", "CPI", "CPU Frequency (GHz)", "Remote DRAM Reads %", "Package Power (Watts)", "DRAM Power (Watts)") for clearer chart legends and tooltips. [1] [2] [3] [4] [5] [6]Documentation and Description Updates: