diff --git a/benchmark-t16.sh b/benchmark-t16.sh index 823f5f4e9..60838587f 100755 --- a/benchmark-t16.sh +++ b/benchmark-t16.sh @@ -1,10 +1,10 @@ #!/bin/bash -sbt -batch -java-home /usr/lib/jvm/jdk-24 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff jdk-24-t16.json .*' 2>&1 | tee jdk-24-t16.txt -sbt -batch -java-home /usr/lib/jvm/jdk-21 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff jdk-21-t16.json .*' 2>&1 | tee jdk-21-t16.txt -sbt -batch -java-home /usr/lib/jvm/jdk-17 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff jdk-17-t16.json .*' 2>&1 | tee jdk-17-t16.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-24 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-jdk-24-t16.json .*' 2>&1 | tee graalvm-jdk-24-t16.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-21 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-jdk-21-t16.json .*' 2>&1 | tee graalvm-jdk-21-t16.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-17 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-jdk-17-t16.json .*' 2>&1 | tee graalvm-jdk-17-t16.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-24 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-community-jdk-24-t16.json .*' 2>&1 | tee graalvm-community-jdk-24-t16.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-21 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-community-jdk-21-t16.json .*' 2>&1 | tee graalvm-community-jdk-21-t16.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-17 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-community-jdk-17-t16.json .*' 2>&1 | tee graalvm-community-jdk-17-t16.txt +sbt -batch -java-home /usr/lib/jvm/jdk-24 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff jdk-24-t16.json .*' 2>&1 | tee jdk-24-t16.txt +sbt -batch -java-home /usr/lib/jvm/jdk-21 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff jdk-21-t16.json .*' 2>&1 | tee jdk-21-t16.txt +sbt -batch -java-home /usr/lib/jvm/jdk-17 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff jdk-17-t16.json .*' 2>&1 | tee jdk-17-t16.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-24 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-jdk-24-t16.json .*' 2>&1 | tee graalvm-jdk-24-t16.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-21 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-jdk-21-t16.json .*' 2>&1 | tee graalvm-jdk-21-t16.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-17 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-jdk-17-t16.json .*' 2>&1 | tee graalvm-jdk-17-t16.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-24 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-community-jdk-24-t16.json .*' 2>&1 | tee graalvm-community-jdk-24-t16.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-21 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-community-jdk-21-t16.json .*' 2>&1 | tee graalvm-community-jdk-21-t16.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-17 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -t 16 -p size=128 -prof gc -rf json -rff graalvm-community-jdk-17-t16.json .*' 2>&1 | tee graalvm-community-jdk-17-t16.txt diff --git a/benchmark.sh b/benchmark.sh index 1f9144451..1fe8d7bda 100755 --- a/benchmark.sh +++ b/benchmark.sh @@ -1,10 +1,10 @@ #!/bin/bash -sbt -batch -java-home /usr/lib/jvm/jdk-24 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff jdk-24.json .*' 2>&1 | tee jdk-24.txt -sbt -batch -java-home /usr/lib/jvm/jdk-21 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff jdk-21.json .*' 2>&1 | tee jdk-21.txt -sbt -batch -java-home /usr/lib/jvm/jdk-17 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff jdk-17.json .*' 2>&1 | tee jdk-17.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-24 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-jdk-24.json .*' 2>&1 | tee graalvm-jdk-24.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-21 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-jdk-21.json .*' 2>&1 | tee graalvm-jdk-21.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-17 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-jdk-17.json .*' 2>&1 | tee graalvm-jdk-17.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-24 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-community-jdk-24.json .*' 2>&1 | tee graalvm-community-jdk-24.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-21 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-community-jdk-21.json .*' 2>&1 | tee graalvm-community-jdk-21.txt -sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-17 ++3.6.2-RC2 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-community-jdk-17.json .*' 2>&1 | tee graalvm-community-jdk-17.txt +sbt -batch -java-home /usr/lib/jvm/jdk-24 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff jdk-24.json .*' 2>&1 | tee jdk-24.txt +sbt -batch -java-home /usr/lib/jvm/jdk-21 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff jdk-21.json .*' 2>&1 | tee jdk-21.txt +sbt -batch -java-home /usr/lib/jvm/jdk-17 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff jdk-17.json .*' 2>&1 | tee jdk-17.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-24 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-jdk-24.json .*' 2>&1 | tee graalvm-jdk-24.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-21 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-jdk-21.json .*' 2>&1 | tee graalvm-jdk-21.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-jdk-17 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-jdk-17.json .*' 2>&1 | tee graalvm-jdk-17.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-24 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-community-jdk-24.json .*' 2>&1 | tee graalvm-community-jdk-24.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-21 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-community-jdk-21.json .*' 2>&1 | tee graalvm-community-jdk-21.txt +sbt -batch -java-home /usr/lib/jvm/graalvm-community-jdk-17 ++3.6.2-RC3 clean 'jsoniter-scala-benchmarkJVM/jmh:run -jvmArgsAppend "-Djmh.executor=FJP" -p size=128 -prof gc -rf json -rff graalvm-community-jdk-17.json .*' 2>&1 | tee graalvm-community-jdk-17.txt diff --git a/build.sbt b/build.sbt index 5b369dbc8..5c0066dfa 100644 --- a/build.sbt +++ b/build.sbt @@ -234,7 +234,7 @@ lazy val `jsoniter-scala-benchmark` = crossProject(JVMPlatform, JSPlatform) .settings(commonSettings) .settings(noPublishSettings) .settings( - crossScalaVersions := Seq("3.6.2-RC2", "2.13.15"), + crossScalaVersions := Seq("3.6.2-RC3", "2.13.15"), scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match { case Some((2, _)) => Seq() case _ => Seq("-source:3.3", "-Xmax-inlines:100")