Since the below commit (a pre-commit, which is very strange) windows tests have gone from taking 51 minutes (already too long) to over 2 hours. It's not clear why this is, the first thing to do will be to try reverting the pre-commit PR but I cannot see how that would affect the PR run time.
Some general recommendations here but it seems like something else is going on. It might be that performance of windows runners on python 13 have degraded generally, though I can't find any posts on this.
