Open vanniktech opened 1 month ago
@vanniktech, unfortunately, right now kotlinx-benchmark
supports neither running benchmarks on iOS devices, nor on Android.
There's a project aimed to support benchmarks execution on Android: https://summerofcode.withgoogle.com/programs/2024/projects/d7VH8Um1.
As of iOS, there were no activity so far (we need to check what should be done for that).
Now, to [I assume] less useful details on project configuration. For KMP projects, compilations should be configured instead of source set (see https://github.com/Kotlin/kotlinx-benchmark/blob/master/docs/separate-benchmark-source-set.md#kotlin-multiplatform-project).
Alright, I had assumed that from the description Kotlin multiplatform benchmarking toolkit
all targets are supported.
Would it make sense to add in this bullet list that neither android nor iOS are currently supported?
I have a module with iOS & Android and I'd like to benchmark the
commonMain
code that gets run on both iOS & Android. There's a docu for Kotlin/JVM project, but I can't seem to find the missing pieces to configure the benchmarking for my module, so far I have this:When I sync with IntelliJ I am getting:
I've tried a few ways on how to do this in my set up but none worked:
I would expect that my use case would work with
kotlinx-benchmark
which is a multiplatform benchmarking tool.