Skip to content

Installation of some libraries dramatically slower than alternative tooling #389

Open
@nwoolls

Description

@nwoolls

Functional impact

Does the bug result in any actual functional issue, if so, what?

If the library is cached, installation is quick enough. However, without libraries in cache, the performance of installing / restoring a library is dramatically slower than alternatives such as NPM and Bower.

Minimal repro steps

What is the smallest, simplest set of steps to reproduce the issue. If needed, provide a project that demonstrates the issue.

  1. mkdir libman-speed-test
  2. cd libman-speed-test/
  3. npm cache clean --force
  4. bower cache clean
  5. libman cache clean
  6. time npm install [email protected]
  7. time bower install ckeditor#4.6.2 --save
  8. time libman install [email protected] --provider cdnjs --destination libman_libs/ckeditor

Expected result

What would you expect to happen if there wasn't a bug

LibMan should install / restore the specified library in an amount of time comparable to alternatives such as NPM and Bower.

Actual result

What is actually happening

With the above steps, installing the specified library takes:

  • NPM: 3.63s
  • Bower: 8.49s
  • LibMan: 2m47.92s

Further technical details

Optional, details of the root cause if known

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