Project

General

Profile

Actions

Architecture #19834

closed

Improve relayd compilation time by 30-40%

Added by Alexis MOUSSET 9 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Relay server or API
Target version:
Effort required:

Description

Use BoxedFilter in warp to avoid monomorphization cost, in exchange for a very small runtime cost which should absolutely acceptable.

https://rust-classes.com/chapter_6_3.html

the crate compilation time goes from 50 to 30 seconds, and the incremental build time from 30 to 20s

Actions #1

Updated by Alexis MOUSSET 9 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET
Actions #2

Updated by Alexis MOUSSET 9 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder/pull/3843
Actions #3

Updated by Alexis MOUSSET 9 months ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF