exp:ezpublishingbenchmark
Available before Exponential 6: the legacy kernel had it before Exponential 6; the 4.x reference had no page for it.
Summary
Benchmark parallel publishing in concurrent batches (--batches-count, -l level)
Usage
./console exp:ezpublishingbenchmark [options] php bin/php/ezpublishingbenchmark.php [options]
Help
The output of ./console help exp:ezpublishingbenchmark (the script run with --help), without the standard options:
Usage: bin/php/ezpublishingbenchmark.php [OPTION]... Parallel publishing benchmark Runs concurrent batches of content publishing to measure how the installation copes with it. Example: ./bin/php/ezpublishingbenchmark.php --concurrency-level=20 --batches-count=1 Options: -b --batches-count=VALUE How many times a concurrent batch should be started [default: 1] --content-class=VALUE Identifier of the content class used for testing [default: article] -l --concurrency-level=VALUE Parallel processes to use [default: 20] -p --parent-node=VALUE Container content should be created in [default: 2] -g --generate-content Wether content should be generated or not (not fully supported yet) [default: off]
Options
| Option | Value | Description |
|---|---|---|
| -b | required | |
| --batches-count | required | How many times a concurrent batch should be started [default: 1] |
| -c | required | |
| --content-class | required | Identifier of the content class used for testing [default: article] |
| -l | required | |
| --concurrency-level | required | Parallel processes to use [default: 20] |
| -p | required | |
| --parent-node | required | Container content should be created in [default: 2] |
| -g | - | |
| --generate-content | - | Wether content should be generated or not (not fully supported yet) [default: off] |
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/ezpublishingbenchmark.php, kernel/private/classes/commands/ezpublishingbenchmark.php
See also
Generated example: exp:ezpublishingbenchmark
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment