-
Notifications
You must be signed in to change notification settings - Fork 100
feat(zero-client): rename server to cacheURL #5228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| Branch | 0xcadams/server-url-rename |
| Testbed | Linux |
Click to view all benchmark results
| Benchmark | File Size | Benchmark Result kilobytes (KB) (Result Δ%) | Upper Boundary kilobytes (KB) (Limit %) |
|---|---|---|---|
| zero-package.tgz | 📈 view plot 🚷 view threshold | 1,750.49 KB(+0.00%)Baseline: 1,750.45 KB | 1,785.46 KB (98.04%) |
| zero.js | 📈 view plot 🚷 view threshold | 237.73 KB(+0.01%)Baseline: 237.71 KB | 242.47 KB (98.05%) |
| zero.js.br | 📈 view plot 🚷 view threshold | 65.65 KB(-0.03%)Baseline: 65.67 KB | 66.98 KB (98.01%) |
|
| Branch | 0xcadams/server-url-rename |
| Testbed | self-hosted |
Click to view all benchmark results
| Benchmark | Throughput | Benchmark Result operations / second (ops/s) (Result Δ%) | Lower Boundary operations / second (ops/s) (Limit %) |
|---|---|---|---|
| zpg: (pk lookup) select * from track where id = 3163 | 📈 view plot 🚷 view threshold | 922.53 ops/s(+2.04%)Baseline: 904.10 ops/s | 746.22 ops/s (80.89%) |
| zpg: (secondary index lookup) select * from track where album_id = 248 | 📈 view plot 🚷 view threshold | 965.99 ops/s(+2.78%)Baseline: 939.89 ops/s | 812.23 ops/s (84.08%) |
| zpg: (table scan) select * from album | 📈 view plot 🚷 view threshold | 667.81 ops/s(-5.45%)Baseline: 706.33 ops/s | 608.07 ops/s (91.06%) |
| zpg: OR with empty branch and limit | 📈 view plot 🚷 view threshold | 804.78 ops/s(-3.24%)Baseline: 831.70 ops/s | 704.00 ops/s (87.48%) |
| zpg: OR with empty branch and limit with exists | 📈 view plot 🚷 view threshold | 639.44 ops/s(-6.81%)Baseline: 686.14 ops/s | 555.80 ops/s (86.92%) |
| zpg: all playlists | 📈 view plot 🚷 view threshold | 5.85 ops/s(+1.33%)Baseline: 5.77 ops/s | 5.61 ops/s (95.85%) |
| zpg: scan with one depth related | 📈 view plot 🚷 view threshold | 443.42 ops/s(+4.53%)Baseline: 424.19 ops/s | 383.90 ops/s (86.58%) |
| zql: (pk lookup) select * from track where id = 3163 | 📈 view plot 🚷 view threshold | 115,789.12 ops/s(-9.84%)Baseline: 128,430.41 ops/s | 104,029.87 ops/s (89.84%) |
| zql: (secondary index lookup) select * from track where album_id = 248 | 📈 view plot 🚷 view threshold | 2,316.14 ops/s(+5.79%)Baseline: 2,189.31 ops/s | 1,562.83 ops/s (67.48%) |
| zql: (table scan) select * from album | 📈 view plot 🚷 view threshold | 6,743.76 ops/s(-2.75%)Baseline: 6,934.41 ops/s | 6,282.17 ops/s (93.16%) |
| zql: OR with empty branch and limit | 📈 view plot 🚷 view threshold | 62,365.52 ops/s(+6.64%)Baseline: 58,481.40 ops/s | 42,549.11 ops/s (68.23%) |
| zql: OR with empty branch and limit with exists | 📈 view plot 🚷 view threshold | 13,578.93 ops/s(+8.88%)Baseline: 12,471.16 ops/s | 9,453.83 ops/s (69.62%) |
| zql: all playlists | 📈 view plot 🚷 view threshold | 4.67 ops/s(+3.28%)Baseline: 4.53 ops/s | 4.07 ops/s (87.11%) |
| zql: edit for limited query, inside the bound | 📈 view plot 🚷 view threshold | 245,370.48 ops/s(+2.71%)Baseline: 238,894.96 ops/s | 219,999.53 ops/s (89.66%) |
| zql: edit for limited query, outside the bound | 📈 view plot 🚷 view threshold | 250,818.46 ops/s(-0.17%)Baseline: 251,247.08 ops/s | 210,473.31 ops/s (83.91%) |
| zql: push into limited query, inside the bound | 📈 view plot 🚷 view threshold | 119,120.99 ops/s(+0.67%)Baseline: 118,327.32 ops/s | 111,870.46 ops/s (93.91%) |
| zql: push into limited query, outside the bound | 📈 view plot 🚷 view threshold | 458,200.10 ops/s(-0.90%)Baseline: 462,383.01 ops/s | 401,530.95 ops/s (87.63%) |
| zql: push into unlimited query | 📈 view plot 🚷 view threshold | 374,889.17 ops/s(+1.58%)Baseline: 369,073.61 ops/s | 339,154.06 ops/s (90.47%) |
| zql: scan with one depth related | 📈 view plot 🚷 view threshold | 536.29 ops/s(+6.80%)Baseline: 502.15 ops/s | 418.52 ops/s (78.04%) |
| zqlite: (pk lookup) select * from track where id = 3163 | 📈 view plot 🚷 view threshold | 45,384.63 ops/s(-3.90%)Baseline: 47,228.55 ops/s | 41,204.36 ops/s (90.79%) |
| zqlite: (secondary index lookup) select * from track where album_id = 248 | 📈 view plot 🚷 view threshold | 12,071.92 ops/s(+4.10%)Baseline: 11,596.59 ops/s | 10,331.13 ops/s (85.58%) |
| zqlite: (table scan) select * from album | 📈 view plot 🚷 view threshold | 1,423.21 ops/s(+2.48%)Baseline: 1,388.83 ops/s | 1,265.43 ops/s (88.91%) |
| zqlite: OR with empty branch and limit | 📈 view plot 🚷 view threshold | 19,877.29 ops/s(+1.87%)Baseline: 19,511.69 ops/s | 15,840.13 ops/s (79.69%) |
| zqlite: OR with empty branch and limit with exists | 📈 view plot 🚷 view threshold | 6,208.57 ops/s(+9.16%)Baseline: 5,687.66 ops/s | 4,304.72 ops/s (69.34%) |
| zqlite: all playlists | 📈 view plot 🚷 view threshold | 1.55 ops/s(+2.73%)Baseline: 1.51 ops/s | 1.41 ops/s (90.85%) |
| zqlite: edit for limited query, inside the bound | 📈 view plot 🚷 view threshold | 126,332.34 ops/s(-1.17%)Baseline: 127,827.64 ops/s | 118,482.55 ops/s (93.79%) |
| zqlite: edit for limited query, outside the bound | 📈 view plot 🚷 view threshold | 133,828.73 ops/s(+2.09%)Baseline: 131,095.14 ops/s | 120,696.27 ops/s (90.19%) |
| zqlite: push into limited query, inside the bound | 📈 view plot 🚷 view threshold | 4,281.19 ops/s(+0.06%)Baseline: 4,278.79 ops/s | 4,113.16 ops/s (96.08%) |
| zqlite: push into limited query, outside the bound | 📈 view plot 🚷 view threshold | 155,487.38 ops/s(+1.41%)Baseline: 153,321.43 ops/s | 135,858.27 ops/s (87.38%) |
| zqlite: push into unlimited query | 📈 view plot 🚷 view threshold | 137,390.93 ops/s(+2.24%)Baseline: 134,386.21 ops/s | 123,748.53 ops/s (90.07%) |
| zqlite: scan with one depth related | 📈 view plot 🚷 view threshold | 176.86 ops/s(+6.57%)Baseline: 165.95 ops/s | 132.24 ops/s (74.77%) |
|
| Branch | 0xcadams/server-url-rename |
| Testbed | self-hosted |
Click to view all benchmark results
| Benchmark | Throughput | Benchmark 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 | 751.35 ops/s x 1e3(-12.74%)Baseline: 861.05 ops/s x 1e3 | 644.11 ops/s x 1e3 (85.73%) |
| src/client/zero.bench.ts > basics > All 1000 rows x 10 columns (numbers) | 📈 view plot 🚷 view threshold | 2.91 ops/s x 1e3(-1.40%)Baseline: 2.95 ops/s x 1e3 | 2.82 ops/s x 1e3 (96.80%) |
| src/client/zero.bench.ts > pk compare > pk = N | 📈 view plot 🚷 view threshold | 47.32 ops/s x 1e3(+2.49%)Baseline: 46.17 ops/s x 1e3 | 40.92 ops/s x 1e3 (86.47%) |
| src/client/zero.bench.ts > with filter > Lower rows 500 x 10 columns (numbers) | 📈 view plot 🚷 view threshold | 4.16 ops/s x 1e3(+0.53%)Baseline: 4.14 ops/s x 1e3 | 3.85 ops/s x 1e3 (92.41%) |
arv
approved these changes
Nov 26, 2025
Contributor
arv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
aboodman
approved these changes
Nov 26, 2025
406c80a to
d42460f
Compare
7d70bc0 to
bb63e65
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Renames the
serverconstructor prop tocacheURL.