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

ruleguard/quasigo: fix flaky NoAllocs test #196

Merged
merged 1 commit into from
Jan 31, 2021
Merged

Commits on Jan 31, 2021

  1. ruleguard/quasigo: fix flaky NoAllocs test

    When measuring `Call()` allocations, sometimes irrelevant
    allocations happen in the process.
    
    To avoid false positives, we do 5 attempts instead of 1.
    If `Call()` does allocate, all 5 runs would show non-zero results.
    
    Fixes #191
    quasilyte committed Jan 31, 2021
    Configuration menu
    Copy the full SHA
    4a1a74a View commit details
    Browse the repository at this point in the history