Update Graphql-kotlin build regression benchmark
Compare current vs 1.7.10 release
This commit is contained in:
+12
@@ -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
|
||||||
+5
-5
@@ -23,16 +23,16 @@ index 22383a2ff..9869bd429 100644
|
|||||||
- }
|
- }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/gradle.properties b/gradle.properties
|
diff --git a/gradle.properties b/gradle.properties
|
||||||
index ef5b74bd9..526b0052d 100644
|
index 314ccfb8c..ee33f75bc 100644
|
||||||
--- a/gradle.properties
|
--- a/gradle.properties
|
||||||
+++ b/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
|
# dependencies
|
||||||
kotlinJvmVersion = 1.8
|
kotlinJvmVersion = 1.8
|
||||||
-kotlinVersion = 1.6.20
|
-kotlinVersion = 1.6.21
|
||||||
+kotlinVersion = <kotlin_version>
|
+kotlinVersion = <kotlin_version>
|
||||||
kotlinCoroutinesVersion = 1.6.1
|
kotlinCoroutinesVersion = 1.6.1
|
||||||
kotlinxSerializationVersion = 1.3.2
|
kotlinxSerializationVersion = 1.3.2
|
||||||
|
|||||||
+8
-3
@@ -9,11 +9,16 @@
|
|||||||
@file:BenchmarkProject(
|
@file:BenchmarkProject(
|
||||||
name = "graphql-kotlin",
|
name = "graphql-kotlin",
|
||||||
gitUrl = "https://github.com/ExpediaGroup/graphql-kotlin.git",
|
gitUrl = "https://github.com/ExpediaGroup/graphql-kotlin.git",
|
||||||
gitCommitSha = "a0a8bad009a4ddbf88ce5c30200f90a091bd3df7"
|
gitCommitSha = "1a4c7a81a5c63ac9cf7e44faf125a6d1df035439"
|
||||||
)
|
)
|
||||||
|
|
||||||
import java.io.File
|
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 = {
|
val currentReleasePatch = {
|
||||||
"graphql-kotlin-current.patch" to File("benchmarkScripts/files/graphql-kotlin-current.patch")
|
"graphql-kotlin-current.patch" to File("benchmarkScripts/files/graphql-kotlin-current.patch")
|
||||||
.readText()
|
.readText()
|
||||||
@@ -64,7 +69,7 @@ runAllBenchmarks(
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mapOf(
|
mapOf(
|
||||||
"1.6.20" to null,
|
"1.7.10" to stableReleasePatch,
|
||||||
"1.7.0" to currentReleasePatch
|
"1.7.20" to currentReleasePatch
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user