# 编译
# 拉取 https://github.com/powerispower/polar_race2018__engine.git
git submodule init
git submodule update --remote --rebase
make clean && make
# 运行benchmark_write
./benchmark_write \
--db_name your_db_name \
--thread_num 64 \
--data_num_per_thread 100
# 运行benchmark_read
./benchmark_read \
--db_name your_db_name \
--input_data your_input_file \
--thread_num 64
example of your_input_file:
-701650746043007101 12510867064863635312
7485958427358951629 6514538137122403340
3298304116713096505 10768630635511849718
6381434364343182315 13393317789206788936
6411843271829142533 6981962204903017771
···
example to get the your_input_file from the benchmark_write:
./benchmark_write \
--db_name your_db_name \
--thread_num 64 \
--record_key_value true > ./benchmark_write.out
-
Notifications
You must be signed in to change notification settings - Fork 0
powerispower/polar_race2018__benchmark
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published