bbolt_bench

command module
v0.0.0-...-66bea27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 12 Imported by: 0

README

bbolt_bench

Steps to run benchmark against a specific bbolt version

Step 1: Update go.mod/go.sum to depend on the target bbolt version

You need to update the go.mod/go.sum to depend on the target bbolt version, against which you are going to run benchmark.

Example 1: get a specific commit on main branch

$ go get go.etcd.io/bbolt@67165811e57a79678b6fab9b029bc032b9dfef0e
$ go mod tidy

Example 2: get 1.3.8

$ go get go.etcd.io/bbolt@v1.3.8
$ go mod tidy
Step 2: build
$ go build
Step 3: Run benchmark

Example:

$ ./bbolt_bench -count 100000 -batch-size 25000
Step 4: cleanup
$ make clean

Contribution

Any contribution or suggestion is welcome!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL