Skip to content
  • Jeremy Evans's avatar
    e4d64797
    Add array/hash implicit allocation tests · e4d64797
    Jeremy Evans authored
    These are designed to prevent allocation regressions (commits that
    increase the number of implicitly allocated arrays and hashes). We
    have already had three commits in the last couple weeks to fix
    allocation regressions:
    
    * 15dc3aaa
    * aceee71c
    * c3887849
    
    This test suite should hopefully allow us to find such regressions
    in CI before commit, to avoid committing future allocation regressions.
    
    This uses assert_separately around each set of tests.  Doing it for
    each individual check was too slow.  Failures are gathered and
    reported at the end of the the suite as a single assertion, with
    the message describing all failures.
    e4d64797
    Add array/hash implicit allocation tests
    Jeremy Evans authored
    These are designed to prevent allocation regressions (commits that
    increase the number of implicitly allocated arrays and hashes). We
    have already had three commits in the last couple weeks to fix
    allocation regressions:
    
    * 15dc3aaa
    * aceee71c
    * c3887849
    
    This test suite should hopefully allow us to find such regressions
    in CI before commit, to avoid committing future allocation regressions.
    
    This uses assert_separately around each set of tests.  Doing it for
    each individual check was too slow.  Failures are gathered and
    reported at the end of the the suite as a single assertion, with
    the message describing all failures.
Loading