db_bench: `--report_file` 仅保留最后一次基准测试,当 `--benchmarks` 列出多个基准测试时
作者: vinibarbieri创建于 2026年9月27日更新于 2026年9月27日
RunBenchmarkconstructs a newReporterAgenton every call (tools/db_bench_tool.cc#L5298-L5301). It is called once per benchmark name (L4576), and once per warm-up and per repetition (L5091, L5100).- The
ReporterAgentconstructor opens the file
内容来源: facebook/rocksdb