@@ -109,18 +109,20 @@ end
109
109
@test_throws ArgumentError BenchmarkTools. recover ([1 ])
110
110
end
111
111
112
- @testset " Backwards Comppatibility with evals_set" begin
112
+ @testset " Backwards Compatibility with evals_set and enable_linux_perf " begin
113
113
json_string = " [{\" Julia\" :\" 1.11.0-DEV.1116\" ,\" BenchmarkTools\" :\" 1.4.0\" },[[\" Parameters\" ,{\" gctrial\" :true,\" time_tolerance\" :0.05,\" samples\" :10000,\" evals\" :1,\" gcsample\" :false,\" seconds\" :5.0,\" overhead\" :0.0,\" memory_tolerance\" :0.01}]]]"
114
114
json_io = IOBuffer (json_string)
115
115
116
- @test BenchmarkTools. load (json_io) ==
117
- [BenchmarkTools. Parameters (5.0 , 10000 , 1 , false , 0.0 , true , false , 0.05 , 0.01 )]
116
+ @test BenchmarkTools. load (json_io) == [
117
+ BenchmarkTools. Parameters (5.0 , 10000 , 1 , false , 0.0 , true , false , 0.05 , 0.01 , false )
118
+ ]
118
119
119
120
json_string = " [{\" Julia\" :\" 1.11.0-DEV.1116\" ,\" BenchmarkTools\" :\" 1.4.0\" },[[\" Parameters\" ,{\" gctrial\" :true,\" time_tolerance\" :0.05,\" evals_set\" :true,\" samples\" :10000,\" evals\" :1,\" gcsample\" :false,\" seconds\" :5.0,\" overhead\" :0.0,\" memory_tolerance\" :0.01}]]]"
120
121
json_io = IOBuffer (json_string)
121
122
122
- @test BenchmarkTools. load (json_io) ==
123
- [BenchmarkTools. Parameters (5.0 , 10000 , 1 , true , 0.0 , true , false , 0.05 , 0.01 )]
123
+ @test BenchmarkTools. load (json_io) == [
124
+ BenchmarkTools. Parameters (5.0 , 10000 , 1 , true , 0.0 , true , false , 0.05 , 0.01 , false )
125
+ ]
124
126
end
125
127
126
128
end # module
0 commit comments