Commit 63efb1aa authored by Eric Bruneton's avatar Eric Bruneton

Fix wrong import! Correct benchmarks results on my machine:

CURRENT CODE (3 runs)

getArgumentsAndReturnSizeFromDescriptor                thrpt   10  7841,639 ± 202,570  ops/s
getArgumentsAndReturnTypesFromDescriptor               thrpt   10  1444,529 ±  41,936  ops/s
getTypeFromDescriptor                                  thrpt   10  4586,855 ± 109,614  ops/s

getArgumentsAndReturnSizeFromDescriptor                thrpt   10  7884,111 ± 187,510  ops/s
getArgumentsAndReturnTypesFromDescriptor               thrpt   10  1448,835 ±  37,332  ops/s
getTypeFromDescriptor                                  thrpt   10  4578,097 ± 115,033  ops/s

getArgumentsAndReturnSizeFromDescriptor                thrpt   10  7868,005 ± 165,286  ops/s
getArgumentsAndReturnTypesFromDescriptor               thrpt   10  1453,131 ±  32,611  ops/s
getTypeFromDescriptor                                  thrpt   10  4537,437 ± 111,732  ops/s

NEW CODE (3 runs)

getArgumentsAndReturnSizeFromDescriptor                thrpt   10   7868,311 ± 205,813  ops/s
getArgumentsAndReturnTypesFromDescriptor               thrpt   10   1400,616 ±  47,122  ops/s
getTypeFromDescriptor                                  thrpt   10  10447,278 ± 285,315  ops/s

getArgumentsAndReturnSizeFromDescriptor                thrpt   10   7822,970 ± 180,999  ops/s
getArgumentsAndReturnTypesFromDescriptor               thrpt   10   1430,244 ±  39,596  ops/s
getTypeFromDescriptor                                  thrpt   10  10371,893 ± 308,044  ops/s

getArgumentsAndReturnSizeFromDescriptor                thrpt   10  7709,202 ± 168,070  ops/s
getArgumentsAndReturnTypesFromDescriptor               thrpt   10  1402,382 ±  34,459  ops/s
getTypeFromDescriptor                                  thrpt   10  8851,335 ± 259,663  ops/s
parent 5db12737
......@@ -11,6 +11,7 @@ import org.objectweb.asm.Handle;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.objectweb.asm.TypePath;
import org.objectweb.asm.TypeReference;
import org.openjdk.jmh.annotations.Benchmark;
......@@ -22,8 +23,6 @@ import org.openjdk.jmh.annotations.State;
import org.openjdk.jmh.annotations.Warmup;
import org.openjdk.jmh.infra.Blackhole;
import aj.org.objectweb.asm.Type;
@Fork(1)
@Warmup(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS)
@Measurement(iterations = 10, time = 1, timeUnit = TimeUnit.SECONDS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment