Commit bf2aab1
authored
Extract benchmark functionality into standalone command (#589)
* Extract benchmark functionality into standalone command
- Create new 'benchmark' command under cmd/benchmark/
- Implement benchmark flags following telemetry command pattern:
* --all (default) - run all benchmarks
* --speed, --power, --temperature, --frequency, --memory, --numa, --storage
- Move benchmark table definitions and processing functions to new command
- Move benchmark HTML renderers to new command
- Remove benchmark functionality from report command:
* Remove --benchmark flag
* Remove benchmark table definitions
* Remove benchmark data processing functions
* Clean up unused imports
- Register benchmark command in root command
The benchmark command now provides a cleaner separation of concerns,
following the same flag pattern as the telemetry command.
Usage:
perfspect benchmark # Runs all benchmarks
perfspect benchmark --speed --power # Runs specific benchmarks
perfspect benchmark --target <ip> # Benchmark remote target
* Add system summary table to benchmark command
- Add --no-summary flag to optionally exclude system summary
- Include Brief System Summary table by default (like telemetry command)
- System summary provides quick overview of target system configuration
- Follows same pattern as telemetry command for consistency
The system summary table shows key system information including:
- Host name, time, CPU model, microarchitecture, TDP
- Sockets, cores, hyperthreading, CPUs, NUMA nodes
- Scaling driver/governor, C-states, frequencies
- Energy settings, memory, NIC, disk, OS, kernel
* remove duplicate
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* formatting
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Update documentation for new benchmark command
- Add benchmark command to commands table in README.md
- Create new Benchmark Command section with detailed descriptions
- Remove benchmark subsection from Report Command documentation
- Update copilot-instructions.md to include benchmark command
- Document --no-summary flag for excluding system summary
The benchmark command is now properly documented as a standalone
command rather than a flag within the report command.
* Add alias 'bench' to benchmark command
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Extract benchmark functionality into standalone command
- Create new 'benchmark' command under cmd/benchmark/
- Implement benchmark flags following telemetry command pattern:
* --all (default) - run all benchmarks
* --speed, --power, --temperature, --frequency, --memory, --numa, --storage
- Move benchmark table definitions and processing functions to new command
- Move benchmark HTML renderers to new command
- Remove benchmark functionality from report command:
* Remove --benchmark flag
* Remove benchmark table definitions
* Remove benchmark data processing functions
* Clean up unused imports
- Register benchmark command in root command
The benchmark command now provides a cleaner separation of concerns,
following the same flag pattern as the telemetry command.
Usage:
perfspect benchmark # Runs all benchmarks
perfspect benchmark --speed --power # Runs specific benchmarks
perfspect benchmark --target <ip> # Benchmark remote target
* Add system summary table to benchmark command
- Add --no-summary flag to optionally exclude system summary
- Include Brief System Summary table by default (like telemetry command)
- System summary provides quick overview of target system configuration
- Follows same pattern as telemetry command for consistency
The system summary table shows key system information including:
- Host name, time, CPU model, microarchitecture, TDP
- Sockets, cores, hyperthreading, CPUs, NUMA nodes
- Scaling driver/governor, C-states, frequencies
- Energy settings, memory, NIC, disk, OS, kernel
* remove duplicate
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* formatting
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Update documentation for new benchmark command
- Add benchmark command to commands table in README.md
- Create new Benchmark Command section with detailed descriptions
- Remove benchmark subsection from Report Command documentation
- Update copilot-instructions.md to include benchmark command
- Document --no-summary flag for excluding system summary
The benchmark command is now properly documented as a standalone
command rather than a flag within the report command.
* Add alias 'bench' to benchmark command
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Update storage command description to reflect new I/O patterns and disk space requirements
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* ref data
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Filter out anomalous high power and temperature readings in turbostat output parsing
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Extract benchmark functionality into standalone command
- Create new 'benchmark' command under cmd/benchmark/
- Implement benchmark flags following telemetry command pattern:
* --all (default) - run all benchmarks
* --speed, --power, --temperature, --frequency, --memory, --numa, --storage
- Move benchmark table definitions and processing functions to new command
- Move benchmark HTML renderers to new command
- Remove benchmark functionality from report command:
* Remove --benchmark flag
* Remove benchmark table definitions
* Remove benchmark data processing functions
* Clean up unused imports
- Register benchmark command in root command
The benchmark command now provides a cleaner separation of concerns,
following the same flag pattern as the telemetry command.
Usage:
perfspect benchmark # Runs all benchmarks
perfspect benchmark --speed --power # Runs specific benchmarks
perfspect benchmark --target <ip> # Benchmark remote target
* Add system summary table to benchmark command
- Add --no-summary flag to optionally exclude system summary
- Include Brief System Summary table by default (like telemetry command)
- System summary provides quick overview of target system configuration
- Follows same pattern as telemetry command for consistency
The system summary table shows key system information including:
- Host name, time, CPU model, microarchitecture, TDP
- Sockets, cores, hyperthreading, CPUs, NUMA nodes
- Scaling driver/governor, C-states, frequencies
- Energy settings, memory, NIC, disk, OS, kernel
* remove duplicate
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* formatting
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Update documentation for new benchmark command
- Add benchmark command to commands table in README.md
- Create new Benchmark Command section with detailed descriptions
- Remove benchmark subsection from Report Command documentation
- Update copilot-instructions.md to include benchmark command
- Document --no-summary flag for excluding system summary
The benchmark command is now properly documented as a standalone
command rather than a flag within the report command.
* Add alias 'bench' to benchmark command
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Update storage command description to reflect new I/O patterns and disk space requirements
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* ref data
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* Filter out anomalous high power and temperature readings in turbostat output parsing
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
---------
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>1 parent 7d153ae commit bf2aab1
File tree
10 files changed
+907
-687
lines changed- .github
- cmd
- benchmark
- report
- internal/common
10 files changed
+907
-687
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
97 | 108 | | |
98 | | - | |
99 | 109 | | |
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
103 | 113 | | |
104 | 114 | | |
105 | | - | |
| 115 | + | |
106 | 116 | | |
107 | 117 | | |
108 | 118 | | |
| |||
0 commit comments