Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-132185: Speed up expanduser() test with large password database #132231

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Apr 7, 2025

Use only random selected entries if the "cpu" resource is not enabled.

Use only random selected entries if the "cpu" resource is not enabled.
@serhiy-storchaka
Copy link
Member Author

@itamaro, how much it takes to test 1000 entries? 10000 entries?

@itamaro
Copy link
Contributor

itamaro commented Apr 7, 2025

@itamaro, how much it takes to test 1000 entries? 10000 entries?

let me test with these limits

@itamaro
Copy link
Contributor

itamaro commented Apr 7, 2025

@itamaro, how much it takes to test 1000 entries? 10000 entries?

about a minute for 10k, under 5sec for 1k

@serhiy-storchaka
Copy link
Member Author

Thank you. This is much slower than on normal Linux PC, so I would be wrong without your data.

Co-authored-by: Bénédikt Tran <[email protected]>
@hugovk hugovk removed the needs backport to 3.12 only security fixes label Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge needs backport to 3.13 bugs and security fixes skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants