db-bench

command
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

README

db-bench

Local BadgerDB benchmark for ev-node write patterns (append + overwrite).

Usage

Run the tuned defaults:

go run ./tools/db-bench -bytes 536870912 -value-size 4096 -batch-size 1000 -overwrite-ratio 0.1

Compare against Badger defaults:

go run ./tools/db-bench -profile all -bytes 1073741824 -value-size 4096 -batch-size 1000 -overwrite-ratio 0.1

Notes:

  • -bytes is the total data volume; the tool rounds down to full -value-size writes.
  • -profile all runs evnode and default in separate subdirectories under a temp base dir.

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