Fast CPUs have gotten faster: reduce self-test times by factor 5#38
Fast CPUs have gotten faster: reduce self-test times by factor 5#38corneliusroemer wants to merge 2 commits intoprimesearch:mainfrom
Conversation
I just downloaded Mlucas on my M1 MBP (32GB RAM) and ran the tiny and small self tests. They were at least a factor of 5 faster than what was stated. This PR divides all self-test run-times by around a factor of 5. Self-test runtimes: tiny: 8s (instead of 1 minute) small: 1m23s (instead of 10 minutes)
|
Thanks for the PR! How many threads were you using to benchmark? It looks like you forgot to update the medium and egregious/xxl self-test times. Note that more of this help documentation file needs to be updated. For example, it is missing the new teensy self-test and a few of other the FFT length ranges were also updated by Ernst in v21, which could partially explain the time discrepancies you noticed. If possible, I would recommend running some of the larger self-tests on your system to confirm the new runtimes. Lines 3455 to 3467 in 4db9fbc |
|
I now also ran the medium (recommended default) test ( I didn't forget to update the egregious one - I just didn't know whether several days would now be just one day or not, so I played it safe and kept it at several days. |
07df4ce to
53cf9dc
Compare
I just downloaded Mlucas on my M1 MBP (32GB RAM) and ran the tiny and small self tests. They were at least a factor of 5 faster than what was stated.
This PR divides all self-test run-times by around a factor of 5.
Self-test runtimes:
tiny: 8s (instead of 1 minute)
small: 1m23s (instead of 10 minutes)