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