You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no way to specify JVM args for JmhBytecodeGeneratorTask (or, to be more precise, for its worker). As a result, it's kinda problematic to benchmark JVM-specific code that requires additional flags to work (like, --enable-preview).
Currently, benchmark generation fails with something like:
Execution failed for task ':mainBenchmarkGenerate'.
> There was a failure while executing work items
> A failure occurred while executing kotlinx.benchmark.gradle.JmhBytecodeGeneratorWorker
> Preview features are not enabled for org/example/PreviewApiBenchmark (class file version 69.65535). Try running with '--enable-preview'
The text was updated successfully, but these errors were encountered:
There's no way to specify JVM args for
JmhBytecodeGeneratorTask
(or, to be more precise, for its worker). As a result, it's kinda problematic to benchmark JVM-specific code that requires additional flags to work (like,--enable-preview
).Currently, benchmark generation fails with something like:
The text was updated successfully, but these errors were encountered: