Installation of some libraries dramatically slower than alternative tooling
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- performance, tooling
Research direction
Start by running the listed npm, Bower, and LibMan cache-clean installation commands for ckeditor@4.6.2 and compare their timings. Trace the LibMan install path invoked by libman install --provider cdnjs --destination libman_libs/ckeditor; done means uncached installation is substantially closer to the alternative tooling times.
Written by the indexing model from the issue text.
Description
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.
mkdir libman-speed-testcd libman-speed-test/npm cache clean --forcebower cache cleanlibman cache cleantime npm install ckeditor@4.6.2time bower install ckeditor#4.6.2 --savetime libman install ckeditor@4.6.2 --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
- Dominant language
- C#
- Stars
- 486
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aspnet/LibraryManager
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aspnet/LibraryManager#824 · 1 comment · 3 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
aspnet/LibraryManager#804 · 2 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 48/100
aspnet/LibraryManager#829 · 1 comment · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
aspnet/LibraryManager#820 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
aspnet/LibraryManager#808 · 5 comments ·
All issues in aspnet/LibraryManager
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
apache/arrow-adbc#4809 ·
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/vscode-azurefunctions#5197 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
microsoft/microsoft-ui-reactor#1274 ·