Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
StateBackendBenchmarkUtils use null as the parent dir to create temp dir, which will finally use the /tmp as the data dir. It has two downsides:
1. the /tmp dir often mount with tmpfs, which may store data in memory. it will affect the result of rocksdb benchmark
2. It can not support to use benchmark to measure the performance on a new device.
So I purpose to enhance the state benchmark to support specify the default data dir. And avoiding to use the /tmp as default.