Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8213319

[Graal] 30% regression to C2 on AESBench.encrypt AES/ECB/PKCS5Padding

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 12
    • hotspot

       The open corpus of JMH micros is a maven project here: http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks

      C2:
      Benchmark (algorithm) (dataSize) (keyLength) (provider) Mode Cnt Score Error Units
      AESBench.encrypt AES/ECB/PKCS5Padding 16384 128 thrpt 15 35908.400 ± 903.334 ops/s

      Graal:
      Benchmark (algorithm) (dataSize) (keyLength) (provider) Mode Cnt Score Error Units
      AESBench.encrypt AES/ECB/PKCS5Padding 16384 128 thrpt 15 24976.168 ± 2054.638 ops/s

      To repro just this one, run it like:
      java -jar target/jmh-jdk-microbenchmarks-1.0-SNAPSHOT.jar crypto.full.AESBench.encrypt -f 1 -i 15 -p algorithm=AES/ECB/PKCS5Padding -prof perfasm

            ecaspole Eric Caspole
            ecaspole Eric Caspole
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: