mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-03 20:55:59 +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
21 lines
310 B
Go
21 lines
310 B
Go
package command
|
|
|
|
import (
|
|
"github.com/cirruslabs/tart/benchmark/internal/command/fio"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "benchmark",
|
|
SilenceUsage: true,
|
|
SilenceErrors: true,
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
fio.NewCommand(),
|
|
)
|
|
|
|
return cmd
|
|
}
|