Skip to content

Commit

Permalink
Update Scala 3.x to 3.6.2-RC3 for benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
plokhotnyuk committed Nov 29, 2024
1 parent 4152719 commit 6a4f4b8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
18 changes: 9 additions & 9 deletions benchmark-t16.sh
Original file line number Diff line number Diff line change
@@ -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
18 changes: 9 additions & 9 deletions benchmark.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 6a4f4b8

Please sign in to comment.