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
|`iterations`| Sets the number of iterations for measurements. | Positive Integer |@Measurement(iterations: Int, ...) |
35
-
|`warmups`| Sets the number of iterations for system warming, ensuring accurate measurements. | Non-negative Integer |@Warmup(iterations: Int) |
36
-
|`iterationTime`| Sets the duration for each iteration, both measurement and warm-up. | Positive Integer |@Measurement(..., time: Int, ...) |
37
-
|`iterationTimeUnit`| Defines the unit for `iterationTime`. | Time unit, see below |@Measurement(..., timeUnit: BenchmarkTimeUnit, ...) |
38
-
|`outputTimeUnit`| Sets the unit for the results display. | Time unit, see below |@OutputTimeUnit(value: BenchmarkTimeUnit) |
39
-
|`mode`| Selects "thrpt" (Throughput) for measuring the number of function calls per unit time or "avgt" (AverageTime) for measuring the time per function call. |`thrpt`, `Throughput`, `avgt`, `AverageTime`|@BenchmarkMode(value: Mode) |
40
-
|`include("…")`| Applies a regular expression to include benchmarks that match the substring in their fully qualified names. | Regex pattern | - |
41
-
|`exclude("…")`| Applies a regular expression to exclude benchmarks that match the substring in their fully qualified names. | Regex pattern | - |
42
-
|`param("name", "value1", "value2")`| Assigns values to a public mutable property with the specified name, annotated with `@Param`. | String values that represent valid values for the property |@Param|
43
-
|`reportFormat`| Defines the benchmark report's format options. |`json`(default), `csv`, `scsv`, `text`| - |
|`iterations`| Sets the number of iterations for measurements. | Positive Integer |`@Measurement(iterations: Int, ...)`|
35
+
|`warmups`| Sets the number of iterations for system warming, ensuring accurate measurements. | Non-negative Integer |`@Warmup(iterations: Int)`|
36
+
|`iterationTime`| Sets the duration for each iteration, both measurement and warm-up. | Positive Integer |`@Measurement(..., time: Int, ...)`|
37
+
|`iterationTimeUnit`| Defines the unit for `iterationTime`. | Time unit, see below |`@Measurement(..., timeUnit: BenchmarkTimeUnit, ...)`|
38
+
|`outputTimeUnit`| Sets the unit for the results display. | Time unit, see below |`@OutputTimeUnit(value: BenchmarkTimeUnit)`|
39
+
|`mode`| Selects "thrpt" (Throughput) for measuring the number of function calls per unit time or "avgt" (AverageTime) for measuring the time per function call. |`"thrpt"`, `"Throughput"`, `"avgt"`, `"AverageTime"`|`@BenchmarkMode(value: Mode)`|
40
+
|`include("…")`| Applies a regular expression to include benchmarks that match the substring in their fully qualified names. | Regex pattern | - |
41
+
|`exclude("…")`| Applies a regular expression to exclude benchmarks that match the substring in their fully qualified names. | Regex pattern | - |
42
+
|`param("name", "value1", "value2")`| Assigns values to a public mutable property with the specified name, annotated with `@Param`. | String values that represent valid values for the property |`@Param`|
43
+
|`reportFormat`| Defines the benchmark report's format options. |`"json"`(default), `"csv"`, `"scsv"`, `"text"`| -|
44
44
45
45
The following values can be used for specifying time unit:
46
46
- "NANOSECONDS", "ns", "nanos"
@@ -54,15 +54,15 @@ The following values can be used for specifying time unit:
54
54
The options listed in the following sections allow you to tailor the benchmark execution behavior for specific platforms:
55
55
56
56
### Kotlin/Native
57
-
| Option | Description | Possible Values | Default Value |
|`advanced("nativeFork", "value")`| Executes iterations within the same process ("perBenchmark") or each iteration in a separate process ("perIteration"). |`perBenchmark`, `perIteration`| "perBenchmark" |
60
-
|`advanced("nativeGCAfterIteration", value)`| Whether to trigger garbage collection after each iteration. |`true`, `false`|`false`|
57
+
| Option | Description | Possible Values | Default Value|
|`advanced("nativeFork", "value")`| Executes iterations within the same process ("perBenchmark") or each iteration in a separate process ("perIteration"). |`"perBenchmark"`, `"perIteration"`|`"perBenchmark"`|
60
+
|`advanced("nativeGCAfterIteration", value)`| Whether to trigger garbage collection after each iteration. |`true`, `false`|`false`|
61
61
62
62
### Kotlin/JVM
63
-
| Option | Description | Possible Values | Default Value |
0 commit comments