Query monitor Twig profile
Find out which pages are slow, and why! Immediately see profiling information from twig in your Query Monitor toolbar. The Twig profile extension for Query Monitor helps you notice which templates are used on a page and where the time rendering the page is spent. Kind of like the ‘What the file’ plu
About this tool.
Find out which pages are slow, and why! Immediately see profiling information from twig in your Query Monitor toolbar.
The Twig profile extension for Query Monitor helps you notice which templates are used on a page and where the time rendering the page is spent.
Kind of like the ‘What the file’ plugin , but for Twig and with timing information.
- Support for dark mode.
- Clickable links to profiled templates in your preferred editor.
- Downloadable blackfire.io profiles.
- History mode. Save profiles so you can see the impact of your changes.
- Color scheme for dark and light modes meet WCAG AA accessibility standards, and all controls are keyboard accessible.
- Automatically integrates with Timber.
Development
This open source tool is developed in a public GitHub repository . If you have any feature requests, found an issue or want to contribute check out the repository.
Screenshots & previews.
Getting started.
- 01Install the plugin.
- 02Activate it.
- 03Check the ‘Twig profile’ tab in Query Monitor.
- 04Speed up your site!
Alternatively, you can use wpackagist or packagist .
You can also download specific releases and the development version from GitHub .
Frequently asked questions.
Can I use it with other frameworks that use twig?
Definitely. Just add a twig profiler extension to your twig instance and submit it to the collector.