Versions in this module Expand all Collapse all v1 v1.11.11 Aug 6, 2024 Changes in this version + var BenchmarkSizes = [][]int + var Benchmarks = map[string]func(b *testing.B, db database.Database, keys, values [][]byte) + var Tests = map[string]func(t *testing.T, db database.Database) + func BenchmarkBatchDelete(b *testing.B, db database.Database, keys, _ [][]byte) + func BenchmarkBatchPut(b *testing.B, db database.Database, keys, values [][]byte) + func BenchmarkBatchWrite(b *testing.B, db database.Database, keys, values [][]byte) + func BenchmarkDelete(b *testing.B, db database.Database, keys, values [][]byte) + func BenchmarkGet(b *testing.B, db database.Database, keys, values [][]byte) + func BenchmarkParallelDelete(b *testing.B, db database.Database, keys, values [][]byte) + func BenchmarkParallelGet(b *testing.B, db database.Database, keys, values [][]byte) + func BenchmarkParallelPut(b *testing.B, db database.Database, keys, values [][]byte) + func BenchmarkPut(b *testing.B, db database.Database, keys, values [][]byte) + func FuzzKeyValue(f *testing.F, db database.Database) + func FuzzNewIteratorWithPrefix(f *testing.F, db database.Database) + func FuzzNewIteratorWithStartAndPrefix(f *testing.F, db database.Database) + func SetupBenchmark(b *testing.B, count int, keySize, valueSize int) ([][]byte, [][]byte) + func TestAtomicClear(t *testing.T, db database.Database) + func TestAtomicClearPrefix(t *testing.T, db database.Database) + func TestBatchDelete(t *testing.T, db database.Database) + func TestBatchInner(t *testing.T, db database.Database) + func TestBatchLargeSize(t *testing.T, db database.Database) + func TestBatchPut(t *testing.T, db database.Database) + func TestBatchReplay(t *testing.T, db database.Database) + func TestBatchReplayPropagateError(t *testing.T, db database.Database) + func TestBatchReset(t *testing.T, db database.Database) + func TestBatchReuse(t *testing.T, db database.Database) + func TestBatchRewrite(t *testing.T, db database.Database) + func TestClear(t *testing.T, db database.Database) + func TestClearPrefix(t *testing.T, db database.Database) + func TestCompactNoPanic(t *testing.T, db database.Database) + func TestConcurrentBatches(t *testing.T, db database.Database) + func TestEmptyKey(t *testing.T, db database.Database) + func TestIterator(t *testing.T, db database.Database) + func TestIteratorClosed(t *testing.T, db database.Database) + func TestIteratorError(t *testing.T, db database.Database) + func TestIteratorErrorAfterRelease(t *testing.T, db database.Database) + func TestIteratorMemorySafety(t *testing.T, db database.Database) + func TestIteratorPrefix(t *testing.T, db database.Database) + func TestIteratorSnapshot(t *testing.T, db database.Database) + func TestIteratorStart(t *testing.T, db database.Database) + func TestIteratorStartPrefix(t *testing.T, db database.Database) + func TestKeyEmptyValue(t *testing.T, db database.Database) + func TestManySmallConcurrentKVPairBatches(t *testing.T, db database.Database) + func TestMemorySafetyBatch(t *testing.T, db database.Database) + func TestMemorySafetyDatabase(t *testing.T, db database.Database) + func TestModifyValueAfterBatchPut(t *testing.T, db database.Database) + func TestModifyValueAfterBatchPutReplay(t *testing.T, db database.Database) + func TestModifyValueAfterPut(t *testing.T, db database.Database) + func TestNewBatchClosed(t *testing.T, db database.Database) + func TestOverwriteKeyValue(t *testing.T, db database.Database) + func TestPutGetEmpty(t *testing.T, db database.Database) + func TestSimpleKeyValue(t *testing.T, db database.Database) + func TestSimpleKeyValueClosed(t *testing.T, db database.Database)