0 commenti (0 commenti)3 reazioni (3 reazioni)0 assegnatari (0 assegnatari)JavaScript206 fork (206 fork)batch import
help wantedquestion
Metriche repository
- Star
- 1037 stelle (1037 stelle)
- Metriche merge PR
- Merge medio 16m (Merge medio 16m)1 PR mergiata in 30 g (1 PR mergiata in 30 g)
Descrizione
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?
Guida contributor
- Direzione di ricerca
- Indaga il compromesso prestazionale tra l'uso di .map di lodash e Array.map nativo nelle funzioni AWS Lambda. Inizia leggendo i risultati jsperf collegati. Quindi imposta una semplice funzione Lambda che esegue benchmark di entrambi gli approcci con dimensioni di dati realistiche, misurando il tempo di esecuzione e l'overhead di cold start. Considera la dimensione del bundle lodash e il suo impatto sui cold start di Lambda. Documenta i risultati e fornisci una raccomandazione. Nessuna PR o commento esistente su cui basarsi.
- Tech stack
- javascript
- Dominio
- backendperformance
- Tipo issue
- Ricerca
- Prerequisiti
- JavaScriptAWS Lambda basics