@ Benchmark @ BenchmarkMode ( Mode . AverageTime ) @ OutputTimeUnit ( TimeUnit . NANOSECONDS ) public MeasureMap recordBatchedDoubleCount ( Data data ) { MeasureMap map = data . recorder . newMeasureMap ( ) ; for ( int i = 0 ; i < data . numValues ; i ++ ) { map . put ( StatsBenchmarksUtil . DOUBLE_COUNT_MEASURES [ i ] , ( double ) i ) ; } map . record ( data . tags ) ; return map ; }
Record batched double count measures .