mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-37707: Exclude expensive unit tests from PGO task (GH-15009)
Mark some individual tests to skip when --pgo is used. The tests marked increase the PGO task time significantly and likely don't help improve optimization of the final executable.
This commit is contained in:
parent
27eeaf0f2c
commit
52a48e62c6
8 changed files with 24 additions and 0 deletions
|
@ -333,6 +333,7 @@ class CompressorDecompressorTestCase(unittest.TestCase):
|
|||
|
||||
# Test with inputs larger than 4GiB.
|
||||
|
||||
@support.skip_if_pgo_task
|
||||
@bigmemtest(size=_4G + 100, memuse=2)
|
||||
def test_compressor_bigmem(self, size):
|
||||
lzc = LZMACompressor()
|
||||
|
@ -344,6 +345,7 @@ class CompressorDecompressorTestCase(unittest.TestCase):
|
|||
finally:
|
||||
ddata = None
|
||||
|
||||
@support.skip_if_pgo_task
|
||||
@bigmemtest(size=_4G + 100, memuse=3)
|
||||
def test_decompressor_bigmem(self, size):
|
||||
lzd = LZMADecompressor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue