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