Commit dd6667d
src: lazily load internalBinding('uv') and build the errmap lazily
This removes the `internalBinding('uv')` call from the normal
bootstrap for now, and avoids building `errmap` by default which
expands to a lot of calls into V8.
PR-URL: #25143
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent c7d2dbd commit dd6667dCopy full SHA for dd6667d
Expand file treeCollapse file tree
3 files changed
+90
-33
lines changedOpen diff view settings
Collapse file
+21-8Lines changed: 21 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | 18 | |
24 | 19 | |
25 | 20 | |
| ||
237 | 232 | |
238 | 233 | |
239 | 234 | |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
240 | 253 | |
241 | 254 | |
242 | 255 | |
| ||
247 | 260 | |
248 | 261 | |
249 | 262 | |
250 | | - |
| 263 | + |
251 | 264 | |
252 | 265 | |
253 | 266 | |
| ||
303 | 316 | |
304 | 317 | |
305 | 318 | |
306 | | - |
| 319 | + |
307 | 320 | |
308 | 321 | |
309 | 322 | |
| ||
421 | 434 | |
422 | 435 | |
423 | 436 | |
424 | | - |
| 437 | + |
425 | 438 | |
426 | 439 | |
427 | 440 | |
|
Collapse file
+12-3Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | | - |
21 | 19 | |
22 | 20 | |
23 | 21 | |
| ||
250 | 248 | |
251 | 249 | |
252 | 250 | |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
253 | 262 | |
254 | | - |
| 263 | + |
255 | 264 | |
256 | 265 | |
257 | 266 | |
|
Collapse file
+57-22Lines changed: 57 additions & 22 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
28 | 45 | |
29 | 46 | |
30 | 47 | |
31 | 48 | |
| 49 | + |
32 | 50 | |
33 | 51 | |
34 | 52 | |
35 | 53 | |
36 | 54 | |
37 | 55 | |
| 56 | + |
| 57 | + |
38 | 58 | |
39 | 59 | |
40 | 60 | |
41 | | - |
42 | 61 | |
43 | 62 | |
44 | 63 | |
| ||
57 | 76 | |
58 | 77 | |
59 | 78 | |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
60 | 102 | |
61 | 103 | |
62 | 104 | |
| ||
70 | 112 | |
71 | 113 | |
72 | 114 | |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
92 | 128 | |
93 | | - |
94 | | - |
| 129 | + |
95 | 130 | |
96 | 131 | |
97 | 132 | |
|
0 commit comments