Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index Btree Benchmark #237

Merged
merged 3 commits into from
Dec 16, 2023
Merged

Conversation

JacksonYao287
Copy link
Contributor

@JacksonYao287 JacksonYao287 commented Nov 18, 2023

test btree types:

1 FixedLenBtree
2 VarKeySizeBtree
3 VarValueSizeBtree
4 VarObjSizeBtree
5 PrefixIntervalBtree

we can run benchmark from command line with different parameters to simulate different case , for example:
./bin/index_btree_benchmark --num_threads=5 --num_fibers=5 --operation_list=put:100
Screenshot 2023-12-12 at 20 26 40

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (91bea03) 70.15% compared to head (d56872c) 68.56%.
Report is 1 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
- Coverage   70.15%   68.56%   -1.59%     
==========================================
  Files          97       96       -1     
  Lines        7941     8024      +83     
  Branches     1013     1046      +33     
==========================================
- Hits         5571     5502      -69     
- Misses       1881     1988     +107     
- Partials      489      534      +45     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

shosseinimotlagh

This comment was marked as resolved.

src/tests/index_btree_benchmark.cpp Outdated Show resolved Hide resolved
src/tests/index_btree_benchmark.cpp Outdated Show resolved Hide resolved
src/tests/index_btree_benchmark.cpp Outdated Show resolved Hide resolved
@JacksonYao287 JacksonYao287 force-pushed the btree_benchmark branch 2 times, most recently from 2763058 to 6f1c7e3 Compare December 12, 2023 12:25
Copy link
Contributor

@shosseinimotlagh shosseinimotlagh left a comment

Choose a reason for hiding this comment

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

LGTM

@JacksonYao287
Copy link
Contributor Author

test failure is caused by iomgr, not the test case itself

@JacksonYao287 JacksonYao287 merged commit 233f217 into eBay:master Dec 16, 2023
16 checks passed
@JacksonYao287 JacksonYao287 deleted the btree_benchmark branch December 16, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementation of basic btree/index performance benchmark
3 participants