-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiplatform benchmarks baseline #4350
Conversation
I see that the |
"--add-exports", "java.base/sun.security.action=ALL-UNNAMED", | ||
"--add-exports", "java.base/jdk.internal.util=ALL-UNNAMED") // in the model checking mode | ||
"--add-exports", "java.base/jdk.internal.util=ALL-UNNAMED" | ||
) // in the model checking mode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pro tip: use Difftastic when reviewing such changes! In a structural diff, the trivial formatting edits don't show up at all.
./gradlew :kotlinx-coroutines-core:macosArm64BenchmarkBenchmark | ||
|
||
// Figure out what to use | ||
./gradlew :kotlinx-coroutines-core:tasks | grep -i bench |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./gradlew :kotlinx-coroutines-core:tasks | grep -i bench | |
./gradlew :kotlinx-coroutines-core:tasks | grep -i "BenchmarkBenchmark " |
Seems much more reliable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I explicitly opted into mine version -- shorter, more robust (also, will showcase non-launcing tasks, for example macosArm64BenchmarkBinaries
to copy around)
@@ -4,6 +4,7 @@ group=org.jetbrains.kotlinx | |||
kotlin_version=2.1.0 | |||
# DO NOT rename this property without adapting kotlinx.train build chain: | |||
atomicfu_version=0.26.1 | |||
benchmarks_version=0.4.13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be worth plugging benchmarks_jmh_version=1.37
here, otherwise benchmarks will use pretty ancient version of JMH (1.21).
I needed this for Kotlin/kotlinx-atomicfu#499 and decided to tidy it up a bit and make it usable.
Adding @fzhinkin to verify the sourcesets setup