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

Kotlin multiplatform benchmarking toolkit

Results 83 kotlinx-benchmark issues
Sort by recently updated
recently updated
newest added

I've tried copying the examples * https://github.com/Kotlin/kotlinx-benchmark/blob/24fb001e8cae88befd5b352b0e281517fe595f67/examples/kotlin-multiplatform/build.gradle * https://github.com/Kotlin/kotlinx-benchmark/blob/24fb001e8cae88befd5b352b0e281517fe595f67/examples/kotlin-kts/build.gradle.kts but I can't make any good progress, I immediately come across fatal errors. ``` Cannot find a benchmark compilation 'main', ignoring....

enhancement
improve documentation

For complex project with multiple dependencies, kotlinx-benchmark fails to create JMH executable JAR with following error: ``` Execution failed for task ':benchmark:mainBenchmarkJar'. > archive contains more than 65535 entries. ```...

enhancement

Hi Team, i'm wondering if it is possible to do multi platform performance tests on suspended functions. Example ``` @Benchmark suspend fun test(): Int{ return 1+1 } ``` As a...

enhancement

reproducer: https://github.com/rsocket/rsocket-kotlin/tree/kotlinx.benchmark-issue-js (check latest commit, which adds JS IR target) During IDEA sync fails with `KotlinSourceSet with name 'kotlinBaselineJsIrBenchmark' not found.` JS Legacy syncs successfully

reproducer: https://github.com/rsocket/rsocket-kotlin/tree/kotlinx.benchmark-issue-native (check latest commit, which adds native support) Trying to run `kotlinCurrentMacosArm64Benchmark` gradle task fails with `e: Could not find 'main' in 'kotlinx.benchmark.generated' package.` Generated sources contains `main` method

I found that [this plugin](https://github.com/artyushov/idea-jmh-plugin/) does not support kotlinx-benchmark, so does kotlin have its own IDEA plugin?

enhancement
question

I am trying to benchmark code that uses `jdk.incubator.vector` methods, but this raises an error in `:jvmBenchmarkGenerate`: ``` Generation of JMH bytecode failed with 1errors: - Annotation generator had thrown...

question

Consider next Gradle configuration: ```kotlin benchmark { targets { register("jvm") register("js") register("native") } configurations { val main by getting { warmups = 20 iterations = 10 iterationTime = 500 iterationTimeUnit...

bug

1. Messages printed by JMH are much more meaningful. 2. Making messages formats similar improves the library user's experience. Consider similar benchmark reports. The JMH one: ``` … space.kscience.kmath.benchmarks.ExpressionsInterpretersBenchmark.mstExpression Warm-up...

enhancement