twig_render_template micro optimization

Created on 14 January 2021, over 3 years ago
Updated 12 June 2024, 13 days ago

Problem/Motivation

There is some generalized logic in twig_render_template that does some extra work during normal rendering to support development rendering. This is not strictly necessary though.

Since this is a hot path it makes sense to have it as efficient as possible.

Steps to reproduce

Proposed resolution

Move all of the debug logic into the debug switch so the "production" path is optimized.

Remaining tasks

Benchmarks?

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.3

Component
Theme 

Last updated about 4 hours ago

Created by

🇺🇸United States neclimdul Houston, TX

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024