Skip to content

Merge write, -sorted and -random benchmarks into one #6

@vweevers

Description

@vweevers

And add options for the keys and values, e.g. --keys/--values <type> where type is one of random, seq, seqReverse. Optionally combined with --keySize/--valueSize.

And rename the merged benchmark to put.

The next steps might be to:

  1. Compare and evaluate these options, possibly remove some
  2. Replace and/or enhance the options with "property-based" options (e.g. where you could specify --length-distribution zipfian) (https://github.com/Level/levelup/issues/227)
  3. Create "workloads" with mixed operations (along the lines of level-bench run workload --read-proportion 0.4 --update-proportion ..).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrefactorRequires or pertains to refactoring

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions