Update kvision build regression benchmarks
Added as well benchmarks for configuration time only checks.
This commit is contained in:
+6
-6
@@ -12,10 +12,10 @@ index db904c8841..ef155edc8e 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
- implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
|
- implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
|
||||||
+ implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:<kotlin_version>")
|
+ implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:<kotlin_version>")
|
||||||
implementation("de.marcphilipp.gradle:nexus-publish-plugin:0.4.0")
|
implementation("de.marcphilipp.gradle:nexus-publish-plugin:0.4.0")
|
||||||
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.7.0") {
|
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.7.10") {
|
||||||
exclude("org.jetbrains.kotlin","kotlin-stdlib-jdk8")
|
exclude("org.jetbrains.kotlin","kotlin-stdlib-jdk8")
|
||||||
diff --git a/buildSrc/src/main/kotlin/Shared.kt b/buildSrc/src/main/kotlin/Shared.kt
|
diff --git a/buildSrc/src/main/kotlin/Shared.kt b/buildSrc/src/main/kotlin/Shared.kt
|
||||||
index cb90de74ab..440e2ce91a 100644
|
index cb90de74ab..440e2ce91a 100644
|
||||||
@@ -38,13 +38,13 @@ index 5cb5298782..3fb47f8cdc 100644
|
|||||||
+++ b/gradle.properties
|
+++ b/gradle.properties
|
||||||
@@ -1,7 +1,7 @@
|
@@ -1,7 +1,7 @@
|
||||||
group=io.kvision
|
group=io.kvision
|
||||||
versionNumber=5.12.0
|
versionNumber=5.16.1
|
||||||
|
|
||||||
-systemProp.kotlinVersion=1.7.10
|
-systemProp.kotlinVersion=1.7.20
|
||||||
+systemProp.kotlinVersion=<kotlin_version>
|
+systemProp.kotlinVersion=<kotlin_version>
|
||||||
javaVersion=1.8
|
javaVersion=1.8
|
||||||
coroutinesVersion=1.6.3
|
coroutinesVersion=1.6.4
|
||||||
serializationVersion=1.3.3
|
serializationVersion=1.4.0
|
||||||
diff --git a/settings.gradle.kts b/settings.gradle.kts
|
diff --git a/settings.gradle.kts b/settings.gradle.kts
|
||||||
index f85a2f087e..a122b6fd5e 100644
|
index f85a2f087e..a122b6fd5e 100644
|
||||||
--- a/settings.gradle.kts
|
--- a/settings.gradle.kts
|
||||||
|
|||||||
+45
-12
@@ -9,7 +9,7 @@
|
|||||||
@file:BenchmarkProject(
|
@file:BenchmarkProject(
|
||||||
name = "kvision",
|
name = "kvision",
|
||||||
gitUrl = "https://github.com/rjaros/kvision.git",
|
gitUrl = "https://github.com/rjaros/kvision.git",
|
||||||
gitCommitSha = "675de063cf065416536711a701eaee40b18f3e05"
|
gitCommitSha = "3fe69bf6db9a3650b026630d857862f3cee6485b"
|
||||||
)
|
)
|
||||||
|
|
||||||
import java.io.File
|
import java.io.File
|
||||||
@@ -23,15 +23,26 @@ val currentReleasePatch = {
|
|||||||
|
|
||||||
runAllBenchmarks(
|
runAllBenchmarks(
|
||||||
suite {
|
suite {
|
||||||
// Disabled due to the possible error "No space left on device"
|
scenario {
|
||||||
// Kotlin/Js/Ir trashes /tmp directory with files that are not reused
|
title = "Build Js IR clean build"
|
||||||
// Check https://youtrack.jetbrains.com/issue/KT-52176/Kotlin-JS-Ir-compilation-creates-build-files-in-system-temp-dire
|
|
||||||
// scenario {
|
runTasks("jsIrJar")
|
||||||
// title = "Build Js IR clean build"
|
runCleanupTasks("clean")
|
||||||
//
|
}
|
||||||
// runTasks("jsIrJar")
|
|
||||||
// runCleanupTasks("clean")
|
scenario {
|
||||||
// }
|
title = "Build Js IR with ABI change in ObservableList"
|
||||||
|
|
||||||
|
runTasks("jsIrJar")
|
||||||
|
applyAbiChangeTo("kvision-modules/kvision-state/src/main/kotlin/io/kvision/state/ObservableList.kt")
|
||||||
|
}
|
||||||
|
|
||||||
|
scenario {
|
||||||
|
title = "Build Js IR with non-ABI change in ObservableList"
|
||||||
|
|
||||||
|
runTasks("jsIrJar")
|
||||||
|
applyNonAbiChangeTo("kvision-modules/kvision-state/src/main/kotlin/io/kvision/state/ObservableList.kt")
|
||||||
|
}
|
||||||
|
|
||||||
scenario {
|
scenario {
|
||||||
title = "Build Js Legacy clean build"
|
title = "Build Js Legacy clean build"
|
||||||
@@ -53,9 +64,31 @@ runAllBenchmarks(
|
|||||||
runTasks("jsLegacyJar")
|
runTasks("jsLegacyJar")
|
||||||
applyNonAbiChangeTo("kvision-modules/kvision-state/src/main/kotlin/io/kvision/state/ObservableList.kt")
|
applyNonAbiChangeTo("kvision-modules/kvision-state/src/main/kotlin/io/kvision/state/ObservableList.kt")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scenario {
|
||||||
|
title = "Dry run configuration time"
|
||||||
|
useGradleArgs("-m")
|
||||||
|
|
||||||
|
iterations = 20
|
||||||
|
runTasks("jsIrJar")
|
||||||
|
}
|
||||||
|
|
||||||
|
scenario {
|
||||||
|
title = "No-op configuration time"
|
||||||
|
|
||||||
|
iterations = 20
|
||||||
|
runTasks("help")
|
||||||
|
}
|
||||||
|
|
||||||
|
scenario {
|
||||||
|
title = "UP-TO-DATE configuration time"
|
||||||
|
|
||||||
|
iterations = 20
|
||||||
|
runTasks("jsIrJar")
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mapOf(
|
mapOf(
|
||||||
"1.7.10" to null,
|
"1.7.20" to null,
|
||||||
"1.7.20" to currentReleasePatch
|
"1.8.0" to currentReleasePatch
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user