Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OptimizeNanBoxedValue related operations#4506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jedel1043 merged 9 commits intoboa-dev:mainfromjedel1043:optimize-nan-boxed
Oct 29, 2025

Conversation

@jedel1043
Copy link
Member

@jedel1043jedel1043 commentedOct 27, 2025
edited
Loading

Another batch of optimizations.

  • Optimize NanBoxedValue::clone by inlining the calls toas_object/string/symbol/bigint.
  • Optimize NanBoxedValue::tag_pointer by receiving aNonNull 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 count overflow as a cold path.

Main results

RESULT Richards 237
RESULT DeltaBlue 243
RESULT Crypto 192
RESULT RayTrace 524
RESULT EarleyBoyer 618
RESULT RegExp 87.6
RESULT Splay 877
RESULT NavierStokes 427
SCORE 323

PR results

RESULT Richards 229
RESULT DeltaBlue 238
RESULT Crypto 197
RESULT RayTrace 532
RESULT EarleyBoyer 635
RESULT RegExp 91.8
RESULT Splay 888
RESULT NavierStokes 439
SCORE 327

@jedel1043jedel1043 added the InternalCategory for changelog labelOct 27, 2025
@jedel1043jedel1043 requested a review froma teamOctober 27, 2025 23:16
@jedel1043jedel1043 added this to thenext-release milestoneOct 27, 2025
@github-actions
Copy link

github-actionsbot commentedOct 27, 2025
edited
Loading

Test262 conformance changes

Test resultmain countPR countdifference
Total50,59550,5950
Passed47,65647,6560
Ignored2,0362,0360
Failed9039030
Panics000
Conformance94.19%94.19%0.00%

@codecov
Copy link

codecovbot commentedOct 28, 2025
edited
Loading

Codecov Report

❌ Patch coverage is75.00000% with7 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.18%. Comparing base (6ddc2b4) to head (976206c).
⚠️ Report is 577 commits behind head on main.

Files with missing linesPatch %Lines
core/engine/src/value/inner/nan_boxed.rs80.00%4 Missing⚠️
core/gc/src/internals/gc_header.rs50.00%3 Missing⚠️
Additional details and impacted files
@@            Coverage Diff             @@##             main    #4506      +/-   ##==========================================+ Coverage   47.24%   57.18%   +9.93%==========================================  Files         476      503      +27       Lines       46892    57401   +10509     ==========================================+ Hits        22154    32824   +10670+ Misses      24738    24577     -161

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@nekevssnekevss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good to me!

@nekevssnekevss added this pull request to themerge queueOct 29, 2025
@github-merge-queuegithub-merge-queuebot removed this pull request from themerge queue due to failed status checksOct 29, 2025
@jedel1043jedel1043 added this pull request to themerge queueOct 29, 2025
Merged via the queue intoboa-dev:main with commit1088cc4Oct 29, 2025
16 checks passed
@jedel1043jedel1043 deleted the optimize-nan-boxed branchOctober 29, 2025 04:19
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nekevssnekevssnekevss approved these changes

Assignees

No one assigned

Labels

InternalCategory for changelog

Projects

None yet

Milestone

v1.0.0

Development

Successfully merging this pull request may close these issues.

2 participants

@jedel1043@nekevss

[8]ページ先頭

©2009-2025 Movatter.jp