Akshit Sinha
03/11/2024, 1:34 PMAbduqodiri Qurbonzoda [JB]
03/12/2024, 11:32 PMAbduqodiri Qurbonzoda [JB]
03/12/2024, 11:42 PMAkshit Sinha
03/14/2024, 4:08 PMAbduqodiri Qurbonzoda [JB]
03/14/2024, 4:31 PMAbduqodiri Qurbonzoda [JB]
03/14/2024, 4:35 PMAbduqodiri Qurbonzoda [JB]
03/14/2024, 4:42 PMI’m thinking of looking at the JUnit interface available in IntelliJ for unit tests.It’s a good idea to look at different IntelliJ IDEA plugins. For
kotlinx-benchmark
, I would like the run button to offer multiple options for running the benchmark. For example, it should be possible to select the target platform for the benchmark to run on, similar to how the unit test plugin offers options in Kotlin/Multiplatform projects.Abduqodiri Qurbonzoda [JB]
03/14/2024, 4:44 PMAkshit Sinha
03/14/2024, 4:45 PMAkshit Sinha
03/14/2024, 4:49 PMit should be possible to select the target platform for the benchmark to run on, similar to how the unit test plugin offers options in Kotlin/Multiplatform projects.Got it. How would that work however, would we be having a system to detect the available benchmarks, show those targets only, and execute the respective target gradle task? Is that right?
Abduqodiri Qurbonzoda [JB]
03/14/2024, 4:56 PMAbduqodiri Qurbonzoda [JB]
03/14/2024, 5:20 PMSo the given examples/usecases should be enough pertaining to the proposal, is that correct?All configuration options are documented in the repository’s documentation, and they can be utilized for various purposes. For instance, in this project, different configuration profiles are used to filter the benchmarks to run, as seen here: https://github.com/qurbonzoda/MutableMapEntryBenchmarks/blob/master/build.gradle.kts. It is necessary because the Gradle tasks created by
kotlinx-benchmark
currently do not offer a CLI to filter which benchmarks to run. In contrast, when running a test
Gradle task, one can specify which unit tests to execute using --tests
, as detailed in the Gradle documentation: https://docs.gradle.org/current/userguide/java_testing.html#test_filtering.
Implementing such a CLI for kotlinx-benchmark
might also be necessary to be able to run only a specific benchmark.Abduqodiri Qurbonzoda [JB]
03/14/2024, 5:35 PMAkshit Sinha
03/14/2024, 5:39 PMAkshit Sinha
03/18/2024, 5:30 PMAbduqodiri Qurbonzoda [JB]
03/19/2024, 2:18 AM