Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskBench ¶ added in v0.2.0
type DiskBench struct { Name string Size int64 Times int Duration time.Duration Speed float64 // contains filtered or unexported fields }
func NewDiskBench ¶ added in v0.2.0
type Info ¶
type Info struct { CPUInfo SystemInfo MemoryInfo }
type MemoryBench ¶ added in v0.2.0
type MemoryBench struct { Name string Size int64 Times int Duration time.Duration Speed float64 // contains filtered or unexported fields }
func NewMemoryBench ¶ added in v0.2.0
func NewMemoryBench(size int64, times int) (b *MemoryBench)
func (*MemoryBench) Do ¶ added in v0.2.0
func (b *MemoryBench) Do()
func (*MemoryBench) Result ¶ added in v0.2.0
func (b *MemoryBench) Result() (result string)
type MemoryInfo ¶
type SHA3Bench ¶ added in v0.2.0
type SHA3Bench struct { Name string Thread int Size int64 Duration time.Duration Hashes int Speed float64 // contains filtered or unexported fields }
func NewSHA3Bench ¶ added in v0.2.0
type SpeedTest ¶
type SpeedTest struct { Name string URL string Size int64 Duration time.Duration Speed float64 // contains filtered or unexported fields }
func NewSpeedTest ¶
type SystemInfo ¶
type ZeroReadWriter ¶
type ZeroReadWriter struct{}
Click to show internal directories.
Click to hide internal directories.