@Benchmark @BenchmarkMode(Mode.AverageTime) @Fork(value = 1) @Threads(value = 1) publicvoidtestMethod() { // This is a demo/sample template for building your JMH benchmarks. Edit as // needed. // Put your benchmark code here. LogBenchMarkWorker.getInstance().logBatch(); } }