Skip to content

Commit 7b71bbc

Browse files
Abduqodiri Qurbonzodaqurbonzoda
Abduqodiri Qurbonzoda
authored andcommitted
Update README.md for 0.4.2
1 parent 5af7ce2 commit 7b71bbc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@
1616
**kotlinx.benchmark** is a toolkit for running benchmarks for multiplatform code written in Kotlin
1717
and running on the following supported targets: JVM, JavaScript and Native.
1818

19-
If you're familiar with [JMH](https://openjdk.java.net/projects/code-tools/jmh/), it is very similar and uses it under
20-
the hoods to run benchmarks on JVM.
19+
Both Legacy and IR backends are supported for JS, however `kotlin.js.compiler=both` or `js(BOTH)` target declaration won't work.
20+
You should declare each targeted backend separately. See build script of the [kotlin-multiplatform example project](https://github.com/Kotlin/kotlinx-benchmark/tree/master/examples/kotlin-multiplatform).
21+
22+
On JVM [JMH](https://openjdk.java.net/projects/code-tools/jmh/) is used under the hoods to run benchmarks.
23+
This library has a very similar way of defining benchmark methods. Thus, using this library you can run your JMH-based
24+
Kotlin/JVM benchmarks on other platforms with minimum modifications, if any at all.
2125

2226
# Requirements
2327

@@ -31,7 +35,7 @@ Use plugin in `build.gradle`:
3135

3236
```groovy
3337
plugins {
34-
id 'org.jetbrains.kotlinx.benchmark' version '0.4.1'
38+
id 'org.jetbrains.kotlinx.benchmark' version '0.4.2'
3539
}
3640
```
3741

@@ -84,7 +88,7 @@ kotlin {
8488
sourceSets {
8589
commonMain {
8690
dependencies {
87-
implementation("org.jetbrains.kotlinx:kotlinx-benchmark-runtime:0.4.1")
91+
implementation("org.jetbrains.kotlinx:kotlinx-benchmark-runtime:0.4.2")
8892
}
8993
}
9094
}

0 commit comments

Comments
 (0)