tree: 96669cd8a28fb499ec72d93ee9f0f37897bb5948 [path history] [tgz]
  1. src/
  2. BUILD.gn
  3. OWNERS
  4. README.md
src/sys/lib/stress-test/README.md

Stress Test Library

This library provides convenience functions to create and run stress tests.

A stress test comprises of the following public concepts:

  • Environment: Exists for the entire duration of the stress test
  • Actor: Performs operations of a particular type

Test writers must write an environment and multiple actors.

This library offers functions to host the environment and the actors in it for:

  • a given time limit
  • a given number of operations

Actors can either do work or attempt to interfere with the state of the environment. As a result, an actor can request the environment to be reset after an operation.