コード例 #1
0
 @GenerateMicroBenchmark
 public void commonsmath(BlackHole hole) {
   for (int i = 0; i < data.length - 1; i++) hole.consume(FastMath.exp(data[i]));
 }
コード例 #2
0
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void widget(BlackHole bh) throws Exception {
   bh.consume(parse(STR_WIDGET_BYTES));
 }
コード例 #3
0
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void small(BlackHole bh) throws Exception {
   bh.consume(parse(STR_SMALL_BYTES));
 }
コード例 #4
0
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void medium(BlackHole bh) throws Exception {
   bh.consume(parse(STR_MEDIUM_BYTES));
 }
コード例 #5
0
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void citmCatalog(BlackHole bh) throws Exception {
   bh.consume(parse(STR_CITM_CATALOG_BYTES));
 }
コード例 #6
0
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void actionLabel(BlackHole bh) throws Exception {
   bh.consume(parse(STR_ACTION_LABEL_BYTES));
 }