Made persistence level configurable for benchmark.