Event Dispatcher Profiler

Categories

Component ID

2345951

Component name

Event Dispatcher Profiler

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

/**
 * @file
 * Event dispatcher profiler CLI.
 *
 * Installation:
 * * Copy the script test.php to your drupal root.
 * * Edit settings.php and add the following line:
 *     $settings['edprofiler.subscribers']['DrupaledprofilerEventSubscriberNoopSubscriber'] = 8;
 *   This will add the noop-subscribers 8 times to the container.
 *
 * Usage:
 * * Clear caches
 *     drush cr
 * * Run script once to rebuild the container:
 *     php test.php
 * * Run script 50 times to gather the data:
 *     for ((i=0;i<50;i++)); do php test.php; done
 */