Commit 6105d22
committed
Move stack trace cache inside V8 implementation
The fact that we need this cache is really a V8 quirk of only allowing structured data once.
It's technically possible that the implementation also doesn't need parsing and doesn't need a cache.
It's also not technically correct to use a shared cache for two different requests since the filter is on the request.
But mainly I'm doing this so that I can access the filtered frames.1 parent 3a64889 commit 6105d22
File tree
2 files changed
+23
-22
lines changed- packages/react-server/src
2 files changed
+23
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 167 | | |
173 | 168 | | |
174 | 169 | | |
175 | 170 | | |
176 | 171 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 172 | | |
189 | 173 | | |
190 | 174 | | |
191 | 175 | | |
192 | 176 | | |
193 | 177 | | |
| 178 | + | |
194 | 179 | | |
195 | 180 | | |
196 | 181 | | |
| |||
203 | 188 | | |
204 | 189 | | |
205 | 190 | | |
206 | | - | |
| 191 | + | |
207 | 192 | | |
208 | 193 | | |
209 | | - | |
210 | | - | |
211 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
212 | 200 | | |
213 | 201 | | |
214 | | - | |
215 | | - | |
| 202 | + | |
216 | 203 | | |
217 | 204 | | |
218 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
133 | 145 | | |
134 | 146 | | |
135 | 147 | | |
| |||
148 | 160 | | |
149 | 161 | | |
150 | 162 | | |
| 163 | + | |
151 | 164 | | |
152 | 165 | | |
153 | 166 | | |
| |||
191 | 204 | | |
192 | 205 | | |
193 | 206 | | |
| 207 | + | |
194 | 208 | | |
195 | 209 | | |
0 commit comments