-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add benchmarks of qlist compression paths (#4543)
1. Add testdata, move the existing test data to zstd-compressed format. 2. Add benchmarks in qlist_test that add lots of records, forcing compression of inner noded, or read compressed list checking the decompression. Currently qlist uses valkey compression algorithm. On my machine: 1. (valkey) Compression is 5 times slower than no compression. 2. Decompression is 37 times slower. Signed-off-by: Roman Gershman <[email protected]>
- Loading branch information
Showing
9 changed files
with
79 additions
and
760 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Diagnostics: | ||
UnusedIncludes: None | ||
MissingIncludes: None | ||
Includes: | ||
IgnoreHeader: base/*.h | ||
|
||
CompileFlags: | ||
CompilationDatabase: build-dbg/ # Search for compile_commands.json |
Submodule helio
updated
12 files
+8 −0 | .clangd | |
+19 −13 | .github/workflows/ci.yml | |
+2 −0 | .github/workflows/mac-os.yml | |
+14 −3 | io/CMakeLists.txt | |
+18 −1 | io/file.cc | |
+2 −0 | io/file.h | |
+12 −7 | io/file_test.cc | |
+2 −2 | io/io.h | |
+0 −48 | io/testdata/ids.txt | |
+ − | io/testdata/ids.txt.zst | |
+65 −0 | io/zstd_sinksource.cc | |
+27 −0 | io/zstd_sinksource.h |
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
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.