Skip to content

Instantly share code, notes, and snippets.

@wolfv
Created January 17, 2023 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolfv/daddfcacfe53fcf0d0ceff8f4d47a75f to your computer and use it in GitHub Desktop.
Save wolfv/daddfcacfe53fcf0d0ceff8f4d47a75f to your computer and use it in GitHub Desktop.
Raw benchmark values for `micromamba` 1.0 vs 1.2 vs `conda-package-handling`

Jaxlib

micromamba 1.2.0

➜ hyperfine "micromamba package extract jaxlib-0.4.1-cpu_py38h6beaf4d_1.conda outmmjaxnew" --warmup 3
Benchmark 1: micromamba package extract jaxlib-0.4.1-cpu_py38h6beaf4d_1.conda outmmjaxnew
  Time (mean ± σ):     227.2 ms ±  17.4 ms    [User: 158.4 ms, System: 52.8 ms]
  Range (min … max):   212.9 ms … 267.5 ms    13 runs

micromamba 1.0.0

➜ hyperfine "micromamba package extract jaxlib-0.4.1-cpu_py38h6beaf4d_1.conda outmmjaxold" --warmup 3
Benchmark 1: micromamba package extract jaxlib-0.4.1-cpu_py38h6beaf4d_1.conda outmmjaxold
  Time (mean ± σ):     463.7 ms ±   7.2 ms    [User: 167.4 ms, System: 287.4 ms]
  Range (min … max):   453.4 ms … 477.6 ms    10 runs

conda-package-handling 2.0.2

➜ hyperfine "cph extract jaxlib-0.4.1-cpu_py38h6beaf4d_1.conda --dest outjaxcph" --warmup 3
Benchmark 1: cph extract jaxlib-0.4.1-cpu_py38h6beaf4d_1.conda --dest outjaxcph
  Time (mean ± σ):     317.8 ms ±  19.4 ms    [User: 231.1 ms, System: 67.4 ms]
  Range (min … max):   300.6 ms … 357.4 ms    10 runs

Scipy

micromamba 1.2.0

➜ hyperfine "micromamba package extract scipy-1.10.0-py311h939689b_0.conda outmmscipy" --warmup 3
Benchmark 1: micromamba package extract scipy-1.10.0-py311h939689b_0.conda outmmscipy
  Time (mean ± σ):     599.5 ms ±  45.7 ms    [User: 109.6 ms, System: 446.9 ms]
  Range (min … max):   534.4 ms … 669.9 ms    10 runs

micromamba 1.0.0

➜ hyperfine "micromamba package extract scipy-1.10.0-py311h939689b_0.conda outmmoldscipy" --warmup 3
Benchmark 1: micromamba package extract scipy-1.10.0-py311h939689b_0.conda outmmoldscipy
  Time (mean ± σ):     748.8 ms ±  72.2 ms    [User: 114.8 ms, System: 605.3 ms]
  Range (min … max):   657.9 ms … 867.9 ms    10 runs

conda-package-handling 2.0.2

➜ hyperfine "cph extract scipy-1.10.0-py311h939689b_0.conda --dest outcphscipy" --warmup 3
Benchmark 1: cph extract scipy-1.10.0-py311h939689b_0.conda --dest outcphscipy
  Time (mean ± σ):     618.0 ms ±  27.2 ms    [User: 275.8 ms, System: 297.4 ms]
  Range (min … max):   593.9 ms … 687.3 ms    10 runs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment