spryker-sdk / benchmark
Benchmark module
Installs: 1 615 757
Dependents: 7
Suggesters: 0
Security: 0
Stars: 2
Watchers: 16
Forks: 1
Open Issues: 1
Requires
- php: >=7.3
- phpbench/phpbench: ^1.0.0
- psr/http-message: ^1.0.0
- spryker/guzzle: ^2.1.0
- spryker/kernel: ^3.54.0
- spryker/symfony: ^3.3.2
- spryker/util-encoding: ^2.0.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-19 04:14:31 UTC
README
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