Commit ba00875
stream: use new AsyncResource instead of bind
The bind method uses ObjectDefineProperty that shows up
in flamegraphs. This changes it to avoid the utility.
Signed-off-by: Matteo Collina <hello@matteocollina.com>
PR-URL: #59867
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>1 parent 6d24b88 commit ba00875Copy full SHA for ba00875
File tree
Expand file treeCollapse file tree
1 file changed
+12
-3
lines changedOpen diff view settings
Filter options
- lib/internal/streams
Expand file treeCollapse file tree
1 file changed
+12
-3
lines changedOpen diff view settings
Collapse file
lib/internal/streams/end-of-stream.js
Copy file name to clipboardExpand all lines: lib/internal/streams/end-of-stream.js+12-3Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
| 48 | + |
49 | 49 | |
50 | 50 | |
51 | 51 | |
| ||
54 | 54 | |
55 | 55 | |
56 | 56 | |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
57 | 65 | |
58 | 66 | |
59 | 67 | |
| ||
66 | 74 | |
67 | 75 | |
68 | 76 | |
69 | | - |
70 | | - |
| 77 | + |
| 78 | + |
| 79 | + |
71 | 80 | |
72 | 81 | |
73 | 82 | |
|
0 commit comments