Skip to content

Commit

Permalink
Enable io_uring and run the benchmark
Browse files Browse the repository at this point in the history
The single query performance is improved by 5% - 10%.
  • Loading branch information
ShreckYe committed Oct 27, 2024
1 parent f8d546d commit 32ecdf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frameworks/Kotlin/vertx-web-kotlinx/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ dependencies {
implementation("io.netty", "netty-transport-native-epoll", classifier = "linux-x86_64")
implementation("io.vertx:vertx-lang-kotlin")
implementation("io.vertx:vertx-lang-kotlin-coroutines")
runtimeOnly("io.vertx:vertx-io_uring-incubator")
// This dependency has to be added for io_uring to work.
runtimeOnly("io.netty.incubator:netty-incubator-transport-native-io_uring:0.0.25.Final:linux-x86_64")

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
Expand Down

0 comments on commit 32ecdf0

Please sign in to comment.