Skip to content

Commit

Permalink
Update Hexagon and improve Netty Epoll configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Nov 5, 2023
1 parent 0721be8 commit ba4ddfb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
8 changes: 4 additions & 4 deletions frameworks/Kotlin/hexagon/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

plugins {
id "org.jetbrains.kotlin.jvm" version "1.9.20-RC2" apply false
id "org.jetbrains.kotlin.jvm" version "1.9.20" apply false
id "org.graalvm.buildtools.native" version "0.9.28" apply false
}

Expand All @@ -9,11 +9,11 @@ description = "TFB benchmark"
group = "com.hexagonkt"

ext {
hexagonVersion = "3.4.0"
jettyVersion = "12.0.2"
hexagonVersion = "3.4.3"
jettyVersion = "12.0.3"
nettyVersion = "4.1.100.Final"

hikariVersion = "5.0.1"
hikariVersion = "5.1.0"
postgresqlVersion = "42.6.0"
vertxVersion = "4.4.6"
cache2kVersion = "2.6.1.Final"
Expand Down
4 changes: 2 additions & 2 deletions frameworks/Kotlin/hexagon/core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

plugins {
id("gg.jte.gradle") version("3.1.3")
id("gg.jte.gradle") version("3.1.4")
}

dependencies {
Expand All @@ -10,7 +10,7 @@ dependencies {
api("com.hexagonkt:serialization_jackson_json:$hexagonVersion")
api("org.cache2k:cache2k-core:$cache2kVersion")

jteGenerate("gg.jte:jte-native-resources:3.1.3")
jteGenerate("gg.jte:jte-native-resources:3.1.4")
}

tasks.register("minimizeTemplate") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ fun main() {
val store = BenchmarkPgClientStore("postgresql")
val templateEngine = JteAdapter(TEXT_HTML, precompiled = true)
val templateUrl = urlOf("classpath:fortunes.jte")
val engine = NettyEpollServerAdapter()
val engine = NettyEpollServerAdapter(
keepAliveHandler = false,
httpAggregatorHandler = false,
chunkedHandler = false,
enableWebsockets = false,
)

val benchmark = Benchmark(engine, store, templateEngine, templateUrl, settings)
benchmark.server.start()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ fun main() {
val store = BenchmarkSqlStore("postgresql")
val templateEngine = JteAdapter(TEXT_HTML, precompiled = true)
val templateUrl = urlOf("classpath:fortunes.jte")
val engine = NettyEpollServerAdapter()
val engine = NettyEpollServerAdapter(
keepAliveHandler = false,
httpAggregatorHandler = false,
chunkedHandler = false,
enableWebsockets = false,
)

val benchmark = Benchmark(engine, store, templateEngine, templateUrl, settings)
benchmark.server.start()
Expand Down

0 comments on commit ba4ddfb

Please sign in to comment.