You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2022-01-15.20:00:58.872>created_at=<Date2019-03-19.17:17:17.050>labels= ['3.7', 'tests']
title='test_weakref super slow on RPi Zero'updated_at=<Date2022-01-15.20:00:58.871>user='https://github.com/DNSGeek'
When building Python 3.7.2 on a Raspberry Pi Zero W, it takes over 6 hours to run test_weakref, and almost 15 hours total to run through all the tests.
14:28:14 load avg: 1.00 [396/416] test_weakset -- test_weakref passed in 6 hour 24 min
Does it really need to take this long for one test?
3.7 is no longer maintained. Please create a new issue if you are seeing slow tests with a current version of python (ideally 3.10 or one of the 3.11 alphas), and you are interested in investigating along the lines of Victor's suggestion.
Activity
DNSGeek commentedon Mar 19, 2019
When building Python 3.7.2 on a Raspberry Pi Zero W, it takes over 6 hours to run test_weakref, and almost 15 hours total to run through all the tests.
14:28:14 load avg: 1.00 [396/416] test_weakset -- test_weakref passed in 6 hour 24 min
Does it really need to take this long for one test?
vstinner commentedon Sep 10, 2019
How long take other tests on Raspberry Pi Zero W?
You can try:
./python -m test -j0 --slowest
-j0 spawns one job per CPU. I don't know how many CPUs have this hardware.
--slowest gives the timing of the 10 slowest tests.
But even without --slowest, Python displays the test duration if a test takes longer than 30 seconds.
iritkatriel commentedon Jan 15, 2022
3.7 is no longer maintained. Please create a new issue if you are seeing slow tests with a current version of python (ideally 3.10 or one of the 3.11 alphas), and you are interested in investigating along the lines of Victor's suggestion.