Esempio n. 1
0
 @GenerateMicroBenchmark
 public void commonsmath(BlackHole hole) {
   for (int i = 0; i < data.length - 1; i++) hole.consume(FastMath.exp(data[i]));
 }
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void widget(BlackHole bh) throws Exception {
   bh.consume(parse(STR_WIDGET_BYTES));
 }
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void small(BlackHole bh) throws Exception {
   bh.consume(parse(STR_SMALL_BYTES));
 }
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void medium(BlackHole bh) throws Exception {
   bh.consume(parse(STR_MEDIUM_BYTES));
 }
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void citmCatalog(BlackHole bh) throws Exception {
   bh.consume(parse(STR_CITM_CATALOG_BYTES));
 }
 @GenerateMicroBenchmark
 @OutputTimeUnit(TimeUnit.SECONDS)
 public void actionLabel(BlackHole bh) throws Exception {
   bh.consume(parse(STR_ACTION_LABEL_BYTES));
 }