Bachir Soussi Chiadmi 027aa99b32 a few more base modules 9 лет назад
..
config 027aa99b32 a few more base modules 9 лет назад
css 027aa99b32 a few more base modules 9 лет назад
images 027aa99b32 a few more base modules 9 лет назад
js 027aa99b32 a few more base modules 9 лет назад
src 027aa99b32 a few more base modules 9 лет назад
templates 027aa99b32 a few more base modules 9 лет назад
tests 027aa99b32 a few more base modules 9 лет назад
README.md 027aa99b32 a few more base modules 9 лет назад
composer.json 027aa99b32 a few more base modules 9 лет назад
webprofiler.info.yml 027aa99b32 a few more base modules 9 лет назад
webprofiler.install 027aa99b32 a few more base modules 9 лет назад
webprofiler.libraries.yml 027aa99b32 a few more base modules 9 лет назад
webprofiler.links.menu.yml 027aa99b32 a few more base modules 9 лет назад
webprofiler.links.task.yml 027aa99b32 a few more base modules 9 лет назад
webprofiler.make.yml 027aa99b32 a few more base modules 9 лет назад
webprofiler.module 027aa99b32 a few more base modules 9 лет назад
webprofiler.permissions.yml 027aa99b32 a few more base modules 9 лет назад
webprofiler.routing.yml 027aa99b32 a few more base modules 9 лет назад
webprofiler.services.yml 027aa99b32 a few more base modules 9 лет назад

README.md

!! 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';