Skip to content

update_cp_org_libraries.py runs veryyyy slow #263

@evaherrada

Description

@evaherrada

Results of my initial tests of the functions that get run.

Total time per repo: 3.5s
validate_actions_state: 0.459673s
validate_contents: 0.433544s
validate_core_driver_page: 0.003178s
validate_default_branch: 0.000001s
validate_in_pypi: 0.040591s
validate_labels: 0.117371s
validate_passes_linting: 0.639910s
validate_readthedocs: 1.361857s
validate_release_state: 0.333909s
validate_repo_state: 0.134701s

So the real big one is validate_readthedocs. That one is definitely one of the more complicated ones but I think we could for sure simplify it.

validate_passes_linting also takes a while but it actually clones the repository so that make sense.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions