diff --git a/test/runtests.jl b/test/runtests.jl index 49784eb..cf27fc5 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -62,11 +62,7 @@ include("gen/test/test_pb.jl") @testset "gRPCClient.jl" begin - # Initialize the global gRPCCURL structure - grpc_init() - @testset "Code Generation" begin - grpc_register_service_codegen() mktempdir() do tmpdir @test isnothing(protojl("proto/test.proto", @__DIR__, tmpdir)) generated = read(joinpath(tmpdir, "test", "test_pb.jl"), String) diff --git a/utils/gRPCClientUtils.jl/src/Benchmark.jl b/utils/gRPCClientUtils.jl/src/Benchmark.jl index a6b9a7c..8119a93 100644 --- a/utils/gRPCClientUtils.jl/src/Benchmark.jl +++ b/utils/gRPCClientUtils.jl/src/Benchmark.jl @@ -28,8 +28,6 @@ function perform_benchmark(f) end function benchmark_table() - grpc_init() - column_labels = [ [ "Benchmark", diff --git a/utils/gRPCClientUtils.jl/src/Profile.jl b/utils/gRPCClientUtils.jl/src/Profile.jl index fdafb6c..0ab0fe6 100644 --- a/utils/gRPCClientUtils.jl/src/Profile.jl +++ b/utils/gRPCClientUtils.jl/src/Profile.jl @@ -1,6 +1,4 @@ function profile_memory_fn(f::Function) - grpc_init() - # Warmup _ = f()