mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-02 20:21:50 +02:00
* Introduce Golang-based benchmarking utility * benchmark fio: properly configure logger level * benchmark: properly terminate on Ctrl+C when initializing/running Tart * benchmark(fio): increase runtime to 30 seconds * benchmark(fio): IOPS are already per second * benchmark(fio): --numjobs 1 --iodepth 1 --end_fsync 1 * benchmark(README.md): add results
12 lines
157 B
Go
12 lines
157 B
Go
package executor
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Executor interface {
|
|
Name() string
|
|
Run(ctx context.Context, command string) ([]byte, error)
|
|
Close() error
|
|
}
|