Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Update for example of RocksDB
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaotianGao committed Oct 21, 2019
1 parent 3088010 commit 8938393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/trials/systems/rocksdb-fillrandom/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def run(**parameters):
'''Run rocksdb benchmark and return throughput'''
bench_type = parameters['benchmarks']
# recover args
args = [f"--{k}={v}" for k, v in parameters.items()]
args = ["--{}={}".format(k, v) for k, v in parameters.items()]
# subprocess communicate
process = subprocess.Popen(['db_bench'] + args, stdout=subprocess.PIPE)
out, err = process.communicate()
Expand Down

0 comments on commit 8938393

Please sign in to comment.