2.2 KiB
2.2 KiB
Performance Data Format Standard
Primary Format (JSON)
{
"test_environment": {
"system": "string",
"configuration": "string",
"test_date": "YYYY-MM-DD"
},
"cli_interface": {
"baseline": {
"response_time_ms": "number",
"throughput_requests_per_second": "number"
},
"with_rbac": {
"response_time_ms": "number",
"throughput_requests_per_second": "number",
"authentication_overhead_ms": "number",
"authorization_overhead_ms": "number"
}
},
"web_interface": {
"baseline": {
"response_time_ms": "number",
"throughput_requests_per_second": "number"
},
"with_tls": {
"response_time_ms": "number",
"throughput_requests_per_second": "number",
"handshake_time_ms": "number",
"data_transfer_overhead_ms": "number"
}
},
"test_parameters": {
"iterations": "number",
"test_script": "path",
"security_reference": "path"
}
}
Human-Readable Format (Markdown Template)
# Performance Benchmark Report
## Test Environment
- **System**: {system}
- **Configuration**: {configuration}
- **Test Date**: {test_date}
## CLI Interface Performance
### Baseline Metrics
- **Response Time**: {response_time_ms}ms
- **Throughput**: {throughput_requests_per_second} req/s
### With RBAC Overhead
- **Response Time**: {response_time_ms}ms (+{authentication_overhead_ms}ms auth)
- **Throughput**: {throughput_requests_per_second} req/s
## Web Interface Performance
### Baseline Metrics
- **Response Time**: {response_time_ms}ms
- **Throughput**: {throughput_requests_per_second} req/s
### With TLS 1.3 Overhead
- **Response Time**: {response_time_ms}ms (+{handshake_time_ms}ms handshake)
- **Throughput**: {throughput_requests_per_second} req/s
## Methodology
1. Tests conducted using {test_script}
2. Each test run {iterations} times, results averaged
3. Security requirements from {security_reference} followed
Conversion Guidelines
- JSON is the source of truth for all performance data
- Markdown reports should be generated from JSON data
- Field names should match exactly between formats
- All new tests should record data in JSON format first