kotlinx-benchmark
kotlinx-benchmark copied to clipboard
Kotlin multiplatform benchmarking toolkit
Move NativeFork enum out of common source set as well.
The method `WorkerExecutor.submit` used in `JmhBytecodeGeneratorTask` is deprecated in Gradle and will be removed in Gradle 8. We need to migrate to using one of its work queues, for example...
The library I am benchmarking uses Kotlin's `ExperimentalUnsignedTypes`. I have already added ```kotlin @OptIn(ExperimentalUnsignedTypes::class) ``` to the benchmark class and ```kotlin tasks.withType().configureEach { kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn" } ``` to `build.gradle.kts`...
Support `@Setup(Level.Invocation)` on Native. Currently, `@Setup` has no parameters.
On current moment, plugin is not in classpath of integration module, because `plugin` is included build (to use current version of plugin in examples). We can add it to classpath...
[Good description](http://tutorials.jenkov.com/java-performance/jmh.html#benchmark-state) of what jmh state is for. It doesn't seem correct that for the js benchmark to run you must annotate the class with `@State(Scope.Benchmark)`. I believe the only...
This is the benchmark class: ```kotlin @State(Scope.Benchmark) @OutputTimeUnit(BenchmarkTimeUnit.MILLISECONDS) @Measurement(time = 1, timeUnit = BenchmarkTimeUnit.SECONDS) @BenchmarkMode(Mode.Throughput) class SimpleOps { private var a = 0 private var b = 0 @Setup fun...
kotlinx.benchmark gradle plugin configures the project in a way that is no longer supported in Gradle 8.0 milestone 2. Running: `./gradlew :benchmark:benchmark --no-configration-cache` Yields the following error: ``` FAILURE: Build...
It wasn't easy to get this working in JVM project :( Adding a plugin and runtime library wasn't enough for JHM annotations to resolve `id("org.jetbrains.kotlinx.benchmark") version "0.4.4"` `implementation("org.jetbrains.kotlinx:kotlinx-benchmark-runtime-jvm:0.4.4")` So i...
Would like an @Ignore or @Disable annotation for this.