Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork476
Commit1088cc4
authored
Optimize
Another batch of optimizations.- Optimize NanBoxedValue::clone by inlining the calls to`as_object/string/symbol/bigint`.- Optimize NanBoxedValue::tag_pointer by receiving a `NonNull` pointer,which removes the assertion we have there. Also marks the rarest path(unsupported platform) as a cold function.- Optimize GcHeader::inc_ref_count by marking the possible ref countoverflow as a cold path.### Main resultsRESULT Richards 237RESULT DeltaBlue 243RESULT Crypto 192RESULT RayTrace 524RESULT EarleyBoyer 618RESULT RegExp 87.6RESULT Splay 877RESULT NavierStokes 427SCORE 323### PR resultsRESULT Richards 229RESULT DeltaBlue 238RESULT Crypto 197RESULT RayTrace 532RESULT EarleyBoyer 635RESULT RegExp 91.8RESULT Splay 888RESULT NavierStokes 439SCORE 327NanBoxedValue related operations (#4506)1 parentc9b1f94 commit1088cc4
File tree
3 files changed
+71
-36
lines changed- core
- engine/src
- value/inner
- gc/src/internals
3 files changed
+71
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
337 | | - | |
338 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
265 | | - | |
266 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
267 | 280 | | |
268 | 281 | | |
269 | 282 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
278 | 289 | | |
279 | 290 | | |
280 | 291 | | |
| |||
342 | 353 | | |
343 | 354 | | |
344 | 355 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
358 | 374 | | |
359 | 375 | | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
360 | 382 | | |
361 | 383 | | |
362 | 384 | | |
| |||
377 | 399 | | |
378 | 400 | | |
379 | 401 | | |
380 | | - | |
| 402 | + | |
381 | 403 | | |
382 | 404 | | |
383 | 405 | | |
384 | | - | |
| 406 | + | |
385 | 407 | | |
386 | 408 | | |
387 | 409 | | |
| |||
437 | 459 | | |
438 | 460 | | |
439 | 461 | | |
440 | | - | |
| 462 | + | |
441 | 463 | | |
442 | 464 | | |
443 | 465 | | |
| |||
446 | 468 | | |
447 | 469 | | |
448 | 470 | | |
449 | | - | |
| 471 | + | |
450 | 472 | | |
451 | 473 | | |
452 | 474 | | |
| |||
455 | 477 | | |
456 | 478 | | |
457 | 479 | | |
458 | | - | |
| 480 | + | |
459 | 481 | | |
460 | 482 | | |
461 | 483 | | |
| |||
464 | 486 | | |
465 | 487 | | |
466 | 488 | | |
467 | | - | |
| 489 | + | |
468 | 490 | | |
469 | 491 | | |
470 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
65 | 78 | | |
66 | 79 | | |
67 | | - | |
68 | 80 | | |
69 | 81 | | |
70 | 82 | | |
| |||
75 | 87 | | |
76 | 88 | | |
77 | 89 | | |
78 | | - | |
79 | 90 | | |
80 | 91 | | |
81 | 92 | | |
| |||
0 commit comments
Comments
(0)