We use Twig 1.16.2, the latest stable is Twig 1.18.0.

The latest version of Twig introduce a profiler component that we can use in the Webprofiler module to show Twig performances (more informations here: http://symfony.com/blog/new-in-symfony-2-7-twig-profiler), see the attached screenshot for an overview about the data we can collect.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lussoluca’s picture

Assigned: Unassigned » lussoluca
Status: Active » Needs review
Issue tags: +drupaldevdays
FileSize
177.64 KB
lussoluca’s picture

Title: UpdateTwig to latest stable » Update Twig to latest stable
dawehner’s picture

Status: Needs review » Reviewed & tested by the community

I guess this will pass

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Could probably do with a bit of manual testing. OTOH is only a minor version update so let's live dangerously.

Committed and pushed to 8.0.x. Thanks!

  • webchick committed 028f530 on 8.0.x
    Issue #2472961 by lussoluca: Update Twig to latest stable
    
lussoluca’s picture

FileSize
547.6 KB

Woot! Thanks webchick, now we can have this:

Twig profiler report

webchick’s picture

Very cool! :)

star-szr’s picture

Issue tags: +Twig

Tagging, closed #2462393: Upgrade Twig to 1.18.1 from 1.18.0 as a duplicate.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.