kotlinx-benchmark icon indicating copy to clipboard operation
kotlinx-benchmark copied to clipboard

Suppress warning of ignoring native targets that are unsupported by current OS

Open lounres opened this issue 2 years ago • 1 comments
trafficstars

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.

lounres avatar Jan 13 '23 19:01 lounres

Additionally, these messages should only be logged when benchmark tasks are requested, not in the Gradle configuration phase.

adam-enko avatar Oct 20 '24 10:10 adam-enko

Fixed in the latest version 0.4.13

qurbonzoda avatar Nov 26 '24 08:11 qurbonzoda

The messages are now with info level

qurbonzoda avatar Nov 26 '24 08:11 qurbonzoda