This is an automated email from the ASF dual-hosted git repository. fokko pushed a commit to branch fd-patch-jmh-gradle in repository https://gitbox.apache.org/repos/asf/iceberg.git
commit a0eb45c3f9e09c287aeec6b35276f4bd94f7266f Author: Fokko Driesprong <[email protected]> AuthorDate: Fri Dec 29 17:14:48 2023 +0100 JMH: Improvements to `jmh.gradle` Noticed this while running some benchmarks --- jmh.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/jmh.gradle b/jmh.gradle index 1a28ee0083..0768992394 100644 --- a/jmh.gradle +++ b/jmh.gradle @@ -18,12 +18,12 @@ */ if (jdkVersion != '8' && jdkVersion != '11' && jdkVersion != '17') { - throw new GradleException("The JMH benchamrks must be run with JDK 8 or JDK 11 or JDK 17") + throw new GradleException("The JMH benchmarks must be run with JDK 8 or JDK 11 or JDK 17") } def sparkVersions = (System.getProperty("sparkVersions") != null ? System.getProperty("sparkVersions") : System.getProperty("defaultSparkVersions")).split(",") def scalaVersion = System.getProperty("scalaVersion") != null ? System.getProperty("scalaVersion") : System.getProperty("defaultScalaVersion") -def jmhProjects = [project(":iceberg-core")] +def jmhProjects = [project(":iceberg-core"), project(":iceberg-data")] if (sparkVersions.contains("3.3")) { jmhProjects.add(project(":iceberg-spark:iceberg-spark-3.3_${scalaVersion}")) @@ -40,8 +40,6 @@ if (sparkVersions.contains("3.5")) { jmhProjects.add(project(":iceberg-spark:iceberg-spark-extensions-3.5_${scalaVersion}")) } -jmhProjects.add(project(":iceberg-data")) - configure(jmhProjects) { apply plugin: 'me.champeau.jmh' apply plugin: 'io.morethan.jmhreport' @@ -50,7 +48,7 @@ configure(jmhProjects) { mkdir(file(jmhReportDir)) jmh { - jmhVersion = '1.32' + jmhVersion = '1.37' failOnError = true forceGC = true includeTests = true
