lib: cache parsed source maps to reduce memory footprint · nodejs/node@2b06d66 · GitHub
Skip to content

Commit 2b06d66

Browse files
legendecasruyadorno
authored andcommitted
lib: cache parsed source maps to reduce memory footprint
This also improves performance to map the stack trace when the `Error.stack` is accessed. PR-URL: #46225 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent c10e602 commit 2b06d66

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

lib/internal/source_map/source_map_cache.js

Lines changed: 18 additions & 8 deletions

0 commit comments

Comments
 (0)