diff options
Diffstat (limited to 'cmd/bolt/bench.go')
-rw-r--r-- | cmd/bolt/bench.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/bolt/bench.go b/cmd/bolt/bench.go index e8bf376..6379144 100644 --- a/cmd/bolt/bench.go +++ b/cmd/bolt/bench.go @@ -46,6 +46,7 @@ func Bench(options *BenchOptions) { fatal(err) return } + db.FillPercent = options.FillPercent defer db.Close() // Enable streaming stats. @@ -280,6 +281,7 @@ type BenchOptions struct { MemProfile string BlockProfile string StatsInterval time.Duration + FillPercent float64 Clean bool } |