Skip to content

refactor(jsruntime): builtins#769

Merged
masnagam merged 10 commits intomainfrom
refactor-jsruntime-builtins
Apr 28, 2026
Merged

refactor(jsruntime): builtins#769
masnagam merged 10 commits intomainfrom
refactor-jsruntime-builtins

Conversation

@masnagam
Copy link
Copy Markdown
Member

No description provided.

@masnagam masnagam self-assigned this Apr 27, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

🐰 Bencher Report

Branchrefactor-jsruntime-builtins
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
Box::new📈 view plot
🚷 view threshold
45.86 ns
(-6.51%)Baseline: 49.05 ns
59.39 ns
(77.21%)
htmlparser/parse/lipsum.html📈 view plot
🚷 view threshold
258,510.00 ns
(-3.66%)Baseline: 268,320.62 ns
312,615.34 ns
(82.69%)
htmlparser/parse/medium-fragment.html📈 view plot
🚷 view threshold
88,341.00 ns
(-4.03%)Baseline: 92,046.94 ns
106,268.14 ns
(83.13%)
htmlparser/parse/wikipedia.html📈 view plot
🚷 view threshold
5,452,400.00 ns
(-3.14%)Baseline: 5,629,032.81 ns
6,348,201.03 ns
(85.89%)
jsruntime/compile/fib16.js📈 view plot
🚷 view threshold
1,568,300.00 ns
(-5.30%)Baseline: 1,656,029.69 ns
1,968,458.53 ns
(79.67%)
jsruntime/evaluate/fib16.js📈 view plot
🚷 view threshold
87,214.00 ns
(-13.01%)Baseline: 100,263.16 ns
128,934.12 ns
(67.64%)
jsruntime/full/fib16.js📈 view plot
🚷 view threshold
1,809,200.00 ns
(-6.68%)Baseline: 1,938,706.25 ns
2,339,330.22 ns
(77.34%)
jsruntime/init📈 view plot
🚷 view threshold
46,195.00 ns
(-9.72%)Baseline: 51,171.33 ns
75,829.60 ns
(60.92%)
jsruntime/parse/fib16.js📈 view plot
🚷 view threshold
31,277.00 ns
(-13.38%)Baseline: 36,107.56 ns
48,273.85 ns
(64.79%)
vec_push📈 view plot
🚷 view threshold
6,046.30 ns
(+6.09%)Baseline: 5,699.35 ns
6,872.23 ns
(87.98%)
vec_push_with_capacity📈 view plot
🚷 view threshold
5,682.40 ns
(+8.42%)Baseline: 5,240.90 ns
6,374.48 ns
(89.14%)
🐰 View full continuous benchmarking report in Bencher

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

❌ Patch coverage is 63.88889% with 117 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.59%. Comparing base (c04ee20) to head (1c2161d).

Files with missing lines Patch % Lines
libs/jsruntime/src/builtins/object/imp.rs 0.00% 26 Missing ⚠️
libs/jsruntime/src/backend/bridge.rs 47.61% 22 Missing ⚠️
libs/jsruntime/src/backend/clir/compiler/mod.rs 23.80% 16 Missing ⚠️
libs/jsruntime/src/builtins/global/imp.rs 89.90% 3 Missing and 8 partials ⚠️
libs/jsruntime/src/builtins/promise/imp.rs 20.00% 8 Missing ⚠️
libs/jsruntime/src/builtins/string/imp.rs 11.11% 8 Missing ⚠️
libs/jsruntime/src/builtins/function/imp.rs 0.00% 7 Missing ⚠️
libs/jsruntime/src/lib.rs 70.83% 7 Missing ⚠️
libs/jsruntime/src/builtins/error/imp.rs 0.00% 6 Missing ⚠️
libs/jsruntime/src/builtins/mod.rs 90.19% 5 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #769      +/-   ##
==========================================
- Coverage   75.63%   75.59%   -0.05%     
==========================================
  Files          95       96       +1     
  Lines       29032    28949      -83     
  Branches    29032    28949      -83     
==========================================
- Hits        21958    21883      -75     
+ Misses       6764     6757       -7     
+ Partials      310      309       -1     

☔ 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.

@masnagam masnagam force-pushed the refactor-jsruntime-builtins branch from 4db9cb9 to c36bc20 Compare April 28, 2026 04:24
@masnagam masnagam merged commit 0efb315 into main Apr 28, 2026
11 of 12 checks passed
@masnagam masnagam deleted the refactor-jsruntime-builtins branch April 28, 2026 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant