You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Profiling dbt parse runs on our internal analytics project reveals repetitive rendering of simple string literals as templates. The problem is significant enough that patching it makes parsing a noticeable 12% faster. I'll open a PR shortly which mitigates this somewhat, but the list below should illuminate the nature of the problem. Each string we are rendering as a template in native mode is included, prefixed by the number of times it is rendered. Each time that is done, the template is parsed, converted to python, and then executed. The word 'table' is going through this relatively slow process 41 times!
github-actionsbot
changed the title
Excessive Template Rendering During Parse of Internal Analytics
[CT-2478] Excessive Template Rendering During Parse of Internal Analytics
Apr 24, 2023
Profiling
dbt parse
runs on our internal analytics project reveals repetitive rendering of simple string literals as templates. The problem is significant enough that patching it makes parsing a noticeable 12% faster. I'll open a PR shortly which mitigates this somewhat, but the list below should illuminate the nature of the problem. Each string we are rendering as a template in native mode is included, prefixed by the number of times it is rendered. Each time that is done, the template is parsed, converted to python, and then executed. The word 'table' is going through this relatively slow process 41 times!The text was updated successfully, but these errors were encountered: