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

Add Scan benchmark #23

Merged
merged 5 commits into from Apr 9, 2019
Merged

Conversation

yangjuns
Copy link
Collaborator

@yangjuns yangjuns commented Apr 9, 2019

  • SingleVersionScan

  • MultiVersionScan

@yangjuns yangjuns self-assigned this Apr 9, 2019
@yangjuns yangjuns requested a review from jrolli April 9, 2019 01:48
@yangjuns yangjuns added the ReadyForReview This PR is ready for review label Apr 9, 2019
@yangjuns yangjuns changed the title Scan benchmark Add Scan benchmark Apr 9, 2019
Copy link
Collaborator

@jrolli jrolli left a comment

Choose a reason for hiding this comment

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

Looks good. Will merge once CI checks complete.

for (auto _ : state) {
uint32_t tuples_read = 0;
auto start_pos = table_->begin(storage::layout_version_t(0));
while (tuples_read != num_inserts_) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are we using this conditional rather than the more canonical “!= table_.end()” construct?

@codecov-io
Copy link

Codecov Report

Merging #23 into schema_change will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##           schema_change      #23   +/-   ##
==============================================
  Coverage          89.32%   89.32%           
==============================================
  Files                118      118           
  Lines               4610     4610           
==============================================
  Hits                4118     4118           
  Misses               492      492
Impacted Files Coverage Δ
src/include/storage/sql_table.h 97.87% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 587cce0...1dc7f87. Read the comment docs.

@jrolli jrolli merged commit 87413eb into yashNaN:schema_change Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ReadyForReview This PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants