{"id":15576438,"url":"https://github.com/njsmith/bench-pip-windows-ci","last_synced_at":"2026-07-18T15:05:18.434Z","repository":{"id":44865639,"uuid":"163372656","full_name":"njsmith/bench-pip-windows-ci","owner":"njsmith","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-21T19:39:49.000Z","size":34,"stargazers_count":0,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T09:41:50.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/njsmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-28T06:07:01.000Z","updated_at":"2020-02-13T08:04:43.000Z","dependencies_parsed_at":"2022-09-17T15:42:57.788Z","dependency_job_id":null,"html_url":"https://github.com/njsmith/bench-pip-windows-ci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fbench-pip-windows-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fbench-pip-windows-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fbench-pip-windows-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fbench-pip-windows-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njsmith","download_url":"https://codeload.github.com/njsmith/bench-pip-windows-ci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243256752,"owners_count":20262207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T18:49:18.930Z","updated_at":"2025-10-16T05:48:12.437Z","avatar_url":"https://github.com/njsmith.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Comparison of `pip install` speed on different Windows CI platforms\n\nI noticed that when I run `pip install` on Appveyor, it's like, 3x or\n4x faster than when I run the same command on Azure Pipelines (both\nusing Windows). This has a *very* significant effect on how quickly\nAzure can report test results, e.g. in my experiments with Trio,\nAppveyor's total end-to-end time for a single job is ~1:40 on average,\nwhile for Azure it's ~3:40.\n\nThis slowdown only seems to affect Azure's Windows agents; Azure's\nLinux and macOS jobs seem to have similar speed to what we see on\nAppveyor or Travis.\n\nThis repository is a minimal reproducer to demonstrate the issue.\n\n`requirements.txt` is an arbitrary requirements file. It happens to be\nthe one we [use in\nTrio](https://github.com/python-trio/trio/blob/master/test-requirements.txt).\n\n[Example appveyor\nbuild](https://ci.appveyor.com/project/njsmith/bench-pip-windows-ci/builds/21278811):\nin this build `pip install -r requirements.txt` completes in 33.1 seconds.\n\n[Example Azure\nbuild](https://dev.azure.com/njs0835/bench-pip-windows-ci/_build/results?buildId=16).\nThere are two jobs here. (Click on the powershell task to see the\nrelevant logs):\n\n* One that runs plain `pip install -r requirements.txt`, which\n  completes in 100.6 seconds.\n  \n* One that sets up a venv, and then runs `pip install -r\n  requirements.txt` inside the venv, [following a suggestion from\n  Steve Dower](https://twitter.com/zooba/status/1078548597195497472).\n  Here the `pip install` command finishes in 64.0 seconds, but if you\n  look at the timestamps you can see the venv setup took ~41 seconds,\n  so there's no real net improvement. (The venv setup starts on log\n  line 13, and runs until log line 42.)\n\nTwitter thread: https://twitter.com/vorpalsmith/status/1078546817409662976\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjsmith%2Fbench-pip-windows-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjsmith%2Fbench-pip-windows-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjsmith%2Fbench-pip-windows-ci/lists"}