package raftbench

import "github.com/hashicorp/raft/bench"

Index

Functions

func DeleteRange

func DeleteRange(b *testing.B, store raft.LogStore)

func FirstIndex

func FirstIndex(b *testing.B, store raft.LogStore)

func Get

func Get(b *testing.B, store raft.StableStore)

func GetLog

func GetLog(b *testing.B, store raft.LogStore)

func GetUint64

func GetUint64(b *testing.B, store raft.StableStore)

func LastIndex

func LastIndex(b *testing.B, store raft.LogStore)

func Set

func Set(b *testing.B, store raft.StableStore)

func SetUint64

func SetUint64(b *testing.B, store raft.StableStore)

func StoreLog

func StoreLog(b *testing.B, store raft.LogStore)

func StoreLogs

func StoreLogs(b *testing.B, store raft.LogStore)

Source Files

bench.go

Version
v1.7.3 (latest)
Published
Mar 18, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
1 month ago

Tools for package owners.