Project

General

Profile

Bug #12735

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

Added by Nicolas CHARLES 12 months ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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

Associated revisions

Revision b3a8b021 (diff)
Added by Nicolas CHARLES 12 months ago

Fixes #12735: Unused formatter in policy generation spend a bit of time in policy generation

History

#1

Updated by Nicolas CHARLES 12 months ago

  • Description updated (diff)
#2

Updated by Nicolas CHARLES 12 months ago

  • Status changed from New to In progress
#3

Updated by Nicolas CHARLES 12 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/1958
#4

Updated by Rudder Quality Assistant 12 months ago

  • Assignee changed from François ARMAND to Nicolas CHARLES
#5

Updated by Nicolas CHARLES 12 months ago

  • Status changed from Pending technical review to Pending release
#6

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.13, 4.2.7 and 4.3.3 which were released today.

Also available in: Atom PDF