From b2fa40369fb7bdfea804bcb75b08aa833a2f0091 Mon Sep 17 00:00:00 2001 From: Shreck Ye Date: Tue, 19 Nov 2024 04:21:41 +0800 Subject: [PATCH] Disable `cachePreparedStatements` in the "vertx-web-kotlinx" portion for testing purposes The single query test performance is only 30% of the original. --- .../Kotlin/vertx-web-kotlinx/src/main/kotlin/MainVerticle.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/Kotlin/vertx-web-kotlinx/src/main/kotlin/MainVerticle.kt b/frameworks/Kotlin/vertx-web-kotlinx/src/main/kotlin/MainVerticle.kt index 2bd701fa083..381857eae0d 100644 --- a/frameworks/Kotlin/vertx-web-kotlinx/src/main/kotlin/MainVerticle.kt +++ b/frameworks/Kotlin/vertx-web-kotlinx/src/main/kotlin/MainVerticle.kt @@ -55,7 +55,7 @@ class MainVerticle(val hasDb: Boolean) : CoroutineVerticle(), CoroutineRouterSup host = "tfb-database", user = "benchmarkdbuser", password = "benchmarkdbpass", - cachePreparedStatements = true, + //cachePreparedStatements = true, pipeliningLimit = 100000 ) ).coAwait()