-
-
Notifications
You must be signed in to change notification settings - Fork 771
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize performance of call-stack getting
call stack not actually needed at most cases, but got always get(actually only first get) call stack from error is so slow operation, and may be moved on-demand getter Please see this simple example and his performance: https://gist.github.com/Gvozd/291e4f0adf247ff70ed72150059e4977 with node: before commit: 810-840ms now: 170-180ms with babel-node(slowe because source-map converting stack): before commit: 2900-3100ms now: 190-230ms
- Loading branch information
Showing
2 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters