Files
zapdb/badger/cmd/bench.go

22 lines
420 B
Go

/*
* SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
* SPDX-License-Identifier: Apache-2.0
*/
package cmd
import (
"github.com/spf13/cobra"
)
var benchCmd = &cobra.Command{
Use: "benchmark",
Short: "Benchmark Badger database.",
Long: `This command will benchmark Badger for different usecases.
Useful for testing and performance analysis.`,
}
func init() {
RootCmd.AddCommand(benchCmd)
}