Skip to content

Native Data Loader#112

Merged
aarne merged 3 commits intomainfrom
data_loader_native
Mar 7, 2026
Merged

Native Data Loader#112
aarne merged 3 commits intomainfrom
data_loader_native

Conversation

@aarne
Copy link
Contributor

@aarne aarne commented Mar 7, 2026

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 7, 2026

🦋 Changeset detected

Latest commit: 6ee2cdb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@stackables/bridge Minor
@stackables/bridge-core Minor
@stackables/bridge-types Minor
@stackables/bridge-compiler Patch
@stackables/bridge-graphql Patch
@stackables/bridge-parser Patch
@stackables/bridge-stdlib Patch

Not sure what this means? Click here to learn what changesets are.

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

@aarne aarne linked an issue Mar 7, 2026 that may be closed by this pull request
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 7, 2026

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 6ee2cdb Commit Preview URL

Branch Preview URL
Mar 07 2026, 07:46 PM

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

🐰 Bencher Report

Branchdata_loader_native
Testbedubuntu-latest

🚨 14 Alerts

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
compiled: array + tool-per-element 10Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.01 ns
(+16.88%)Baseline: 0.01 ns
0.01 ns
(109.25%)

compiled: array + tool-per-element 100Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.04 ns
(+27.09%)Baseline: 0.03 ns
0.04 ns
(115.99%)

compiled: chained 3-tool fan-outLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.00 ns
(+10.68%)Baseline: 0.00 ns
0.00 ns
(103.19%)

compiled: flat array 10 itemsLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.01 ns
(+14.45%)Baseline: 0.01 ns
0.01 ns
(106.01%)

compiled: flat array 100 itemsLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.02 ns
(+47.79%)Baseline: 0.01 ns
0.01 ns
(123.81%)

compiled: flat array 1000 itemsLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.12 ns
(+78.16%)Baseline: 0.07 ns
0.09 ns
(137.18%)

compiled: nested array 10x10Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.03 ns
(+32.19%)Baseline: 0.02 ns
0.02 ns
(115.83%)

compiled: nested array 20x10Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.05 ns
(+35.84%)Baseline: 0.03 ns
0.04 ns
(117.26%)

compiled: nested array 5x5Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.01 ns
(+20.90%)Baseline: 0.01 ns
0.01 ns
(110.20%)

exec: array + tool-per-element 10Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.11 ns
(+51.72%)Baseline: 0.08 ns
0.10 ns
(118.76%)

exec: array + tool-per-element 100Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
1.06 ns
(+57.36%)Baseline: 0.67 ns
0.86 ns
(122.76%)

exec: chained 3-tool fan-outLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.05 ns
(+204.76%)Baseline: 0.01 ns
0.03 ns
(157.97%)

exec: short-circuit (overdefinition bypass)Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.00 ns
(+28.34%)Baseline: 0.00 ns
0.00 ns
(107.06%)

exec: simple chain (1 tool)Latency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
0.01 ns
(+36.23%)Baseline: 0.01 ns
0.01 ns
(104.15%)

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
(+5.42%)Baseline: 0.00 ns
0.00 ns
(97.61%)
compiled: array + SYNC tool-per-element 10📈 view plot
🚷 view threshold
0.01 ns
(+8.90%)Baseline: 0.01 ns
0.01 ns
(97.78%)
compiled: array + SYNC tool-per-element 100📈 view plot
🚷 view threshold
0.02 ns
(+26.52%)Baseline: 0.02 ns
0.02 ns
(94.68%)
compiled: array + tool-per-element 10📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.01 ns
(+16.88%)Baseline: 0.01 ns
0.01 ns
(109.25%)

compiled: array + tool-per-element 100📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.04 ns
(+27.09%)Baseline: 0.03 ns
0.04 ns
(115.99%)

compiled: chained 3-tool fan-out📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.00 ns
(+10.68%)Baseline: 0.00 ns
0.00 ns
(103.19%)

compiled: flat array 10 items📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.01 ns
(+14.45%)Baseline: 0.01 ns
0.01 ns
(106.01%)

compiled: flat array 100 items📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.02 ns
(+47.79%)Baseline: 0.01 ns
0.01 ns
(123.81%)

