fun isBenchmarkEnabled()

in benchmarks/multiplatform/benchmarks/src/commonMain/kotlin/Config.kt [102:108]


    fun isBenchmarkEnabled(benchmark: String): Boolean {
        val normalizedName = benchmark.uppercase()
        // Enabled if the benchmarks map is empty OR if the specific benchmark is present
        return (benchmarks.isEmpty() || benchmarks.containsKey(normalizedName))
                && !disabledBenchmarks.contains(normalizedName)
                && !disabledBenchmarks.contains(benchmark)
    }