@@ -47,7 +47,7 @@ func BenchmarkSelectGoogleComputeInstanceDriver(b *testing.B) {
4747 stringQuery := `select count(1) as inst_count from google.compute.instances where zone = 'australia-southeast1-b' AND /* */ project = 'testing-project';`
4848
4949 runtimeCtx .LogLevelStr = "fatal"
50- handlerCtx , err := handler .GetHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
50+ handlerCtx , err := handler .NewHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
5151 handlerCtx .SetOutfile (io .Discard )
5252 handlerCtx .SetOutErrFile (io .Discard )
5353
@@ -97,7 +97,7 @@ func BenchmarkParallelProjectSelectGoogleComputeInstanceDriver(b *testing.B) {
9797
9898 stringQuery := `select count(1) as inst_count from google.compute.instances where zone = 'australia-southeast1-b' AND /* */ project in ('testing-project', 'testing-project-two');`
9999
100- handlerCtx , err := handler .GetHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
100+ handlerCtx , err := handler .NewHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
101101 handlerCtx .SetOutfile (io .Discard )
102102 handlerCtx .SetOutErrFile (io .Discard )
103103
@@ -307,7 +307,7 @@ func BenchmarkHighlyParallelProjectSelectGoogleComputeInstanceDriver(b *testing.
307307 )
308308 ;`
309309
310- handlerCtx , err := handler .GetHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
310+ handlerCtx , err := handler .NewHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
311311 handlerCtx .SetOutfile (io .Discard )
312312 handlerCtx .SetOutErrFile (io .Discard )
313313
@@ -517,7 +517,7 @@ func BenchmarkLoosenedHighlyParallelProjectSelectGoogleComputeInstanceDriver(b *
517517 )
518518 ;`
519519
520- handlerCtx , err := handler .GetHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
520+ handlerCtx , err := handler .NewHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
521521 handlerCtx .SetOutfile (io .Discard )
522522 handlerCtx .SetOutErrFile (io .Discard )
523523
@@ -727,7 +727,7 @@ func BenchmarkUnlimitedHighlyParallelProjectSelectGoogleComputeInstanceDriver(b
727727 )
728728 ;`
729729
730- handlerCtx , err := handler .GetHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
730+ handlerCtx , err := handler .NewHandlerCtx (stringQuery , * runtimeCtx , lrucache .NewLRUCache (int64 (runtimeCtx .QueryCacheSize )), inputBundle )
731731 handlerCtx .SetOutfile (io .Discard )
732732 handlerCtx .SetOutErrFile (io .Discard )
733733
0 commit comments