Skip to content

perf(string): single-alloc join/repeat/replace_once with safety fixes - #5506

Closed
xcb3d wants to merge 3 commits into
boa-dev:mainfrom
xcb3d:perf/string-single-alloc-fix
Closed

perf(string): single-alloc join/repeat/replace_once with safety fixes#5506
xcb3d wants to merge 3 commits into
boa-dev:mainfrom
xcb3d:perf/string-single-alloc-fix

fix(value): correct JsValue::as_str doctest and intra-doc links

a63a92f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 4, 2026 in 0s

62.81% (+15.57%) compared to 6ddc2b4

View this Pull Request on Codecov

62.81% (+15.57%) compared to 6ddc2b4

Details

Codecov Report

❌ Patch coverage is 79.04509% with 79 lines in your changes missing coverage. Please review.
✅ Project coverage is 62.81%. Comparing base (6ddc2b4) to head (a63a92f).
⚠️ Report is 1050 commits behind head on main.

Files with missing lines Patch % Lines
core/engine/src/builtins/string/mod.rs 51.51% 48 Missing ⚠️
core/string/src/lib.rs 91.61% 14 Missing ⚠️
core/string/src/str.rs 85.36% 12 Missing ⚠️
core/engine/src/value/inner/legacy.rs 0.00% 4 Missing ⚠️
core/string/src/builder.rs 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5506       +/-   ##
===========================================
+ Coverage   47.24%   62.81%   +15.57%     
===========================================
  Files         476      536       +60     
  Lines       46892    60616    +13724     
===========================================
+ Hits        22154    38077    +15923     
+ Misses      24738    22539     -2199     

☔ View full report in Codecov by Harness.
📢 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.