kotlinx-benchmark
kotlinx-benchmark copied to clipboard
Suppress warning of ignoring native targets that are unsupported by current OS
I registered benchmarks for mingw_x64, linux_x64 and macos_x64 targets. As expected, I am getting warnings
Skipping benchmarks for 'linuxX64Benchmarks' because they cannot be run on current OS: Expected mingw_x64, but was linux_x64
Skipping benchmarks for 'macosX64Benchmarks' because they cannot be run on current OS: Expected mingw_x64, but was macos_x64
I agree that the warnings are important. But they are annoying. It would be great to suppress them. For example, by defining Gradle property like kotlin.native.ignoreDisabledTargets for getting rid of Some Kotlin/Native targets cannot be built on this xxx machine and are disabled: warnings.
Additionally, these messages should only be logged when benchmark tasks are requested, not in the Gradle configuration phase.
Fixed in the latest version 0.4.13
The messages are now with info level