spryker-sdk/benchmark

Benchmark module

0.2.2 2021-10-13 18:35 UTC

README

CI Latest Stable Version Minimum PHP Version PHPStan

This module allows to test the performance and response time of individual endpoints. The module allows to create your own tests and run them.

Installation

composer require --dev spryker-sdk/benchmark

Usage

How to use in Spryker projects

This module provides a convenience command:

console benchmark:run

Path to the directory with tests can be specified by option path:

console benchmark:run --path tests/Benchmark/Glue

The benchmark runner can override the number of revolutions and iterations which will be executed:

console benchmark:run --iterations=10 --revs=1000