Skip to content

gh-150114: Log the memory usage in regrtest in sequential mode#150264

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:regrtest_mem_sequential
May 22, 2026
Merged

gh-150114: Log the memory usage in regrtest in sequential mode#150264
vstinner merged 2 commits into
python:mainfrom
vstinner:regrtest_mem_sequential

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 22, 2026

@vstinner
Copy link
Copy Markdown
Member Author

Example on Fedora 44:

0:00:00 load avg: 0.56 mem: 29.3 MiB Run 505 tests sequentially in a single process
0:00:00 load avg: 0.56 mem: 29.3 MiB [  1/505] test.test_asyncio.test_base_events
0:00:04 load avg: 0.60 mem: 46.4 MiB [  1/505] test.test_asyncio.test_base_events passed
...
0:02:36 load avg: 0.68 mem: 65.4 MiB [ 36/505] test.test_concurrent_futures.test_as_completed
0:02:59 load avg: 0.86 mem: 113.7 MiB [ 36/505] test.test_concurrent_futures.test_as_completed passed
...
0:03:39 load avg: 1.14 mem: 171.1 MiB [ 40/505] test.test_concurrent_futures.test_interpreter_pool
0:04:02 load avg: 0.89 mem: 877.6 MiB [ 40/505] test.test_concurrent_futures.test_interpreter_pool passed
...
0:14:44 load avg: 1.24 mem: 1.1 GiB [ 86/505] test__interpreters
0:14:54 load avg: 1.20 mem: 1.6 GiB [ 86/505] test__interpreters passed
...
0:18:02 load avg: 1.54 mem: 1.7 GiB [121/505] test_capi
0:18:35 load avg: 1.45 mem: 2.1 GiB [121/505] test_capi passed in 32.5 sec
...
0:29:41 load avg: 0.92 mem: 2.2 GiB [258/505/2] test_import
0:29:59 load avg: 1.01 mem: 2.4 GiB [258/505/2] test_import passed
...
1:09:02 load avg: 1.46 mem: 2.7 GiB [505/505/6] test_zstd passed

@vstinner vstinner merged commit 4e3ead9 into python:main May 22, 2026
178 of 184 checks passed
@vstinner vstinner deleted the regrtest_mem_sequential branch May 22, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant