Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:ezpublishingbenchmark

Benchmark parallel publishing in concurrent batches (--batches-count, -l level).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/ezpublishingbenchmark.md

On this page

exp:ezpublishingbenchmark

Benchmark parallel publishing in concurrent batches (--batches-count, -l level).

Script bin/php/ezpublishingbenchmark.php, code in kernel/private/classes/commands/ezpublishingbenchmark.php. Run it from the installation root, as the user the web server runs as:

./console exp:ezpublishingbenchmark --help
php bin/php/ezpublishingbenchmark.php --help

Help text

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

OptionValueHelp
-brequired
--batches-countrequiredHow many times a concurrent batch should be started [default: 1]
-crequired
--content-classrequiredIdentifier of the content class used for testing [default: article]
-lrequired
--concurrency-levelrequiredParallel processes to use [default: 20]
-prequired
--parent-noderequiredContainer content should be created in [default: 2]
-g
--generate-contentWether content should be generated or not (not fully supported yet) [default: off]

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/ezpublishingbenchmark.php, kernel/private/classes/commands/ezpublishingbenchmark.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x