Skip to content

Resolving dependencies takes too long #1524

Closed

Description

@Stift

We have around 90+ direct dependencies and like ~200 dependencies in total in our project and since v2.52.9 the resolving takes 'forever'. It seems for me, that the fix of #1520 has caused that problem. Before an paket install took like 7-10s and now we are waiting +15min at least (I had to stop this and did not measure the correct timing).

Activity

  1. forki commented on Mar 17, 2016

    @forki
    Member

    yeah looks like a massive perf issue. I will investigate
    /cc @isaacabraham

  2. forki commented on Mar 17, 2016

    @forki
    Member

    I just reverted that change. Can just please check if perf is restored? Seems I need to investigate deeper

  3. forki commented on Mar 17, 2016

    @forki
    Member

    pushed 2.52.12 - I think I verschlimmbessert it in 2.52.11

  4. Stift commented on Mar 17, 2016

    @Stift
    ContributorAuthor

    Tested it with 2.52.12. and it's back to normal. Thx.

  5. forki commented on Mar 17, 2016

    @forki
    Member

    OK now I need to find a proper fix for #1520
    @Stift I guess I need to push another version soon and ask you again if perf is still good ;-)

  6. Stift commented on Mar 17, 2016

    @Stift
    ContributorAuthor

    Just do so. I'm glad to test it.
    But today is St. Patricks Day and I'm off and out in a few hours:

  7. forki commented on Mar 17, 2016

    @forki
    Member

    2.52.13 will be online in 2min. Please give it a try

  8. Stift commented on Mar 17, 2016

    @Stift
    ContributorAuthor

    that will fit

  9. forki commented on Mar 17, 2016

    @forki
    Member

    so it's online

  10. Stift commented on Mar 17, 2016

    @Stift
    ContributorAuthor

    I'm already testing it. I get some warnings that I cannot specifcally say what they are about:

    Could not resolve package Npgsql:
     - Dependencies file requested: 2.2.5-custom
     - <customPackage1> 1.0.11044 requested: >= 0
     - <customPackage2> 1.0.11149 requested: >= 2.2.5
     - <customPackage3> 1.1.10087 requested: >= 2.0.0 < 3.0.0
    

    Also some of the numbers do not fit to the package itself. Is something mixing up here?

  11. forki commented on Mar 17, 2016

    @forki
    Member

    shit. soo I'm not done

  12. Stift commented on Mar 17, 2016

    @Stift
    ContributorAuthor

    Also after a second run of install downloads now all packages again and this again takes a while.
    First run: 26s
    Second run (downloading?): +5min

  13. Stift commented on Mar 17, 2016

    @Stift
    ContributorAuthor

    sorry for that

  14. 16 remaining items

  15. forki commented on Mar 18, 2016

    @forki
    Member

    Yes everything that improves error messages is good.
    On Mar 18, 2016 18:03, "Christian Fiebrig" notifications@github.com wrote:

    Yes. I misunderstood the message! Sorry for that confusion.

    If I read the message like this, I would maybe understand this earlier.
    Could not resolve package Npgsql:

    • Dependencies file requested package Npgsql: 2.2.5-custom
    • 1.0.11044 requested package Npgsql: >= 0
    • 1.0.11149 requested package Npgsql: >= 2.2.5
    • 1.1.10087 requested package Npgsql: >= 2.0.0 < 3.0.0

    Should I make a pr for this?

    —
    You are receiving this because you were mentioned.
    Reply to this email directly or view it on GitHub
    #1524 (comment)

  16. forki commented on Mar 22, 2016

    @forki
    Member

    @Stift seems that I need your help again. Property based testing revealed another issue around that code. I was able to fix that but I want to know if how bad the perf is. Can you please check 3.0.0-alpha079? Thanks mate

  17. Stift commented on Mar 22, 2016

    @Stift
    ContributorAuthor

    No problem.
    stats for paket install

    Commit v2.54.0 v3.0.0-alpha079
    Unclean (with error in nupkg) 24s 2h+
    Clean (paket.lock is fine) 8s 8s
    Clean (paket.lock has to be updated) 11s 13s

    and for a paket update nuget package only on a clean commit

    v2.54.0 v3.0.0-alpha079
    161s 161s

    The unclean commit was the one that originally made problems and where we had a package which was not configured well.

    I mean the only issue that I see is that with this unclean package we get into a situation where paket does not behave that well. When I looked in the verbose output of 2.52.10 (where the original problem started) I had the feeling paket was running in circles.

  18. forki commented on Mar 22, 2016

    @forki
    Member

    So apart from a strange state it was ok?

  19. Stift commented on Mar 22, 2016

    @Stift
    ContributorAuthor

    yes. Seems like current stable and alpha are similiar.

  20. Stift commented on Mar 22, 2016

    @Stift
    ContributorAuthor

    I just fear a bad user experience when paket cannot detect that it runs in a regression.

  21. forki commented on Mar 22, 2016

    @forki
    Member

    Yes we need to find that error. Question is how to reproduce on my machine.
    On Mar 22, 2016 8:56 PM, "Christian Fiebrig" notifications@github.com
    wrote:

    I just fear a bad user experience when paket cannot detect that it runs in
    a regression.

    —
    You are receiving this because you modified the open/close state.
    Reply to this email directly or view it on GitHub
    #1524 (comment)

  22. forki commented on Mar 23, 2016

    @forki
    Member

    ok I added another 3.0alpha package. I hope it solves that 2h hour thing

  23. Stift commented on Mar 23, 2016

    @Stift
    ContributorAuthor

    I tested with 3.0.0-alpha80 and with the unclean package paket install takes about 27 seconds. On a clean repo without the failing package we still have around 15 seconds. For me this looks definetely better and acceptable (from a user perspective).

    Update is also fine on the clean one.

  24. forki commented on Mar 23, 2016

    @forki
    Member

    thanks buddy.

  25. Stift commented on Mar 23, 2016

    @Stift
    ContributorAuthor

    no problem. Glad to serve and give something back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions