Skip to content

wip#5428

Draft
aboodman wants to merge 1 commit intomainfrom
aa/crud
Draft

wip#5428
aboodman wants to merge 1 commit intomainfrom
aa/crud

Conversation

@aboodman
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Jan 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
replicache-docs Ready Ready Preview, Comment Jan 19, 2026 5:10pm
zbugs Ready Ready Preview, Comment Jan 19, 2026 5:10pm

Request Review

>;

result[tableName] = {
insert: defineMutator(insertSchema, async ({tx, args}) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

You'd obviously add update/upsert/delete here too.

@github-actions
Copy link

🐰 Bencher Report

Branchaa/crud
TestbedLinux
Click to view all benchmark results
BenchmarkFile SizeBenchmark Result
kilobytes (KB)
(Result Δ%)
Upper Boundary
kilobytes (KB)
(Limit %)
zero-package.tgz📈 view plot
🚷 view threshold
1,783.60 KB
(0.00%)Baseline: 1,783.60 KB
1,819.27 KB
(98.04%)
zero.js📈 view plot
🚷 view threshold
242.90 KB
(0.00%)Baseline: 242.90 KB
247.76 KB
(98.04%)
zero.js.br📈 view plot
🚷 view threshold
66.56 KB
(0.00%)Baseline: 66.56 KB
67.89 KB
(98.04%)
🐰 View full continuous benchmarking report in Bencher

@github-actions
Copy link

🐰 Bencher Report

Branchaa/crud
Testbedself-hosted
Click to view all benchmark results
BenchmarkThroughputBenchmark Result
operations / second (ops/s) x 1e3
(Result Δ%)
Lower Boundary
operations / second (ops/s) x 1e3
(Limit %)
src/client/custom.bench.ts > big schema📈 view plot
🚷 view threshold
140.79 ops/s x 1e3
(+1.46%)Baseline: 138.77 ops/s x 1e3
121.09 ops/s x 1e3
(86.01%)
src/client/zero.bench.ts > basics > All 1000 rows x 10 columns (numbers)📈 view plot
🚷 view threshold
2.50 ops/s x 1e3
(+1.17%)Baseline: 2.47 ops/s x 1e3
2.08 ops/s x 1e3
(83.53%)
src/client/zero.bench.ts > pk compare > pk = N📈 view plot
🚷 view threshold
63.20 ops/s x 1e3
(-1.23%)Baseline: 63.98 ops/s x 1e3
54.09 ops/s x 1e3
(85.60%)
src/client/zero.bench.ts > with filter > Lower rows 500 x 10 columns (numbers)📈 view plot
🚷 view threshold
3.86 ops/s x 1e3
(+2.24%)Baseline: 3.78 ops/s x 1e3
3.25 ops/s x 1e3
(84.12%)
🐰 View full continuous benchmarking report in Bencher

@github-actions
Copy link

🐰 Bencher Report

Branchaa/crud
Testbedself-hosted
Click to view all benchmark results
BenchmarkThroughputBenchmark Result
operations / second (ops/s)
(Result Δ%)
Lower Boundary
operations / second (ops/s)
(Limit %)
1 exists: track.exists(album)📈 view plot
🚷 view threshold
13,230.87 ops/s
(-4.71%)Baseline: 13,884.68 ops/s
11,654.81 ops/s
(88.09%)
10 exists (AND)📈 view plot
🚷 view threshold
190,391.66 ops/s
(-6.47%)Baseline: 203,563.53 ops/s
164,824.61 ops/s
(86.57%)
10 exists (OR)📈 view plot
🚷 view threshold
3,892.55 ops/s
(-2.42%)Baseline: 3,988.94 ops/s
3,365.93 ops/s
(86.47%)
12 exists (AND)📈 view plot
🚷 view threshold
179,729.23 ops/s
(-0.25%)Baseline: 180,179.77 ops/s
146,548.00 ops/s
(81.54%)
12 exists (OR)📈 view plot
🚷 view threshold
3,306.62 ops/s
(-2.43%)Baseline: 3,389.00 ops/s
2,874.58 ops/s
(86.93%)
12 level nesting📈 view plot
🚷 view threshold
2,934.88 ops/s
(-0.69%)Baseline: 2,955.36 ops/s
2,500.47 ops/s
(85.20%)
2 exists (AND): track.exists(album).exists(genre)📈 view plot
🚷 view threshold
4,964.04 ops/s
(-4.76%)Baseline: 5,212.28 ops/s
4,379.57 ops/s
(88.23%)
3 exists (AND)📈 view plot
🚷 view threshold
1,998.08 ops/s
(-1.85%)Baseline: 2,035.70 ops/s
1,717.19 ops/s
(85.94%)
3 exists (OR)📈 view plot
🚷 view threshold
1,008.86 ops/s
(-1.07%)Baseline: 1,019.82 ops/s
861.70 ops/s
(85.41%)
5 exists (AND)📈 view plot
🚷 view threshold
320.08 ops/s
(-0.13%)Baseline: 320.49 ops/s
270.66 ops/s
(84.56%)
5 exists (OR)📈 view plot
🚷 view threshold
167.73 ops/s
(-0.74%)Baseline: 168.98 ops/s
141.91 ops/s
(84.61%)
Nested 2 levels: track > album > artist📈 view plot
🚷 view threshold
4,540.03 ops/s
(-0.47%)Baseline: 4,561.39 ops/s
3,848.37 ops/s
(84.77%)
Nested 4 levels: playlist > tracks > album > artist📈 view plot
🚷 view threshold
732.04 ops/s
(-2.25%)Baseline: 748.86 ops/s
636.69 ops/s
(86.97%)
Nested with filters: track > album > artist (filtered)📈 view plot
🚷 view threshold
3,644.95 ops/s
(-3.77%)Baseline: 3,787.82 ops/s
3,224.89 ops/s
(88.48%)
planned: playlist.exists(tracks)📈 view plot
🚷 view threshold
607.08 ops/s
(-2.64%)Baseline: 623.55 ops/s
537.75 ops/s
(88.58%)
planned: track.exists(album) OR exists(genre)📈 view plot
🚷 view threshold
164.58 ops/s
(-0.59%)Baseline: 165.56 ops/s
145.48 ops/s
(88.40%)
planned: track.exists(album) where title="Big Ones"📈 view plot
🚷 view threshold
7,367.91 ops/s
(-3.12%)Baseline: 7,605.01 ops/s
6,575.15 ops/s
(89.24%)
planned: track.exists(album).exists(genre)📈 view plot
🚷 view threshold
38.56 ops/s
(-2.48%)Baseline: 39.54 ops/s
33.72 ops/s
(87.46%)
planned: track.exists(album).exists(genre) with filters📈 view plot
🚷 view threshold
5,076.90 ops/s
(-5.51%)Baseline: 5,372.95 ops/s
4,606.32 ops/s
(90.73%)
planned: track.exists(playlists)📈 view plot
🚷 view threshold
3.88 ops/s
(-3.65%)Baseline: 4.02 ops/s
3.47 ops/s
(89.61%)
unplanned: playlist.exists(tracks)📈 view plot
🚷 view threshold
585.19 ops/s
(-3.69%)Baseline: 607.58 ops/s
524.49 ops/s
(89.63%)
unplanned: track.exists(album) OR exists(genre)📈 view plot
🚷 view threshold
43.67 ops/s
(-2.86%)Baseline: 44.96 ops/s
38.11 ops/s
(87.26%)
unplanned: track.exists(album) where title="Big Ones"📈 view plot
🚷 view threshold
55.00 ops/s
(-2.60%)Baseline: 56.46 ops/s
48.44 ops/s
(88.09%)
unplanned: track.exists(album).exists(genre)📈 view plot
🚷 view threshold
37.82 ops/s
(-3.86%)Baseline: 39.34 ops/s
33.66 ops/s
(89.00%)
unplanned: track.exists(album).exists(genre) with filters📈 view plot
🚷 view threshold
53.45 ops/s
(-3.14%)Baseline: 55.19 ops/s
47.93 ops/s
(89.67%)
unplanned: track.exists(playlists)📈 view plot
🚷 view threshold
3.89 ops/s
(-3.37%)Baseline: 4.02 ops/s
3.46 ops/s
(89.11%)
zpg: all playlists📈 view plot
🚷 view threshold
5.51 ops/s
(-2.37%)Baseline: 5.64 ops/s
5.05 ops/s
(91.68%)
zql: all playlists📈 view plot
🚷 view threshold
7.23 ops/s
(-5.48%)Baseline: 7.65 ops/s
6.14 ops/s
(84.94%)
zql: edit for limited query, inside the bound📈 view plot
🚷 view threshold
205,873.90 ops/s
(-1.95%)Baseline: 209,962.14 ops/s
177,065.24 ops/s
(86.01%)
zql: edit for limited query, outside the bound📈 view plot
🚷 view threshold
210,264.95 ops/s
(-2.47%)Baseline: 215,588.20 ops/s
168,951.61 ops/s
(80.35%)
zql: push into limited query, inside the bound📈 view plot
🚷 view threshold
101,939.67 ops/s
(-5.06%)Baseline: 107,370.19 ops/s
90,354.76 ops/s
(88.64%)
zql: push into limited query, outside the bound📈 view plot
🚷 view threshold
385,766.85 ops/s
(-1.56%)Baseline: 391,877.73 ops/s
306,374.73 ops/s
(79.42%)
zql: push into unlimited query📈 view plot
🚷 view threshold
308,570.12 ops/s
(-5.03%)Baseline: 324,906.30 ops/s
267,248.71 ops/s
(86.61%)
zqlite: all playlists📈 view plot
🚷 view threshold
1.69 ops/s
(-4.76%)Baseline: 1.77 ops/s
1.45 ops/s
(85.86%)
zqlite: edit for limited query, inside the bound📈 view plot
🚷 view threshold
75,714.00 ops/s
(+0.57%)Baseline: 75,287.39 ops/s
59,836.32 ops/s
(79.03%)
zqlite: edit for limited query, outside the bound📈 view plot
🚷 view threshold
64,751.41 ops/s
(-13.85%)Baseline: 75,160.79 ops/s
57,179.00 ops/s
(88.31%)
zqlite: push into limited query, inside the bound📈 view plot
🚷 view threshold
3,960.27 ops/s
(-1.81%)Baseline: 4,033.46 ops/s
3,650.52 ops/s
(92.18%)
zqlite: push into limited query, outside the bound📈 view plot
🚷 view threshold
82,290.11 ops/s
(-5.89%)Baseline: 87,443.94 ops/s
75,712.57 ops/s
(92.01%)
zqlite: push into unlimited query📈 view plot
🚷 view threshold
110,741.61 ops/s
(-9.82%)Baseline: 122,805.76 ops/s
101,858.02 ops/s
(91.98%)
🐰 View full continuous benchmarking report in Bencher

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

Comments