-
Notifications
You must be signed in to change notification settings - Fork 74
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
db_bench: Create a WBM once for all db-s regardless of their use in different groups (#550) #551
db_bench: Create a WBM once for all db-s regardless of their use in different groups (#550) #551
Conversation
tools/db_bench_tool.cc
Outdated
#include "util/string_util.h" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
already included
rest LGTM |
a2ec570
to
0550e30
Compare
tools/db_bench_tool.cc
Outdated
fprintf(stderr, "\nBEFORE Benchmark (%s): %lu OF %lu\n\n", name.c_str(), | ||
open_options_.write_buffer_manager->memory_usage(), | ||
open_options_.write_buffer_manager->buffer_size()); | ||
fprintf(stderr, "\nBEFORE Benchmark (%s): %s OF %s\n\n", name.c_str(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while you're here, can you also add info to the printing that its the WBM's memory you're reporting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right now it looks like this:
BEFORE Benchmark (fillseq): 6144 OF 110000000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. And now to the Approve button please
512c772
to
4a82cec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
…ifferent groups (#550)
868391b
to
5d77855
Compare
No description provided.