Skip to content

Support multiple plans (along with concurrency / iterations) in a single yaml #189

Description

@rocketraman

Sometimes it is helpful to test the behavior of a system under different loads. For example, testing scale up and scale down behavior.

To do this, it is useful to be able to run multiple plans, one after the other.

The workaround for now is to do something like:

drill --benchmark 1 && \
  drill --benchmark 2 && \
  drill --benchmark 3

However, the downside of this approach is that such a test has to be documented externally from the benchmark file.

It would be nice to use the multi-doc feature of yaml to just define the 3 plans in a single benchmark file e.g.:

concurrency: 1
iterations: 100
plan:
  ...
---
concurrency: 10
iterations: 100
plan:
  ...
---
concurrency: 5
iterations: 100
plan:
  ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions