Reorganize code in BenchmarkServiceImpl.initialize().