diff --git a/kotlin-native/tools/benchmarks/shared/src/main/kotlin/report/BenchmarksReport.kt b/kotlin-native/tools/benchmarks/shared/src/main/kotlin/report/BenchmarksReport.kt index 7323ab9cafe..b60e0013902 100644 --- a/kotlin-native/tools/benchmarks/shared/src/main/kotlin/report/BenchmarksReport.kt +++ b/kotlin-native/tools/benchmarks/shared/src/main/kotlin/report/BenchmarksReport.kt @@ -98,7 +98,7 @@ open class BenchmarksReport(val env: Environment, benchmarksList: List orderedValues(values: List, buildElement: (T) -> CompositeBu Int.MAX_VALUE }, { buildElement(it).first?.let { if (it == "DEV") 0 else 1 } ?: 0 }, // Develop and release builds - { buildElement(it).second.substringAfterLast("-").substringBefore("(").toDouble() }, // build counter + { if (buildElement(it).first == "RELEASE") + 0 + else buildElement(it).second.substringAfterLast("-").substringBefore("(").toDouble() }, // build counter { buildElement(it).second.contains("(") } // build suffix ) ) diff --git a/kotlin-native/tools/performance-server/ui/src/main/kotlin/main.kt b/kotlin-native/tools/performance-server/ui/src/main/kotlin/main.kt index 802656d19d2..6be5212ecb6 100644 --- a/kotlin-native/tools/performance-server/ui/src/main/kotlin/main.kt +++ b/kotlin-native/tools/performance-server/ui/src/main/kotlin/main.kt @@ -190,7 +190,7 @@ fun getDatesComponents() = "${beforeDate?.let {"&before=${encodeURIComponent(it) "${afterDate?.let {"&after=${encodeURIComponent(it)}"} ?: ""}" fun main(args: Array) { - val serverUrl = "https://kotlin-native-perf-summary.labs.jb.gg" + val serverUrl = "https://kotlin-native-perf-summary.labs.jb.gg" // use "http://localhost:3000" for local debug. val zoomRatio = 2 // Get parameters from request.