Skip to content

Fix performance issue with property selection#1892

Open
roegi wants to merge 1 commit into
masterfrom
improvePropertiesSelectionPerformance
Open

Fix performance issue with property selection#1892
roegi wants to merge 1 commit into
masterfrom
improvePropertiesSelectionPerformance

Conversation

@roegi

@roegi roegi commented Jul 17, 2026

Copy link
Copy Markdown
Contributor
  • improved the algorithm that is being used for properties-selection in the databases.
    • PLV8 function prj_build() now expects TEXT and produces TEXT to prevent slow DB native JSONB serialization & parsing
    • Improved the algorithm to not copy all data into a new object, but rather mutate the original object by deleting all unwanted fields (also lower memory footprint)
    • Also enhance test to also check nesting of objects within arrays

- improved the algorithm that is being used for properties-selection in the databases.
    - PLV8 function `prj_build()` now expects TEXT and produces TEXT to prevent slow DB native JSONB serialization & parsing
    - Improved the algorithm to not copy all data into a new object, but rather mutate the original object by deleting all unwanted fields (also lower memory footprint)
    - Also enhance test to also check nesting of objects within arrays

Signed-off-by: Benjamin Rögner <benjamin.roegner@here.com>
@roegi
roegi requested review from mchrza and qGYdXbY2 July 17, 2026 15:20
@roegi
roegi requested a review from a team as a code owner July 17, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants