Skip to content

Commit b8d9647

Browse files
authored
[ Kotlin / Hexagon ] Use the latest release (#10043)
* Update dependencies * Update dependencies * Update dependencies * Update dependencies * Update dependencies * Fix native image settings * Change implementations * Update version * Add tests for new adapter * Update dependencies * Update dependencies * Update dependencies * Update dependencies * Update dependencies * Update dependencies * Disable native benchmarks * Update configuration * Update configuration * Update dependencies * Update dependencies
1 parent b56aec2 commit b8d9647

File tree

7 files changed

+15
-18
lines changed

7 files changed

+15
-18
lines changed

frameworks/Java/helidon/nima/src/main/java/io/helidon/benchmark/nima/services/FortuneHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ public void writeBinaryContent(byte[] value) {
7171
throw new RuntimeException(e);
7272
}
7373
}
74-
};
74+
}
7575
}
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11

22
plugins {
3-
id "org.jetbrains.kotlin.jvm" version "2.1.20" apply false
4-
id "org.graalvm.buildtools.native" version "0.10.6" apply false
3+
id "org.jetbrains.kotlin.jvm" version "2.2.0" apply false
4+
id "org.graalvm.buildtools.native" version "0.11.0" apply false
55
}
66

77
version = "1.0.0"
88
description = "TFB benchmark"
99
group = "com.hexagontk"
1010

1111
ext {
12-
hexagonVersion = "4.1.1"
13-
jettyVersion = "12.0.19"
14-
nettyVersion = "4.2.0.Final"
12+
hexagonVersion = "4.2.3"
13+
jettyVersion = "12.0.23"
14+
nettyVersion = "4.2.3.Final"
1515

16-
hikariVersion = "6.3.0"
17-
postgresqlVersion = "42.7.5"
18-
vertxVersion = "5.0.0.CR6"
16+
hikariVersion = "7.0.1"
17+
postgresqlVersion = "42.7.7"
18+
vertxVersion = "5.0.2"
1919
cache2kVersion = "2.6.1.Final"
2020

2121
applicationClass = "com.hexagontk.BenchmarkKt"
@@ -30,6 +30,5 @@ subprojects {
3030
}
3131

3232
tasks.wrapper {
33-
// gradleVersion = "8.14.0"
34-
gradleVersion = "release-candidate"
33+
gradleVersion = "8.14.3"
3534
}

frameworks/Kotlin/hexagon/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-rc-1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

frameworks/Kotlin/hexagon/hexagon_jetty_pgclient/src/main/kotlin/Benchmark.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.hexagontk
22

3-
import com.hexagontk.core.Platform.systemFlag
43
import com.hexagontk.core.media.TEXT_HTML
54
import com.hexagontk.core.urlOf
65
import com.hexagontk.http.server.jetty.JettyServletHttpServer
@@ -16,7 +15,6 @@ fun main() {
1615
sendDateHeader = settings.sendDateHeader,
1716
sendServerVersion = settings.sendServerVersion,
1817
sendXPoweredBy = settings.sendXPoweredBy,
19-
useVirtualThreads = systemFlag("virtualThreads"),
2018
)
2119

2220
val benchmark = Benchmark(engine, store, templateEngine, templateUrl, settings)

frameworks/Kotlin/hexagon/hexagon_jetty_postgresql/src/main/kotlin/Benchmark.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.hexagontk
22

3-
import com.hexagontk.core.Platform.systemFlag
43
import com.hexagontk.core.media.TEXT_HTML
54
import com.hexagontk.core.urlOf
65
import com.hexagontk.http.server.jetty.JettyServletHttpServer
@@ -16,7 +15,6 @@ fun main() {
1615
sendDateHeader = settings.sendDateHeader,
1716
sendServerVersion = settings.sendServerVersion,
1817
sendXPoweredBy = settings.sendXPoweredBy,
19-
useVirtualThreads = systemFlag("virtualThreads"),
2018
)
2119

2220
val benchmark = Benchmark(engine, store, templateEngine, templateUrl, settings)

frameworks/Kotlin/hexagon/hexagon_nettyepoll_pgclient/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apply(from: "$gradleScripts/application.gradle")
33

44
dependencies {
55
api(project(":store_pgclient"))
6-
api("com.hexagontk.http:http_server_netty_epoll:$hexagonVersion")
6+
api("com.hexagontk.http:http_server_netty:$hexagonVersion")
77
api("io.netty:netty-transport-native-epoll:$nettyVersion:linux-x86_64")
8+
api("io.netty:netty-transport-native-io_uring:$nettyVersion:linux-x86_64")
89
}

frameworks/Kotlin/hexagon/hexagon_nettyepoll_postgresql/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apply(from: "$gradleScripts/application.gradle")
33

44
dependencies {
55
api(project(":store_sql"))
6-
api("com.hexagontk.http:http_server_netty_epoll:$hexagonVersion")
6+
api("com.hexagontk.http:http_server_netty:$hexagonVersion")
77
api("io.netty:netty-transport-native-epoll:$nettyVersion:linux-x86_64")
8+
api("io.netty:netty-transport-native-io_uring:$nettyVersion:linux-x86_64")
89
}

0 commit comments

Comments
 (0)