Skip to content

fix: improve pixi download speed in install.ps1#5920

Merged
lucascolley merged 1 commit intoprefix-dev:mainfrom
baszalmstra:codex/change-download-method-in-install.ps1
Apr 19, 2026
Merged

fix: improve pixi download speed in install.ps1#5920
lucascolley merged 1 commit intoprefix-dev:mainfrom
baszalmstra:codex/change-download-method-in-install.ps1

Conversation

@baszalmstra
Copy link
Copy Markdown
Contributor

@baszalmstra baszalmstra commented Apr 19, 2026

Description

@lucascolley found out that using Invoke-Webrequest is horribly slow in conda-forge azure CI. It took 42 seconds to download pixi. This PR changes the method used to download the file. I expect this to run in ~2 seconds instead of 42.

I can confirm that locally on my windows machine this is also a huge improvement. install.ps1 on main takes 23 seconds on my machine. install.ps1 from this branches takes 2 seconds.

How Has This Been Tested?

@lucascolley will test in CI.

Checklist:

  • I have performed a self-review of my own code

@baszalmstra baszalmstra changed the title Adjust WebClient lifetime in install script fix: improve pixi download speed in install.ps1 Apr 19, 2026
@baszalmstra baszalmstra added the performance An issue related to performance label Apr 19, 2026
@baszalmstra baszalmstra requested a review from lucascolley April 19, 2026 15:21
@baszalmstra baszalmstra marked this pull request as ready for review April 19, 2026 15:21
Copy link
Copy Markdown
Collaborator

@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep that works nicely, thanks Bas!

@lucascolley lucascolley added installation The installation of pixi itself windows Related to MS Windows labels Apr 19, 2026
@lucascolley lucascolley enabled auto-merge (squash) April 19, 2026 16:30
@lucascolley lucascolley merged commit ccfe126 into prefix-dev:main Apr 19, 2026
155 of 190 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

installation The installation of pixi itself performance An issue related to performance windows Related to MS Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants