@@ -93,6 +93,9 @@ func BenchmarkEngineWithCodeInjectionSignature(b *testing.B) {
9393
9494 e , err := engine .NewEngine (config , inputs , output )
9595 require .NoError (b , err , "constructing engine" )
96+
97+ err = e .Init ()
98+ require .NoError (b , err , "initializing engine" )
9699 b .StartTimer ()
97100
98101 // Start signatures engine and wait until all events are processed
@@ -139,6 +142,9 @@ func BenchmarkEngineWithMultipleSignatures(b *testing.B) {
139142 }
140143 e , err := engine .NewEngine (config , inputs , output )
141144 require .NoError (b , err , "constructing engine" )
145+
146+ err = e .Init ()
147+ require .NoError (b , err , "initializing engine" )
142148 b .StartTimer ()
143149
144150 // Start signatures engine and wait until all events are processed
@@ -198,6 +204,9 @@ func BenchmarkEngineWithNSignatures(b *testing.B) {
198204
199205 e , err := engine .NewEngine (config , inputs , output )
200206 require .NoError (b , err , "constructing engine" )
207+
208+ err = e .Init ()
209+ require .NoError (b , err , "initializing engine" )
201210 b .StartTimer ()
202211
203212 // Start signatures engine and wait until all events are processed
0 commit comments