benchmark/

directory
v0.9.63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: Apache-2.0

README

Benchmarks of ec CLI

Benchmarks within this directory use the golang benchmarking package and output in the standard benchmark format.

Each benchmark is built as a standalone executable with no external dependency other than any data that is contained within it. Benchmarks are run from within the directory they're defined in, simply by running go run ., additional arguments can be passed in, for example -benchnum 10 to run the benchmark 10 times.

Available benchmarks

  • simple/ — Single-component validation against the @redhat policy collection.
  • stress/ — Multi-component validation with configurable parallelism. Set EC_STRESS_COMPONENTS (default 10) and EC_STRESS_WORKERS (default 35) to control the workload.

Directories

Path Synopsis
internal
Simple benchmark running the @redhat collection policy at a fixed point in time with the state of the container image registry contained within the data/registry and git state within data/git.
Simple benchmark running the @redhat collection policy at a fixed point in time with the state of the container image registry contained within the data/registry and git state within data/git.
Stress benchmark validating a multi-component snapshot with a configurable number of workers, simulating real-world release pipeline workloads.
Stress benchmark validating a multi-component snapshot with a configurable number of workers, simulating real-world release pipeline workloads.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL