Add benchmarks compaction-to-end, reset compaction duration in compaction after restoring
- Add new benchmark to test the duration of compaction to the end.
- Based on the results of compaction-to-end, reset the compaction duration in compaction after restoring.