Update Graphql-kotlin build regression benchmark

Compare current vs 1.7.10 release
This commit is contained in:
Yahor Berdnikau
2022-07-11 18:03:02 +02:00
parent fd52f475cb
commit 453154780b
3 changed files with 25 additions and 8 deletions
@@ -0,0 +1,12 @@
diff --git a/gradle.properties b/gradle.properties
index 314ccfb8c..ee33f75bc 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -15,7 +15,7 @@ org.gradle.jvmargs=-Xmx2g -XX:+HeapDumpOnOutOfMemoryError
# dependencies
kotlinJvmVersion = 1.8
-kotlinVersion = 1.6.21
+kotlinVersion = 1.7.10
kotlinCoroutinesVersion = 1.6.1
kotlinxSerializationVersion = 1.3.2
@@ -23,16 +23,16 @@ index 22383a2ff..9869bd429 100644
- }
}
}
diff --git a/gradle.properties b/gradle.properties
index ef5b74bd9..526b0052d 100644
index 314ccfb8c..ee33f75bc 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -15,7 +15,7 @@ org.gradle.jvmargs=-Xmx2g -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError
@@ -15,7 +15,7 @@ org.gradle.jvmargs=-Xmx2g -XX:+HeapDumpOnOutOfMemoryError
# dependencies
kotlinJvmVersion = 1.8
-kotlinVersion = 1.6.20
-kotlinVersion = 1.6.21
+kotlinVersion = <kotlin_version>
kotlinCoroutinesVersion = 1.6.1
kotlinxSerializationVersion = 1.3.2
@@ -9,11 +9,16 @@
@file:BenchmarkProject(
name = "graphql-kotlin",
gitUrl = "https://github.com/ExpediaGroup/graphql-kotlin.git",
gitCommitSha = "a0a8bad009a4ddbf88ce5c30200f90a091bd3df7"
gitCommitSha = "1a4c7a81a5c63ac9cf7e44faf125a6d1df035439"
)
import java.io.File
val stableReleasePatch = {
"graphql-kotlin-1.7.10.patch" to File("benchmarkScripts/files/graphql-kotlin-1.7.10.patch")
.readText()
.byteInputStream()
}
val currentReleasePatch = {
"graphql-kotlin-current.patch" to File("benchmarkScripts/files/graphql-kotlin-current.patch")
.readText()
@@ -64,7 +69,7 @@ runAllBenchmarks(
}
},
mapOf(
"1.6.20" to null,
"1.7.0" to currentReleasePatch
"1.7.10" to stableReleasePatch,
"1.7.20" to currentReleasePatch
)
)