0 条评论 (0 条评论)3 个反应 (3 个反应)0 位负责人 (0 位负责人)JavaScript206 个派生 (206 个派生)batch import
help wantedquestion
仓库指标
- 星标
- 1,037 个星标 (1,037 个星标)
- PR 合并指标
- 平均合并 16分钟 (平均合并 16分钟)30 天内合并 1 个 PR (30 天内合并 1 个 PR)
描述
JSPerf suggests that lodash _.map is faster than native Array.map https://jsperf.com/native-map-vs-lodash-map but is there an overhead in loading lodash for a single execution?
is it enough to offset the Performance benefits of the module?
贡献者指南
- 研究方向
- 研究在 AWS Lambda 函数中使用 lodash 的 .map 与原生 Array.map 之间的性能权衡。首先阅读链接的 jsperf 结果。然后设置一个简单的 Lambda 函数,使用实际数据量对两种方法进行基准测试,测量执行时间和冷启动开销。考虑 lodash 包的大小及其对 Lambda 冷启动的影响。记录发现并提供建议。没有现有的 PR 或评论可供参考。
- 技术栈
- javascript
- 领域
- backendperformance
- 议题类型
- 调研
- 前置要求
- JavaScriptAWS Lambda basics