Struct vps_bench::QuickCli[][src]

pub struct QuickCli {
    pub cpu_n: usize,
    pub cpu_round: usize,
    pub mem_size: u8,
    pub mem_round: usize,
    pub disk_file_name: String,
    pub disk_n: u32,
    pub disk_block: u32,
    pub disk_round: usize,
    pub shared: SharedCli,
}

VPS 性能快速测试

Fields

cpu_n: usize

CPU 性能测试{n} 实际计算的次数是 2^n * 1_000_000

cpu_round: usize

CPU 进行多少轮测试

mem_size: u8

内存测试指定内存的大小

mem_round: usize

内存进行多少轮测试

disk_file_name: String

磁盘测试使用的文件名称{n} 注意: 如果这个文件存在则会被删除

disk_n: u32

磁盘测试实际测试使用的文件大小为 2^n * 1GB

disk_block: u32

磁盘测试实际测试使用的文件大小为 2^n * 512 B

disk_round: usize

磁盘测试多少轮测试

shared: SharedCli

Implementations

impl QuickCli[src]

pub fn run(&self)[src]

运行

Trait Implementations

impl Debug for QuickCli[src]

impl From<&'_ QuickCli> for CPUCli[src]

impl From<&'_ QuickCli> for DiskCli[src]

impl From<&'_ QuickCli> for RAMCli[src]

impl StructOpt for QuickCli[src]

impl StructOptInternal for QuickCli[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,