[K/N] Added possibility to run only base part of benchmarks

This commit is contained in:
Elena Lepilkina
2022-04-01 18:30:24 +03:00
committed by Pavel Punegov
parent b79f5a445f
commit 087f7e3b31
13 changed files with 131 additions and 116 deletions
@@ -6,11 +6,10 @@
import org.jetbrains.benchmarksLauncher.*
actual class NumericalLauncher : Launcher() {
override val benchmarks = BenchmarksCollection(
mutableMapOf(
"BellardPi" to BenchmarkEntry(::jvmBellardPi)
)
override val baseBenchmarksSet = mutableMapOf(
"BellardPi" to BenchmarkEntry(::jvmBellardPi)
)
}
fun jvmBellardPi() {
@@ -6,12 +6,11 @@
import org.jetbrains.benchmarksLauncher.*
actual class NumericalLauncher : Launcher() {
override val benchmarks = BenchmarksCollection(
mutableMapOf(
"BellardPi" to BenchmarkEntry(::konanBellardPi),
"BellardPiCinterop" to BenchmarkEntry(::clangBellardPi)
)
override val baseBenchmarksSet: MutableMap<String, AbstractBenchmarkEntry> = mutableMapOf(
"BellardPi" to BenchmarkEntry(::konanBellardPi),
"BellardPiCinterop" to BenchmarkEntry(::clangBellardPi)
)
}
fun konanBellardPi() {