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

bench: add bench action #173

Merged
merged 20 commits into from
Jul 12, 2022
Merged

bench: add bench action #173

merged 20 commits into from
Jul 12, 2022

Conversation

GanZiheng
Copy link
Contributor

Signed-off-by: GanZiheng [email protected]

Signed-off-by: GanZiheng <[email protected]>
@codecov
Copy link

codecov bot commented Jul 4, 2022

Codecov Report

Merging #173 (9e816ec) into master (e987131) will decrease coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
- Coverage   89.64%   89.47%   -0.18%     
==========================================
  Files          39       39              
  Lines        8739     8739              
==========================================
- Hits         7834     7819      -15     
- Misses        905      920      +15     

Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

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

Where is the output

Signed-off-by: GanZiheng <[email protected]>
Signed-off-by: GanZiheng <[email protected]>
Signed-off-by: GanZiheng <[email protected]>
Signed-off-by: GanZiheng <[email protected]>
Signed-off-by: GanZiheng <[email protected]>
Signed-off-by: GanZiheng <[email protected]>
Cargo.toml Outdated Show resolved Hide resolved
opts.dir = dir_path.to_path_buf();
opts.value_dir = dir_path.to_path_buf();

c.bench_function("badger populate large value", |b| {
Copy link
Member

Choose a reason for hiding this comment

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

should reuse the bench_badger impl with value size as a variable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In fact, I found we could not simply reuse them.

Signed-off-by: GanZiheng <[email protected]>
@GanZiheng
Copy link
Contributor Author

This is screenshot of GitHub page about benchmark result.
screenshot-20220706-160608

@Connor1996
Copy link
Member

This is screenshot of GitHub page about benchmark result. screenshot-20220706-160608

can we merge the same case for badger and rocks in one diagram?

@GanZiheng
Copy link
Contributor Author

Seems we cannot do it 🤣

Signed-off-by: GanZiheng <[email protected]>
Signed-off-by: GanZiheng <[email protected]>
@GanZiheng
Copy link
Contributor Author

can we merge the same case for badger and rocks in one diagram?

After modifying the html file generated by the action, we could get something like this.
screenshot-20220706-203812

benches/benches_agate_rocks.rs Outdated Show resolved Hide resolved
benches/benches_agate_rocks.rs Outdated Show resolved Hide resolved
Signed-off-by: GanZiheng <[email protected]>
Signed-off-by: GanZiheng <[email protected]>
Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@Connor1996 Connor1996 merged commit a4e06f1 into tikv:master Jul 12, 2022
@Connor1996 Connor1996 mentioned this pull request Aug 15, 2022
16 tasks
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