Skip to content

Add prepared statements performance optimization to increase observation performance x2#535

Open
maksimuimin wants to merge 5 commits intotarantool:masterfrom
maksimuimin:perf
Open

Add prepared statements performance optimization to increase observation performance x2#535
maksimuimin wants to merge 5 commits intotarantool:masterfrom
maksimuimin:perf

Conversation

@maksimuimin
Copy link

@maksimuimin maksimuimin commented Dec 8, 2025

Add prepared statements performance optimization to increase observation performance x2

I didn't forget about

  • Tests
  • Changelog
  • Documentation (README and rst)
  • Rockspec and rpm spec

Close #534

@maksimuimin
Copy link
Author

d8dd7c7 <- this commit needs attention, the test is red on master, couldn't make it work on my Mac, just skipped it

@oleg-jukovec
Copy link
Contributor

Thank you for the patch! How do you calculate the performance improvment? Do you have any script/repro for it?

self.label_pairs[key] = label_pairs
for i = 1, self.age_buckets_count do
local quantile_obj = Quantile.NewTargeted(self.objectives)
self.collector.label_pairs[key] = self.label_pairs
Copy link

@bigbes bigbes Jan 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should self.collector.label_pairs be cleanupd in Summary.Prepared:remove()?

@patapenka-alexey patapenka-alexey changed the title Add prepared statements performance optimisation to increase observation performance x2 Add prepared statements performance optimization to increase observation performance x2 Feb 4, 2026
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.

Add prepared statements performance optimisation to increase observation performance x2

3 participants

Comments