conda / conda

A system-level, binary package and environment manager running on all major operating systems and platforms.
https://docs.conda.io/projects/conda/
Other
6.38k stars 1.66k forks source link

Regression in classic solver in 23.11 compared to 22.11? #13430

Open dholth opened 9 months ago

dholth commented 9 months ago

Checklist

What happened?

I noticed /usr/bin/time conda create -n tensorflow --dry-run tensorflow --solver=classic took 6.35 seconds on conda 22.11 but 9.25s on conda 23.11. (conda-libmamba-solver takes <1 second).

travishathaway commented 9 months ago

I poked around a little and got the following numbers:

22.11.0 with classic (avg. of three runs): 6.71 total 23.11.0 with classic (avg. of three runs): 7.67 total

I noticed the first runs with both version took a little longer. Just a little bit over 10s.

Here's my conda info:

    active environment : None
            shell level : 0
       user config file : /Users/user_a/.condarc
 populated config files : /Users/user_a/.condarc
          conda version : 23.11.0
    conda-build version : 3.28.1
         python version : 3.11.5.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=m1
                          __conda=23.11.0=0
                          __osx=13.6=0
                          __unix=0=0
       base environment : /Users/user_a/opt/conda  (writable)
      conda av data dir : /Users/user_a/opt/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-arm64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-arm64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/user_a/opt/conda/pkgs
                          /Users/user_a/.conda/pkgs
       envs directories : /Users/user_a/opt/conda/envs
                          /Users/user_a/.conda/envs
               platform : osx-arm64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.11.5 Darwin/22.6.0 OSX/13.6 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.3
                UID:GID : 501:20
             netrc file : None
           offline mode : False