Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NO-TICKET] Tweak duration of profiler_sample_serialize benchmark #3928

Merged
merged 1 commit into from
Sep 19, 2024

Commits on Sep 19, 2024

  1. [NO-TICKET] Tweak duration of profiler_sample_serialize benchmark

    **What does this PR do?**
    
    This PR tweaks the default duration of the
    `benchmarks/profiler_sample_serialize.rb` benchmark. This duration
    gets used when we run benchmarks on every PR.
    
    **Motivation:**
    
    We've been seeing quite a bit of variance in the benchmarks from
    run-to-run which makes it seem like there are regressions/improvements
    even when nothing of consequence is touched (e.g. PR that changes docs
    even).
    
    This got better when we adjusted the thresholds used by the benchmarking
    platform, but I'm still seeing this benchmark in particular show up
    quite often in a "flaky" way.
    
    I suspect this behavior may be because each step on this benchmark takes
    more than one second (since it simulates 60 seconds of profiling data)
    and thus the low number of iterations creates more noise.
    
    I'm hoping that by raising the duration of this benchmark to 1 minute
    we'll see the run-to-run variation go down.
    
    **Additional Notes:**
    
    N/A
    
    **How to test the change?**
    
    Validate benchmark is running for 1 minute in CI.
    ivoanjo committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    3b54135 View commit details
    Browse the repository at this point in the history