Definition at line 12 of file Profiler.php.
◆ __construct()
Constructor
- Parameters
-
\Magento\Framework\Profiler\Driver\Standard | $driver | |
Definition at line 33 of file Profiler.php.
35 $this->_driver = $driver;
◆ _registerDriver()
Register profiler driver to involve it into the results processing
Definition at line 41 of file Profiler.php.
43 if (!$this->_isDriverRegistered) {
44 $this->_isDriverRegistered =
true;
static add(DriverInterface $driver)
◆ registerBambooProfiler()
registerBambooProfiler |
( |
|
$profilerOutputFile, |
|
|
|
$profilerMetricsFile |
|
) |
| |
Register profiler with Bamboo-friendly output format
- Parameters
-
string | $profilerOutputFile | |
string | $profilerMetricsFile | |
Definition at line 68 of file Profiler.php.
71 $this->_driver->registerOutput(
72 new \
Magento\TestFramework\Profiler\OutputBamboo(
73 [
'filePath' => $profilerOutputFile,
'metrics' => require $profilerMetricsFile]
◆ registerFileProfiler()
registerFileProfiler |
( |
|
$profilerOutputFile | ) |
|
Register file-based profiling
- Parameters
-
string | $profilerOutputFile | |
Definition at line 54 of file Profiler.php.
57 $this->_driver->registerOutput(
58 new \
Magento\Framework\Profiler\Driver\Standard\Output\Csvfile([
'filePath' => $profilerOutputFile])
◆ $_driver
◆ $_isDriverRegistered
$_isDriverRegistered = false |
|
protected |
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Bootstrap/Profiler.php