-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: make miniblock decoding cheaper (#3438)
This fixes a few performance bottlenecks on 2.1 take operations * Change the protobuf config to generate `bytes::Bytes` instead of `Vec`. This helps avoid some expensive FSST symbol table clones. * Moka cache lookups during initialization are expensive. Instead of one cache lookup per page we now do one cache lookup per column * Our current scheduling approach for mini block was slow. There were many switches to calculate info about the repetition index. We now precompute that during initialization. In addition, we now search the repetition index with a binary search instead of a full scan.
- Loading branch information
1 parent
c70d1d2
commit c054697
Showing
18 changed files
with
1,024 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.