Display additional information through table.
When we render the markdown table, there only exists benchmarks result. Additional information will be helpful while analyzing the benchmark result.
- [ ] CPU
- [ ] Memory
- [ ] Operating system
- [ ] Python implementation infos (+ build option, compiler..)
Any suggestion @vstinner ?
Hi! @corona10 I’d like to work on this enhancement.
pyperf already stores detailed metadata (CPU model, OS, memory, Python build info, etc.) in the benchmark/suite metadata. My plan is to extend the Markdown table renderer to include these fields:
CPU
Memory
OS/platform
Python implementation + compiler
I will fetch these from suite.get_metadata() and add them as additional columns in the rendered table.
If this direction looks good, I can start working on a PR. Thanks!
I would prefer to keep the default output short and readable. But why not adding more columns/lines if you pass an option. The option could be a list of metadata keys.