mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-26 14:35:20 +00:00
performance-metrics: Add unit to the name/description of each test
Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
a50c10bdf9
commit
a7024074c0
@ -178,7 +178,7 @@ lazy_static! {
|
||||
control: Default::default(),
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_virtio_net_throughput_single_queue_rx",
|
||||
name: "performance_virtio_net_throughput_bps_single_queue_rx",
|
||||
func_ptr: performance_net_throughput,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(1), // used as 'queue_pairs'
|
||||
@ -188,7 +188,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_virtio_net_throughput_single_queue_tx",
|
||||
name: "performance_virtio_net_throughput_bps_single_queue_tx",
|
||||
func_ptr: performance_net_throughput,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(1), // used as 'queue_pairs'
|
||||
@ -198,7 +198,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_virtio_net_throughput_multi_queue_rx",
|
||||
name: "performance_virtio_net_throughput_bps_multi_queue_rx",
|
||||
func_ptr: performance_net_throughput,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(2), // used as 'queue_pairs'
|
||||
@ -208,7 +208,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_virtio_net_throughput_multi_queue_tx",
|
||||
name: "performance_virtio_net_throughput_bps_multi_queue_tx",
|
||||
func_ptr: performance_net_throughput,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(2), // used as 'queue_pairs'
|
||||
@ -218,7 +218,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_block_io_read",
|
||||
name: "performance_block_io_bps_read",
|
||||
func_ptr: performance_block_io,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(1),
|
||||
@ -228,7 +228,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_block_io_write",
|
||||
name: "performance_block_io_bps_write",
|
||||
func_ptr: performance_block_io,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(1),
|
||||
@ -238,7 +238,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_block_io_random_read",
|
||||
name: "performance_block_io_bps_random_read",
|
||||
func_ptr: performance_block_io,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(1),
|
||||
@ -248,7 +248,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_block_io_random_write",
|
||||
name: "performance_block_io_bps_random_write",
|
||||
func_ptr: performance_block_io,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(1),
|
||||
@ -258,7 +258,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_block_io_multi_queue_read",
|
||||
name: "performance_block_io_bps_multi_queue_read",
|
||||
func_ptr: performance_block_io,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(2),
|
||||
@ -268,7 +268,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_block_io_multi_queue_write",
|
||||
name: "performance_block_io_bps_multi_queue_write",
|
||||
func_ptr: performance_block_io,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(2),
|
||||
@ -278,7 +278,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_block_io_multi_queue_random_read",
|
||||
name: "performance_block_io_bps_multi_queue_random_read",
|
||||
func_ptr: performance_block_io,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(2),
|
||||
@ -288,7 +288,7 @@ lazy_static! {
|
||||
}
|
||||
});
|
||||
m.insert(PerformanceTest {
|
||||
name: "performance_block_io_multi_queue_random_write",
|
||||
name: "performance_block_io_bps_multi_queue_random_write",
|
||||
func_ptr: performance_block_io,
|
||||
control: PerformanceTestControl {
|
||||
queue_num: Some(2),
|
||||
|
Loading…
x
Reference in New Issue
Block a user