bench: Fix path to default sample file

The sample file used for benchmarking was renamed in 8326e410d0 but
the `--file` flag default was not updated.
This commit is contained in:
Matt Bostock 2018-01-13 20:54:51 +00:00
parent 8d373c763b
commit 793c1078dd
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func main() {
benchWriteCmd = benchCmd.Command("write", "run a write performance benchmark")
benchWriteOutPath = benchWriteCmd.Flag("out", "set the output path").Default("benchout/").String()
benchWriteNumMetrics = benchWriteCmd.Flag("metrics", "number of metrics to read").Default("10000").Int()
benchSamplesFile = benchWriteCmd.Arg("file", "input file with samples data, default is (../../testdata/20k.series)").Default("../../testdata/20k.series").String()
benchSamplesFile = benchWriteCmd.Arg("file", "input file with samples data, default is (../../testdata/20kseries.json)").Default("../../testdata/20kseries.json").String()
listCmd = cli.Command("ls", "list db blocks")
listPath = listCmd.Arg("db path", "database path (default is benchout/storage)").Default("benchout/storage").String()
)