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
Currently, if iterationTime is provided without iterationTimeUnit,
in JVM the latter is assumed SECONDS, while in other platforms the fallback value specified in benchmark code is used.
If iterationTimeUnit is provided without iterationTime, in JVM the former is ignored, while in other platforms the fallback value specified in benchmark code is used.
benchmark {
iterations = 5
iterationTimeUnit = ms
// iterationTime not specified
}
kotlinx-benchmark-plugin should fail if the options are provided without one another.
Another option is to change the iterationTime type to be a class with two properties, e.g., iterationTime = IterationTime(10, "s") or iterationTime = IterationTime(10, BenchmarkTimeUnit.SECONDS)
The text was updated successfully, but these errors were encountered:
Currently, if
iterationTime
is provided withoutiterationTimeUnit
,in JVM the latter is assumed SECONDS, while in other platforms the fallback value specified in benchmark code is used.
If
iterationTimeUnit
is provided withoutiterationTime
, in JVM the former is ignored, while in other platforms the fallback value specified in benchmark code is used.kotlinx-benchmark-plugin should fail if the options are provided without one another.
Another option is to change the
iterationTime
type to be a class with two properties, e.g.,iterationTime = IterationTime(10, "s")
oriterationTime = IterationTime(10, BenchmarkTimeUnit.SECONDS)
The text was updated successfully, but these errors were encountered: