From b85e12587b8b0432b852158956032a1950d2b870 Mon Sep 17 00:00:00 2001 From: kmdeck Date: Sun, 16 Jun 2024 11:36:27 -0700 Subject: [PATCH] Reduce sample rate --- experiments/benchmarks/richards.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/experiments/benchmarks/richards.jl b/experiments/benchmarks/richards.jl index bf78932a47..9cae787e2b 100644 --- a/experiments/benchmarks/richards.jl +++ b/experiments/benchmarks/richards.jl @@ -352,7 +352,7 @@ flame_file = joinpath(outdir, "flame_$device_suffix.html") ProfileCanvas.html_file(flame_file, results) @info "Saved compute flame to $flame_file" -Profile.Allocs.@profile sample_rate = 0.1 setup_and_solve_problem() +Profile.Allocs.@profile sample_rate = 0.01 setup_and_solve_problem() results = Profile.Allocs.fetch() profile = ProfileCanvas.view_allocs(results) alloc_flame_file = joinpath(outdir, "alloc_flame_$device_suffix.html") @@ -365,7 +365,7 @@ if ClimaComms.device() isa ClimaComms.CUDADevice end if get(ENV, "BUILDKITE_PIPELINE_SLUG", nothing) == "climaland-benchmark" - PREVIOUS_BEST_TIME = 13.0 + PREVIOUS_BEST_TIME = 14.0 if average_timing_s > 1.2PREVIOUS_BEST_TIME @info "Possible performance regression, previous average time was $(PREVIOUS_BEST_TIME)" elseif average_timing_s < 0.8PREVIOUS_BEST_TIME