Versions in this module Expand all Collapse all v0 v0.1.0 Apr 22, 2023 Changes in this version + const Blocksize + func ClearBufferCacheEveryThreeSeconds() error + func IOPS(operations int, duration time.Duration) float64 + func MegaBytesPerSecond(bytes int, duration time.Duration) float64 + type Mark struct + AggregateTestFilesSizeInGiB float64 + IODuration float64 + NumReadersWriters int + PhysicalMemory uint64 + Results []Result + Start time.Time + TempDir string + func (bm *Mark) CreateRandomBlock() error + func (bm *Mark) RunIOPSTest() error + func (bm *Mark) RunSequentialReadTest() error + func (bm *Mark) RunSequentialWriteTest() error + func (bm *Mark) SetTempDir(parentDir string) error + func (bm *Mark) Version() string + func (bm Mark) MarshalJSON() ([]byte, error) + type Result struct + IODuration time.Duration + IOOperations int + ReadBytes int + ReadDuration time.Duration + Start time.Time + WrittenBytes int + WrittenDuration time.Duration + func (r Result) MarshalJSON() ([]byte, error) + type ThreadResult struct + Error error + Result int