aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/bench.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor bolt CLI.Ben Johnson2015-04-141-425/+0
|
* Add --path to bolt bench.Ben Johnson2015-04-121-2/+6
|
* Fix go vet.Ben Johnson2014-07-261-3/+3
|
* Change fill percent to be per-bucket.Ben Johnson2014-07-241-1/+3
| | | | | | This commit moves the DB.FillPercent field to Bucket.FillPercent. This allows the fill percentage to be specified per-bucket, per-tx. This value is not persisted and should be set whenever using it.
* Add DB.NoSync option for bulk loading.Ben Johnson2014-07-151-0/+2
| | | | | | | This commit adds the DB.NoSync flag to skip fsync() calls on each commit. This should only be used for bulk loading as it can corrupt your database in the event of a system failure. Initial tests show it can provide a 2x speed up for sequential inserts.
* Add Open() options, flock timeout.Ben Johnson2014-06-211-1/+1
| | | | | | | | This commit changes Open() to provide an additional Options argument. The options argument currently only has a Timeout which will cause the Open() to return ErrTimeout if a file lock cannot be obtained in time. Fixes #207.
* Remove allocations from read-only buckets.Ben Johnson2014-05-231-1/+82
|
* Add option to adjust fill percentage.Ben Johnson2014-05-151-0/+2
| | | | | | | | | | This commit adds the ability to adjust the fill percentage for splitting nodes. This works by setting a threshold that is a percentage of a total page size. When that threshold is crossed during a split then a new node is created. This is primarily beneficial for append-only workloads. Fixes #163.
* Add -work flag to 'bolt bench'.Ben Johnson2014-05-121-1/+7
| | | | | This commit adds a 'work' flag to the bolt bench utility so that databases generated by the bench CLI can be saved for analysis.
* Add streaming stats to bolt bench.Ben Johnson2014-04-301-13/+43
| | | | | | This commit adds -stats-interval to the 'bolt bench' utility. By setting this argument to an interval greater than 0s, the benchmark tool will output stats as streaming JSON. This data can, in turn, be graphed to understand performance over time.
* Merge branch 'bench-batch' into moar_benchBen Johnson2014-04-301-1/+8
|\ | | | | | | | | Conflicts: cmd/bolt/bench.go
| * Add --batch-size to 'bolt bench'.Ben Johnson2014-04-291-11/+31
| | | | | | | | | | | | | | | | This commit adds a --batch-size CLI argument to the 'bolt bench' tool. This argument will insert into Bolt in smaller batches which is a more typical use case. /cc @snormore
* | Remove bolt bench -stat.Ben Johnson2014-04-301-24/+1
| |
* | add -stats and -batch-size support to bench cmdMartin Kobetic2014-04-241-12/+55
|/
* Add 'bolt bench'.Ben Johnson2014-04-181-15/+255
| | | | | | | | | | | | | | This commit adds a flexible benchmarking tool to the 'bolt' CLI. It allows the user to separately specify the write mode and read mode (e.g. sequential random, etc). It also allows the user to isolate profiling to either the read or the writes. Currently the bench tool only supports "seq" read and write modes. It also does not support streaming of Bolt counters yet. Fixes #95. /cc @snormore
* add bench sub-packageSteven Normore2014-04-181-28/+8
|
* add benchmarks using Benchmark frameworkSteven Normore2014-04-181-1/+9
|
* moar bench packageSteven Normore2014-04-181-31/+31
|
* initial bench and generate command structureSteven Normore2014-04-181-0/+43