mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
performance-metrics: add restore latency performance metric
This patch calculates the recovery latency from the start of recovery program to the end of restore. Signed-off-by: Songqian Li <sionli@tencent.com>
This commit is contained in:
committed by
Rob Bradford
parent
59185050d5
commit
e18d32bac2
@@ -31,6 +31,7 @@ $ ./scripts/dev_cli.sh tests --metrics -- -- --report-file /tmp/metrics.json --t
|
||||
```
|
||||
|
||||
To set custom timeout or test iterations for all performance tests:
|
||||
|
||||
```
|
||||
$ ./scripts/dev_cli.sh tests --metrics -- -- --timeout 5 --iterations 10
|
||||
```
|
||||
@@ -70,6 +71,7 @@ data.
|
||||
| | block_multi_queue_write_IOPS | 10 | 5 |
|
||||
| | block_multi_queue_random_read_IOPS | 10 | 5 |
|
||||
| | block_multi_queue_random_write_IOPS | 10 | 5 |
|
||||
| Other | restore_latency_time_ms | 2 | 10 |
|
||||
|
||||
## Output Format
|
||||
|
||||
@@ -84,7 +86,6 @@ param is set. The fields included in JSON include:
|
||||
| date | Date for executing the program |
|
||||
| results | A list of metrics |
|
||||
|
||||
|
||||
## Example
|
||||
|
||||
Here is an example of generating metrics data for the boot time using
|
||||
|
||||
Reference in New Issue
Block a user