|
hace 8 años | |
---|---|---|
.. | ||
config | hace 8 años | |
css | hace 8 años | |
images | hace 8 años | |
js | hace 8 años | |
src | hace 8 años | |
templates | hace 8 años | |
tests | hace 8 años | |
README.md | hace 8 años | |
composer.json | hace 8 años | |
webprofiler.info.yml | hace 8 años | |
webprofiler.install | hace 8 años | |
webprofiler.libraries.yml | hace 8 años | |
webprofiler.links.menu.yml | hace 8 años | |
webprofiler.links.task.yml | hace 8 años | |
webprofiler.make.yml | hace 8 años | |
webprofiler.module | hace 8 años | |
webprofiler.permissions.yml | hace 8 años | |
webprofiler.routing.yml | hace 8 años | |
webprofiler.services.yml | hace 8 años |
!! README.md is a work in progress !!
#Dependencies:
d3.js: Webprofiler module requires D3 library 3.x (not 4.x) to render data. Download https://github.com/mbostock/d3 into /libraries/d3/d3.min.js
highlight.js: Webprofiler module requires highlight library to syntax highlight collected queries. Download http://highlightjs.org into /libraries/highlight
#IDE link:
Every class name discovered while profiling (controller class, event class) are linked to an url for directly open in an IDE, you can configure the url of those link based on the IDE you are using:
#Timeline:
Now it is possible to also collect the time needed to instantiate every single service used in a request, to make it work you need to add these two lines to settings.php (or, event better, to settings.local.php):
$class_loader->addPsr4('Drupal\\webprofiler\\', [ __DIR__ . '/../../modules/contrib/devel/webprofiler/src']);
$settings['container_base_class'] = '\Drupal\webprofiler\DependencyInjection\TraceableContainer';