Installation of some libraries dramatically slower than alternative tooling
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- csharp
- 领域
- performance, tooling
调研方向
Start by running the listed npm, Bower, and LibMan cache-clean installation commands for [email protected] 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.
由索引模型根据 Issue 内容生成。
描述
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 [email protected]time bower install ckeditor#4.6.2 --savetime 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
- 主要语言
- C#
- 星标
- 485
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aspnet/LibraryManager 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
aspnet/LibraryManager#824 · 1 条评论 · 3 个 reaction ·
-
Add documentation about using `Microsoft.Web.LibraryManager.Build`可能已有人在做 @jimmylewis 于 317 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 68/100
aspnet/LibraryManager#804 · 2 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 48/100
aspnet/LibraryManager#829 · 1 条评论 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 42/100
aspnet/LibraryManager#820 ·
-
难度 4/5 3-5 天 新手友好度 35/100
aspnet/LibraryManager#808 · 5 条评论 ·
查看 aspnet/LibraryManager 的全部 Issue
相似的 Issue
-
A numeric literal is parsed in the host's culture, so 1.5 is 15 in a made EXE on a comma-decimal OS未关闭bug interpreter silently-wrong small
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
reactiveui/ReactiveUI.Binding.SourceGenerators#176 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
lugassawan/swe-workbench#799 ·
维护者通常 1 天内回复
-
.NET Docs Next Major
难度 2/5 1-3 小时 新手友好度 77/100
getsentry/sentry-dotnet#5709 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
plengauer/RicherPresence#132 ·
维护者通常 1 天内回复