Why isn't mamba used in the batch bootstrap step: ...
# dev-metaflow
b
Why isn't mamba used in the batch bootstrap step: GitHub link?
1
Asking because I'm seeing 3.5 minute conda installs per step and hoping to speed it up with mamba
a
In the batch bootstrap - we are simply downloading the s3 packages and pointing conda towards the downloaded packages to install them. Mamba wouldn't really provide much speedup and up until very recently there wasn't a standalone micro-installer for mamba (it seems now there is one). Would you like to benchmark the performance and submit a PR?
b
Oh nice! sure I'll give this a shot
❤️ 1
Ran a comparison on Batch installing ~130 packages and mamba is not faster. It takes a bit longer to download and install mambaforge as well
Copy code
Download and install miniforge: 8.637s
conda install packages: 3min 26.335s

Download and install mambaforge: 12.812s
mamba install packages: 3min 26.934s
a
Great - the results are as per expectations
👍 1