File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
jsMain/src/kotlinx/benchmark
nativeMain/src/kotlinx/benchmark
wasmJsMain/src/kotlinx/benchmark Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,16 @@ actual enum class Scope {
4
4
Benchmark
5
5
}
6
6
7
+ @Target(AnnotationTarget .CLASS )
7
8
actual annotation class State (actual val value : Scope )
9
+
10
+ @Target(AnnotationTarget .FUNCTION )
8
11
actual annotation class Setup
12
+
13
+ @Target(AnnotationTarget .FUNCTION )
9
14
actual annotation class TearDown
15
+
16
+ @Target(AnnotationTarget .FUNCTION )
10
17
actual annotation class Benchmark
11
18
12
19
Original file line number Diff line number Diff line change @@ -4,9 +4,16 @@ actual enum class Scope {
4
4
Benchmark
5
5
}
6
6
7
+ @Target(AnnotationTarget .CLASS )
7
8
actual annotation class State (actual val value : Scope )
9
+
10
+ @Target(AnnotationTarget .FUNCTION )
8
11
actual annotation class Setup
12
+
13
+ @Target(AnnotationTarget .FUNCTION )
9
14
actual annotation class TearDown
15
+
16
+ @Target(AnnotationTarget .FUNCTION )
10
17
actual annotation class Benchmark
11
18
12
19
Original file line number Diff line number Diff line change @@ -4,9 +4,16 @@ actual enum class Scope {
4
4
Benchmark
5
5
}
6
6
7
+ @Target(AnnotationTarget .CLASS )
7
8
actual annotation class State (actual val value : Scope )
9
+
10
+ @Target(AnnotationTarget .FUNCTION )
8
11
actual annotation class Setup
12
+
13
+ @Target(AnnotationTarget .FUNCTION )
9
14
actual annotation class TearDown
15
+
16
+ @Target(AnnotationTarget .FUNCTION )
10
17
actual annotation class Benchmark
11
18
12
19
You can’t perform that action at this time.
0 commit comments