compiled: flat array 1000 items📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.12 ns
(+78.16%)Baseline: 0.07 ns
0.09 ns
(137.18%)

compiled: nested array 10x10📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.03 ns
(+32.19%)Baseline: 0.02 ns
0.02 ns
(115.83%)

compiled: nested array 20x10📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.05 ns
(+35.84%)Baseline: 0.03 ns
0.04 ns
(117.26%)

compiled: nested array 5x5📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.01 ns
(+20.90%)Baseline: 0.01 ns
0.01 ns
(110.20%)

compiled: short-circuit (overdefinition bypass)📈 view plot
🚷 view threshold
0.00 ns
(+4.82%)Baseline: 0.00 ns
0.00 ns
(97.21%)
compiled: simple chain (1 tool)📈 view plot
🚷 view threshold
0.00 ns
(+4.56%)Baseline: 0.00 ns
0.00 ns
(97.25%)
exec: absolute baseline (passthrough, no tools)📈 view plot
🚷 view threshold
0.00 ns
(+20.77%)Baseline: 0.00 ns
0.00 ns
(97.85%)
exec: array + SYNC tool-per-element 10📈 view plot
🚷 view threshold
0.10 ns
(+24.66%)Baseline: 0.08 ns
0.16 ns
(62.82%)
exec: array + SYNC tool-per-element 100📈 view plot
🚷 view threshold
0.91 ns
(+25.19%)Baseline: 0.73 ns
1.48 ns
(61.26%)
exec: array + tool-per-element 10📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.11 ns
(+51.72%)Baseline: 0.08 ns
0.10 ns
(118.76%)

exec: array + tool-per-element 100📈 view plot
🚷 view threshold
🚨 view alert (🔔)
1.06 ns
(+57.36%)Baseline: 0.67 ns
0.86 ns
(122.76%)

exec: chained 3-tool fan-out📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.05 ns
(+204.76%)Baseline: 0.01 ns
0.03 ns
(157.97%)

exec: flat array 10 items📈 view plot
🚷 view threshold
0.02 ns
(+15.02%)Baseline: 0.01 ns
0.02 ns
(81.62%)
exec: flat array 100 items📈 view plot
🚷 view threshold
0.08 ns
(+9.32%)Baseline: 0.08 ns
0.14 ns
(60.96%)
exec: flat array 1000 items📈 view plot
🚷 view threshold
0.76 ns
(+8.94%)Baseline: 0.70 ns
1.39 ns
(54.55%)
exec: nested array 10x10📈 view plot
🚷 view threshold
0.13 ns
(+7.65%)Baseline: 0.12 ns
0.20 ns
(66.30%)
exec: nested array 20x10📈 view plot
🚷 view threshold
0.26 ns
(+7.58%)Baseline: 0.24 ns
0.38 ns
(67.35%)
exec: nested array 5x5📈 view plot
🚷 view threshold
0.05 ns
(+9.74%)Baseline: 0.05 ns
0.06 ns
(80.06%)
exec: short-circuit (overdefinition bypass)📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.00 ns
(+28.34%)Baseline: 0.00 ns
0.00 ns
(107.06%)

exec: simple chain (1 tool)📈 view plot
🚷 view threshold
🚨 view alert (🔔)
0.01 ns
(+36.23%)Baseline: 0.01 ns
0.01 ns
(104.15%)

parse: large bridge (20 handles x 5 wires)📈 view plot
🚷 view threshold
1.34 ns
(+32.29%)Baseline: 1.02 ns
1.40 ns
(96.31%)
parse: simple bridge📈 view plot
🚷 view threshold
0.04 ns
(+10.70%)Baseline: 0.03 ns
0.05 ns
(78.22%)
🐰 View full continuous benchmarking report in Bencher

@aarne aarne merged commit 375e2b0 into main Mar 7, 2026
8 of 10 checks passed
@aarne aarne deleted the data_loader_native branch March 7, 2026 20:00
@github-actions github-actions bot mentioned this pull request Mar 7, 2026
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.

Native Batching & Tool Consolidation

1 participant