Uh oh!
There was an error while loading. Please reload this page.
gh-114911: Add CPUStopwatch test helper - #114912
Conversation
A few of our tests measure the time of CPU-bound operation, mainly to avoid quadratic or worse behaviour. Add a helper to ignore GC and time spent in other processes.
encukou
commented
Feb 12, 2024
@vstinner, do you like this test helper? |
vstinner
commented
Feb 12, 2024
I'm not sure that it's going to fix the root issue: #114911 (comment) |
encukou
commented
Feb 12, 2024
It's not; I want to add it to help diagnosing similar issues (by filtering out unrelated causes). |
bedevere-bot
commented
Feb 16, 2024
encukou
commented
Feb 20, 2024
The WASI buildbot fails because... on WASI time runs a million times faster: #115714 |
bedevere-bot
commented
Feb 22, 2024
vstinner
commented
Feb 22, 2024
Please, ignore my comment. I didn't find time to fully review this change and dig into this issue ;-) |
encukou
commented
Feb 23, 2024
The WASI clock has been sacked; tests are green. @vstinner Thank you for digging in! Any objections to merging this? |
A few of our tests measure the time of CPU-bound operation, mainly to avoid quadratic or worse behaviour. Add a helper to ignore GC and time spent in other processes.
A few of our tests measure the time of CPU-bound operation, mainly to avoid quadratic or worse behaviour. Add a helper to ignore GC and time spent in other processes.
A few of our tests measure the time of CPU-bound operation, mainly to avoid quadratic or worse behaviour. Add a helper to ignore GC and time spent in other processes.
A few of our tests measure the time of CPU-bound operation, mainly to avoid quadratic or worse behaviour.
Add a helper to ignore GC and time spent in other processes.