From 5bc00e1d0b11294d3ed38a008b493591b9fad9d4 Mon Sep 17 00:00:00 2001 From: Ivo Anjo Date: Thu, 22 Aug 2024 15:02:28 +0100 Subject: [PATCH] Update gc benchmark with new argument on test method --- benchmarks/profiler_gc.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/profiler_gc.rb b/benchmarks/profiler_gc.rb index 0bc767bcfe4..8fa1ee615a9 100644 --- a/benchmarks/profiler_gc.rb +++ b/benchmarks/profiler_gc.rb @@ -38,7 +38,7 @@ def run_benchmark x.report('profiler gc') do Datadog::Profiling::Collectors::ThreadContext::Testing._native_on_gc_start(@collector) Datadog::Profiling::Collectors::ThreadContext::Testing._native_on_gc_finish(@collector) - Datadog::Profiling::Collectors::ThreadContext::Testing._native_sample_after_gc(@collector) + Datadog::Profiling::Collectors::ThreadContext::Testing._native_sample_after_gc(@collector, false) end x.save! "#{File.basename(__FILE__)}-results.json" unless VALIDATE_BENCHMARK_MODE @@ -61,7 +61,7 @@ def run_benchmark estimated_gc_per_minute.times do Datadog::Profiling::Collectors::ThreadContext::Testing._native_on_gc_start(@collector) Datadog::Profiling::Collectors::ThreadContext::Testing._native_on_gc_finish(@collector) - Datadog::Profiling::Collectors::ThreadContext::Testing._native_sample_after_gc(@collector) + Datadog::Profiling::Collectors::ThreadContext::Testing._native_sample_after_gc(@collector, false) end @recorder.serialize