Project

General

Profile

Actions

Bug #12735

closed

Unused formatter in policy generation spend a bit of time in policy generation

Added by Nicolas CHARLES over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

We are still creating AttributeRenderer for specific renderer, that don't exist in techniques since at least Rudder 2.6

So for each template, for each node, we are instancing 3 AttributeRenderer - which add a bit of pression on the GC

Removing them improves the Promises written step generation from 39s to 38s - for 1500 nodes so a minimal improvement, but still an improvement

Actions

Also available in: Atom PDF