@@ -11,7 +11,6 @@ namespace BenchmarkDotNet.IntegrationTests
11
11
{
12
12
public class AllSetupAndCleanupTargetSpecificBenchmarkTest : BenchmarkTestExecutor
13
13
{
14
-
15
14
private const string FirstPrefix = "// ### First Called: " ;
16
15
private const string FirstGlobalSetupCalled = FirstPrefix + "GlobalSetup" ;
17
16
private const string FirstGlobalCleanupCalled = FirstPrefix + "GlobalCleanup" ;
@@ -31,51 +30,45 @@ public class AllSetupAndCleanupTargetSpecificBenchmarkTest : BenchmarkTestExecut
31
30
private readonly string [ ] firstExpectedLogLines = {
32
31
"// ### First Called: GlobalSetup" ,
33
32
34
- "// ### First Called: IterationSetup (1)" , // IterationSetup Jitting
35
- "// ### First Called: IterationCleanup (1)" , // IterationCleanup Jitting
36
-
37
- "// ### First Called: IterationSetup (2)" , // MainWarmup1
33
+ "// ### First Called: IterationSetup (1)" , // MainWarmup1
38
34
"// ### First Called: Benchmark" , // MainWarmup1
39
- "// ### First Called: IterationCleanup (2 )" , // MainWarmup1
40
- "// ### First Called: IterationSetup (3 )" , // MainWarmup2
35
+ "// ### First Called: IterationCleanup (1 )" , // MainWarmup1
36
+ "// ### First Called: IterationSetup (2 )" , // MainWarmup2
41
37
"// ### First Called: Benchmark" , // MainWarmup2
42
- "// ### First Called: IterationCleanup (3 )" , // MainWarmup2
38
+ "// ### First Called: IterationCleanup (2 )" , // MainWarmup2
43
39
44
- "// ### First Called: IterationSetup (4 )" , // MainTarget1
40
+ "// ### First Called: IterationSetup (3 )" , // MainTarget1
45
41
"// ### First Called: Benchmark" , // MainTarget1
46
- "// ### First Called: IterationCleanup (4 )" , // MainTarget1
47
- "// ### First Called: IterationSetup (5 )" , // MainTarget2
42
+ "// ### First Called: IterationCleanup (3 )" , // MainTarget1
43
+ "// ### First Called: IterationSetup (4 )" , // MainTarget2
48
44
"// ### First Called: Benchmark" , // MainTarget2
49
- "// ### First Called: IterationCleanup (5 )" , // MainTarget2
50
- "// ### First Called: IterationSetup (6 )" , // MainTarget3
45
+ "// ### First Called: IterationCleanup (4 )" , // MainTarget2
46
+ "// ### First Called: IterationSetup (5 )" , // MainTarget3
51
47
"// ### First Called: Benchmark" , // MainTarget3
52
- "// ### First Called: IterationCleanup (6 )" , // MainTarget3
48
+ "// ### First Called: IterationCleanup (5 )" , // MainTarget3
53
49
54
50
"// ### First Called: GlobalCleanup"
55
51
} ;
56
52
57
53
private readonly string [ ] secondExpectedLogLines = {
58
54
"// ### Second Called: GlobalSetup" ,
59
55
60
- "// ### Second Called: IterationSetup (1)" , // IterationSetup Jitting
61
- "// ### Second Called: IterationCleanup (1)" , // IterationCleanup Jitting
62
-
63
- "// ### Second Called: IterationSetup (2)" , // MainWarmup1
56
+ "// ### Second Called: IterationSetup (1)" , // MainWarmup1
64
57
"// ### Second Called: Benchmark" , // MainWarmup1
65
- "// ### Second Called: IterationCleanup (2 )" , // MainWarmup1
66
- "// ### Second Called: IterationSetup (3 )" , // MainWarmup2
58
+ "// ### Second Called: IterationCleanup (1 )" , // MainWarmup1
59
+ "// ### Second Called: IterationSetup (2 )" , // MainWarmup2
67
60
"// ### Second Called: Benchmark" , // MainWarmup2
68
- "// ### Second Called: IterationCleanup (3 )" , // MainWarmup2
61
+ "// ### Second Called: IterationCleanup (2 )" , // MainWarmup2
69
62
70
- "// ### Second Called: IterationSetup (4 )" , // MainTarget1
63
+ "// ### Second Called: IterationSetup (3 )" , // MainTarget1
71
64
"// ### Second Called: Benchmark" , // MainTarget1
72
- "// ### Second Called: IterationCleanup (4 )" , // MainTarget1
73
- "// ### Second Called: IterationSetup (5 )" , // MainTarget2
65
+ "// ### Second Called: IterationCleanup (3 )" , // MainTarget1
66
+ "// ### Second Called: IterationSetup (4 )" , // MainTarget2
74
67
"// ### Second Called: Benchmark" , // MainTarget2
75
- "// ### Second Called: IterationCleanup (5 )" , // MainTarget2
76
- "// ### Second Called: IterationSetup (6 )" , // MainTarget3
68
+ "// ### Second Called: IterationCleanup (4 )" , // MainTarget2
69
+ "// ### Second Called: IterationSetup (5 )" , // MainTarget3
77
70
"// ### Second Called: Benchmark" , // MainTarget3
78
- "// ### Second Called: IterationCleanup (6 )" , // MainTarget3
71
+ "// ### Second Called: IterationCleanup (5 )" , // MainTarget3
79
72
80
73
"// ### Second Called: GlobalCleanup"
81
74
} ;
0 commit comments