Twig Profiler
Twig Profiler lets you record profiling information on chunks of your Twig template code, so you can see how long it takes to execute.
To use Twig Profiler, just wrap any chunks of Twig code you like in:
{% profile "woof" %}
{# code goes here #}
{% endprofile %}
The parameter you pass in (woof
in the above example) should be unique per profile block, so you can identity it when looking at the profiling data.
Reload your page, and then click on the Time section of the Debug Toolbar, and you'll see your profile data.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
746
License
MIT
Last release
April 27, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
2
Open PRs