eZ Publish  [trunk]
ezpublishingbenchmark.php File Reference

Go to the source code of this file.

Variables

 $cli = eZCLI::instance()
 $currentJobs = array()
 $db = eZDB::instance()
 $mysqlInnoDBLockWaitTimeout = $mysqlOptions[0]['Value']
 $mysqlMaxConnections = $mysqlOptions[0]['Value']
 $mysqlOptions = $db->arrayQuery( "SHOW VARIABLES LIKE 'innodb_lock_wait_timeout'" )
 $optBatchesCount = 1
 $optConcurrencyLevel = 20
 $optContentClass = 'article'
 $optGenerateContent = false
 $options
 $optParentNode = 2
 $optQuiet = false
 $originalParentNodeId = $optParentNode
 $script
 $signalQueue = array()
 $sys = eZSys::instance()

Variable Documentation

$cli = eZCLI::instance()

Definition at line 23 of file ezpublishingbenchmark.php.

$currentJobs = array()

Definition at line 78 of file ezpublishingbenchmark.php.

$db = eZDB::instance()

Definition at line 61 of file ezpublishingbenchmark.php.

$mysqlInnoDBLockWaitTimeout = $mysqlOptions[0]['Value']

Definition at line 63 of file ezpublishingbenchmark.php.

$mysqlMaxConnections = $mysqlOptions[0]['Value']

Definition at line 65 of file ezpublishingbenchmark.php.

$mysqlOptions = $db->arrayQuery( "SHOW VARIABLES LIKE 'innodb_lock_wait_timeout'" )

Definition at line 62 of file ezpublishingbenchmark.php.

$optBatchesCount = 1

Definition at line 47 of file ezpublishingbenchmark.php.

$optConcurrencyLevel = 20

Definition at line 44 of file ezpublishingbenchmark.php.

$optContentClass = 'article'

Definition at line 43 of file ezpublishingbenchmark.php.

$optGenerateContent = false

Definition at line 45 of file ezpublishingbenchmark.php.

$options
Initial value:
 $script->getOptions( "[b:|batches-count:][c:|content-class:][l:|concurrency-level:][p:|parent-node:][g|generate-content]",
"",
array( 'content-class'     => "Identifier of the content class used for testing [default: article]",
       'concurrency-level' => "Parallel processes to use [default: 20]",
       'generate-content'  => "Wether content should  be generated or not (not fully supported yet) [default: off]",
       'parent-node'       => "Container content should be created in [default: 2]",
       'batches-count'     => "How many times a concurrent batch should be started [default: 1]" ) )

Definition at line 31 of file ezpublishingbenchmark.php.

$optParentNode = 2

Definition at line 42 of file ezpublishingbenchmark.php.

$optQuiet = false

Definition at line 46 of file ezpublishingbenchmark.php.

$originalParentNodeId = $optParentNode

Definition at line 59 of file ezpublishingbenchmark.php.

Initial value:
 eZScript::instance( array( 'description' => "eZ Publish Parallel publishing benchmark",
                                     'use-session' => false,
                                     'use-modules' => true,
                                     'use-extensions' => true ) )

Definition at line 24 of file ezpublishingbenchmark.php.

$signalQueue = array()

Definition at line 79 of file ezpublishingbenchmark.php.

$sys = eZSys::instance()

Definition at line 38 of file ezpublishingbenchmark.php.