Skip to content

Tool cost calc#134

Merged
aarne merged 1 commit intomainfrom
wire_cost_calc
Mar 14, 2026
Merged

Tool cost calc#134
aarne merged 1 commit intomainfrom
wire_cost_calc

Conversation

@aarne
Copy link
Contributor

@aarne aarne commented Mar 14, 2026

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 14, 2026

⚠️ No Changeset found

Latest commit: 1c7c167

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bridge 1c7c167 Commit Preview URL

Branch Preview URL
Mar 14 2026, 07:53 PM

@github-actions
Copy link
Contributor

🐰 Bencher Report

Branchwire_cost_calc
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
compiled: absolute baseline (passthrough, no tools)📈 view plot
🚷 view threshold
0.00 ns
(+1.15%)Baseline: 0.00 ns
0.00 ns
(92.65%)
compiled: array + SYNC tool-per-element 10📈 view plot
🚷 view threshold
0.01 ns
(+3.47%)Baseline: 0.01 ns
0.01 ns
(91.55%)
compiled: array + SYNC tool-per-element 100📈 view plot
🚷 view threshold
0.02 ns
(+8.57%)Baseline: 0.02 ns
0.03 ns
(85.85%)
compiled: array + tool-per-element 10📈 view plot
🚷 view threshold
0.01 ns
(+11.62%)Baseline: 0.01 ns
0.01 ns
(90.79%)
compiled: array + tool-per-element 100📈 view plot
🚷 view threshold
0.04 ns
(+15.70%)Baseline: 0.04 ns
0.05 ns
(88.42%)
compiled: chained 3-tool fan-out📈 view plot
🚷 view threshold
0.01 ns
(+14.60%)Baseline: 0.00 ns
0.01 ns
(95.58%)
compiled: flat array 10 items📈 view plot
🚷 view threshold
0.01 ns
(+12.13%)Baseline: 0.01 ns
0.01 ns
(93.01%)
compiled: flat array 100 items📈 view plot
🚷 view threshold
0.02 ns
(+24.81%)Baseline: 0.01 ns
0.02 ns
(82.18%)
compiled: flat array 1000 items📈 view plot
🚷 view threshold
0.12 ns
(+35.28%)Baseline: 0.09 ns
0.16 ns
(77.21%)
compiled: nested array 10x10📈 view plot
🚷 view threshold
0.03 ns
(+20.11%)Baseline: 0.02 ns
0.03 ns
(87.12%)
compiled: nested array 20x10📈 view plot
🚷 view threshold
0.05 ns
(+23.07%)Baseline: 0.04 ns
0.05 ns
(86.96%)
compiled: nested array 5x5📈 view plot
🚷 view threshold
0.01 ns
(+13.72%)Baseline: 0.01 ns
0.01 ns
(89.94%)
compiled: short-circuit (overdefinition bypass)📈 view plot
🚷 view threshold
0.00 ns
(+3.11%)Baseline: 0.00 ns
0.00 ns
(94.42%)
compiled: simple chain (1 tool)📈 view plot
🚷 view threshold
0.00 ns
(+5.78%)Baseline: 0.00 ns
0.00 ns
(94.92%)
exec: absolute baseline (passthrough, no tools)📈 view plot
🚷 view threshold
0.00 ns
(+31.00%)Baseline: 0.00 ns
0.01 ns
(85.33%)
exec: array + SYNC tool-per-element 10📈 view plot
🚷 view threshold
0.10 ns
(+2.10%)Baseline: 0.10 ns
0.13 ns
(78.14%)
exec: array + SYNC tool-per-element 100📈 view plot
🚷 view threshold
0.92 ns
(+1.71%)Baseline: 0.91 ns
1.18 ns
(78.19%)
exec: array + tool-per-element 10📈 view plot
🚷 view threshold
0.12 ns
(+29.25%)Baseline: 0.09 ns
0.14 ns
(83.98%)
exec: array + tool-per-element 100📈 view plot
🚷 view threshold
1.04 ns
(+26.96%)Baseline: 0.82 ns
1.25 ns
(82.74%)
exec: chained 3-tool fan-out📈 view plot
🚷 view threshold
0.05 ns
(+86.85%)Baseline: 0.03 ns
0.07 ns
(74.64%)
exec: flat array 10 items📈 view plot
🚷 view threshold
0.02 ns
(+20.68%)Baseline: 0.02 ns
0.02 ns
(89.15%)
exec: flat array 100 items📈 view plot
🚷 view threshold
0.10 ns
(+23.76%)Baseline: 0.08 ns
0.11 ns
(93.45%)
exec: flat array 1000 items📈 view plot
🚷 view threshold
0.91 ns
(+24.75%)Baseline: 0.73 ns
0.97 ns
(94.64%)
exec: nested array 10x10📈 view plot
🚷 view threshold
0.16 ns
(+19.73%)Baseline: 0.13 ns
0.17 ns
(93.91%)
exec: nested array 20x10📈 view plot
🚷 view threshold
0.30 ns
(+19.52%)Baseline: 0.25 ns
0.32 ns
(94.81%)
exec: nested array 5x5📈 view plot
🚷 view threshold
0.06 ns
(+18.72%)Baseline: 0.05 ns
0.07 ns
(92.45%)
exec: short-circuit (overdefinition bypass)📈 view plot
🚷 view threshold
0.01 ns
(+54.04%)Baseline: 0.00 ns
0.01 ns
(85.38%)
exec: simple chain (1 tool)📈 view plot
🚷 view threshold
0.01 ns
(+32.31%)Baseline: 0.01 ns
0.01 ns
(84.33%)
parse: large bridge (20 handles x 5 wires)📈 view plot
🚷 view threshold
1.33 ns
(+14.68%)Baseline: 1.16 ns
1.60 ns
(83.02%)
parse: simple bridge📈 view plot
🚷 view threshold
0.04 ns
(+0.00%)Baseline: 0.04 ns
0.05 ns
(76.05%)
🐰 View full continuous benchmarking report in Bencher

@aarne aarne merged commit 06ecf9d into main Mar 14, 2026
8 checks passed
@aarne aarne deleted the wire_cost_calc branch March 14, 2026 19:54
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