|
@@ -695,6 +695,32 @@ body {
|
|
|
|
|
|
Upon saving this file, we will see the Grunt watcher detect the changes, and your browser should automatically load the new style without you needing to refresh the page, and without a full browser refresh.
|
|
|
|
|
|
+### PHP-SPX
|
|
|
+
|
|
|
+The images also have additional profiler-tracers built-in to the <a href="https://github.com/NoiseByNorthwest/php-spx/tree/master#web-ui" target="_blank">Web UI.</a>
|
|
|
+
|
|
|
+To access the control panel, just open the following URL: `https://magento.test/?SPX_UI_URI=/`
|
|
|
+
|
|
|
+**Suggested Configuration**
|
|
|
+
|
|
|
+- Enabled: Checked
|
|
|
+- Automatic start: Checked
|
|
|
+- Profile internal functions: Unchecked
|
|
|
+- Sampling: 5ms
|
|
|
+- Max profiling depth: Unlimited
|
|
|
+- Additional metrics: Unselected
|
|
|
+
|
|
|
+Changing any options on this page set cookies for the domain for these settings. After then visiting a page on the frontend, you can navigate back to the GUI and scroll to the bottom of the page, and click the related request to view the trace of the request & response.
|
|
|
+
|
|
|
+Profiling is also possible via command line, or curl:
|
|
|
+
|
|
|
+```
|
|
|
+SPX_REPORT=full SPX_ENABLED=1 SPX_SAMPLING_PERIOD=5000 bin/magento {command_name}
|
|
|
+curl --cookie "SPX_REPORT=full; SPX_ENABLED=1; SPX_SAMPLING_PERIOD=5000" https://magento.test/
|
|
|
+```
|
|
|
+
|
|
|
+Additional information of how to work with SPX is available at https://www.youtube.com/watch?v=xk-JiBLsKfA
|
|
|
+
|
|
|
## Credits
|
|
|
|
|
|
### M.academy
|