MCPcopy
hub / github.com/etcd-io/bbolt / Benchmark_FreelistRelease10000K

Function Benchmark_FreelistRelease10000K

internal/freelist/freelist_test.go:571–571  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

569func Benchmark_FreelistRelease100K(b *testing.B) { benchmark_FreelistRelease(b, 100000) }
570func Benchmark_FreelistRelease1000K(b *testing.B) { benchmark_FreelistRelease(b, 1000000) }
571func Benchmark_FreelistRelease10000K(b *testing.B) { benchmark_FreelistRelease(b, 10000000) }
572
573func benchmark_FreelistRelease(b *testing.B, size int) {
574 ids := randomPgids(size)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected