Skip to content

Conversation

@alexhking
Copy link
Contributor

@alexhking alexhking commented Nov 6, 2025

dark-light

Demo Mode

This will allow us to add certain query parameters to zbugs to:

  • Hide the initial overlay for gigabugs
  • Show a full light mode style
  • THIS IS STILL A WORK IN PROGRESS. IDENTIFYING LIGHT MODE AREAS THAT STILL NEED STYLE

Why?

For the new Zero landing page demo we will need to remove the initial modal and have light mode styling

Parameters

?demo Removes the initial modal overlay on Gigabugs
?light Applies light mode styling

@vercel
Copy link

vercel bot commented Nov 6, 2025

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

Project Deployment Preview Comments Updated (UTC)
replicache-docs Ready Ready Preview Comment Nov 6, 2025 8:23pm
zbugs Ready Ready Preview Comment Nov 6, 2025 8:23pm

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

🐰 Bencher Report

Branchalex/demo-mode
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,515.51 KB
(0.00%)Baseline: 1,515.51 KB
1,545.82 KB
(98.04%)
zero.js📈 view plot
🚷 view threshold
257.36 KB
(0.00%)Baseline: 257.36 KB
262.50 KB
(98.04%)
zero.js.br📈 view plot
🚷 view threshold
70.46 KB
(0.00%)Baseline: 70.46 KB
71.87 KB
(98.04%)
🐰 View full continuous benchmarking report in Bencher

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

🐰 Bencher Report

Branchalex/demo-mode
Testbedself-hosted

🚨 2 Alerts

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Lower Boundary
(Limit %)
zql: (secondary index lookup) select * from track where album_id = 248Throughput
operations / second (ops/s) x 1e3
📈 plot
🚷 threshold
🚨 alert (🔔)
1.69 ops/s x 1e3
(-21.27%)Baseline: 2.15 ops/s x 1e3
1.72 ops/s x 1e3
(101.61%)

zql: scan with one depth relatedThroughput
operations / second (ops/s)
📈 plot
🚷 threshold
🚨 alert (🔔)
304.10 ops/s
(-36.30%)Baseline: 477.36 ops/s
386.62 ops/s
(127.14%)

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
15,016.43 ops/s
(+2.56%)Baseline: 14,641.89 ops/s
13,299.27 ops/s
(88.56%)
2 exists (AND): track.exists(album).exists(genre)📈 view plot
🚷 view threshold
5,596.60 ops/s
(+1.13%)Baseline: 5,534.14 ops/s
5,049.13 ops/s
(90.22%)
3 exists (AND)📈 view plot
🚷 view threshold
2,173.43 ops/s
(+1.24%)Baseline: 2,146.80 ops/s
1,955.36 ops/s
(89.97%)
3 exists (OR)📈 view plot
🚷 view threshold
1,109.44 ops/s
(+2.07%)Baseline: 1,086.99 ops/s
987.08 ops/s
(88.97%)
5 exists (AND)📈 view plot
🚷 view threshold
343.45 ops/s
(+0.34%)Baseline: 342.29 ops/s
311.03 ops/s
(90.56%)
5 exists (OR)📈 view plot
🚷 view threshold
179.40 ops/s
(-0.24%)Baseline: 179.83 ops/s
162.61 ops/s
(90.64%)
Nested 2 levels: track > album > artist📈 view plot
🚷 view threshold
4,901.78 ops/s
(+2.07%)Baseline: 4,802.23 ops/s
4,369.74 ops/s
(89.15%)
Nested 4 levels: playlist > tracks > album > artist📈 view plot
🚷 view threshold
816.17 ops/s
(+2.42%)Baseline: 796.91 ops/s
718.62 ops/s
(88.05%)
Nested with filters: track > album > artist (filtered)📈 view plot
🚷 view threshold
4,106.52 ops/s
(+1.81%)Baseline: 4,033.66 ops/s
3,690.85 ops/s
(89.88%)
planned: playlist.exists(tracks)📈 view plot
🚷 view threshold
942.35 ops/s
(+0.51%)Baseline: 937.56 ops/s
855.72 ops/s
(90.81%)
planned: track.exists(album) OR exists(genre)📈 view plot
🚷 view threshold
173.36 ops/s
(+13.72%)Baseline: 152.44 ops/s
21.56 ops/s
(12.43%)
planned: track.exists(album) where title="Big Ones"📈 view plot
🚷 view threshold
8,440.38 ops/s
(+3.95%)Baseline: 8,119.39 ops/s
7,157.66 ops/s
(84.80%)
planned: track.exists(album).exists(genre)📈 view plot
🚷 view threshold
12.24 ops/s
(+6.95%)Baseline: 11.45 ops/s
-1.28 ops/s
(-10.49%)
planned: track.exists(album).exists(genre) with filters📈 view plot
🚷 view threshold
5,059.27 ops/s
(-8.33%)Baseline: 5,518.75 ops/s
3,818.59 ops/s
(75.48%)
planned: track.exists(playlists)📈 view plot
🚷 view threshold
6.26 ops/s
(+35.57%)Baseline: 4.62 ops/s
-1.45 ops/s
(-23.12%)
unplanned: playlist.exists(tracks)📈 view plot
🚷 view threshold
923.32 ops/s
(+0.74%)Baseline: 916.51 ops/s
845.31 ops/s
(91.55%)
unplanned: track.exists(album) OR exists(genre)📈 view plot
🚷 view threshold
22.55 ops/s
(+0.94%)Baseline: 22.34 ops/s
21.28 ops/s
(94.35%)
unplanned: track.exists(album) where title="Big Ones"📈 view plot
🚷 view threshold
35.74 ops/s
(+2.81%)Baseline: 34.76 ops/s
32.81 ops/s
(91.81%)
unplanned: track.exists(album).exists(genre)📈 view plot
🚷 view threshold
21.22 ops/s
(+0.11%)Baseline: 21.19 ops/s
20.08 ops/s
(94.64%)
unplanned: track.exists(album).exists(genre) with filters📈 view plot
🚷 view threshold
35.24 ops/s
(+0.40%)Baseline: 35.10 ops/s
33.02 ops/s
(93.70%)
unplanned: track.exists(playlists)📈 view plot
🚷 view threshold
6.23 ops/s
(+0.16%)Baseline: 6.22 ops/s
5.82 ops/s
(93.34%)
zpg: (pk lookup) select * from track where id = 3163📈 view plot
🚷 view threshold
847.48 ops/s
(-9.89%)Baseline: 940.44 ops/s
658.84 ops/s
(77.74%)
zpg: (secondary index lookup) select * from track where album_id = 248📈 view plot
🚷 view threshold
891.83 ops/s
(-9.73%)Baseline: 988.00 ops/s
751.93 ops/s
(84.31%)
zpg: (table scan) select * from album📈 view plot
🚷 view threshold
750.70 ops/s
(+7.06%)Baseline: 701.18 ops/s
622.11 ops/s
(82.87%)
zpg: OR with empty branch and limit📈 view plot
🚷 view threshold
836.51 ops/s
(-2.89%)Baseline: 861.39 ops/s
669.28 ops/s
(80.01%)
zpg: OR with empty branch and limit with exists📈 view plot
🚷 view threshold
654.90 ops/s
(-7.33%)Baseline: 706.71 ops/s
510.54 ops/s
(77.96%)
zpg: all playlists📈 view plot
🚷 view threshold
5.71 ops/s
(+24.88%)Baseline: 4.57 ops/s
0.87 ops/s
(15.24%)
zpg: scan with one depth related📈 view plot
🚷 view threshold
400.80 ops/s
(-2.94%)Baseline: 412.92 ops/s
320.93 ops/s
(80.07%)
zql: (pk lookup) select * from track where id = 3163📈 view plot
🚷 view threshold
149,605.44 ops/s
(+18.77%)Baseline: 125,965.09 ops/s
103,276.67 ops/s
(69.03%)
zql: (secondary index lookup) select * from track where album_id = 248📈 view plot
🚷 view threshold
🚨 view alert (🔔)
1,690.01 ops/s
(-21.27%)Baseline: 2,146.46 ops/s
1,717.25 ops/s
(101.61%)

zql: (table scan) select * from album📈 view plot
🚷 view threshold
6,065.29 ops/s
(-9.44%)Baseline: 6,697.58 ops/s
6,039.12 ops/s
(99.57%)
zql: OR with empty branch and limit📈 view plot
🚷 view threshold
54,576.38 ops/s
(-5.32%)Baseline: 57,643.63 ops/s
41,833.48 ops/s
(76.65%)
zql: OR with empty branch and limit with exists📈 view plot
🚷 view threshold
11,989.78 ops/s
(-2.77%)Baseline: 12,331.04 ops/s
10,602.77 ops/s
(88.43%)
zql: all playlists📈 view plot
🚷 view threshold
4.50 ops/s
(+3.86%)Baseline: 4.34 ops/s
3.87 ops/s
(85.95%)
zql: edit for limited query, inside the bound📈 view plot
🚷 view threshold
239,017.97 ops/s
(+4.31%)Baseline: 229,150.17 ops/s
212,045.13 ops/s
(88.72%)
zql: edit for limited query, outside the bound📈 view plot
🚷 view threshold
247,101.55 ops/s
(+5.18%)Baseline: 234,942.41 ops/s
197,598.18 ops/s
(79.97%)
zql: push into limited query, inside the bound📈 view plot
🚷 view threshold
117,842.90 ops/s
(+4.61%)Baseline: 112,644.70 ops/s
103,858.68 ops/s
(88.13%)
zql: push into limited query, outside the bound📈 view plot
🚷 view threshold
442,398.31 ops/s
(+1.64%)Baseline: 435,251.03 ops/s
373,029.42 ops/s
(84.32%)
zql: push into unlimited query📈 view plot
🚷 view threshold
365,998.94 ops/s
(+5.77%)Baseline: 346,046.43 ops/s
317,581.67 ops/s
(86.77%)
zql: scan with one depth related📈 view plot
🚷 view threshold
🚨 view alert (🔔)
304.10 ops/s
(-36.30%)Baseline: 477.36 ops/s
386.62 ops/s
(127.14%)

zqlite: (pk lookup) select * from track where id = 3163📈 view plot
🚷 view threshold
44,241.18 ops/s
(-1.08%)Baseline: 44,722.40 ops/s
38,100.09 ops/s
(86.12%)
zqlite: (secondary index lookup) select * from track where album_id = 248📈 view plot
🚷 view threshold
10,893.24 ops/s
(-2.08%)Baseline: 11,124.35 ops/s
10,289.77 ops/s
(94.46%)
zqlite: (table scan) select * from album📈 view plot
🚷 view threshold
1,371.91 ops/s
(+0.83%)Baseline: 1,360.62 ops/s
1,199.53 ops/s
(87.44%)
zqlite: OR with empty branch and limit📈 view plot
🚷 view threshold
17,081.61 ops/s
(-6.71%)Baseline: 18,310.05 ops/s
14,840.90 ops/s
(86.88%)
zqlite: OR with empty branch and limit with exists📈 view plot
🚷 view threshold
5,126.61 ops/s
(-8.51%)Baseline: 5,603.64 ops/s
5,005.47 ops/s
(97.64%)
zqlite: all playlists📈 view plot
🚷 view threshold
1.47 ops/s
(+3.24%)Baseline: 1.43 ops/s
1.29 ops/s
(87.63%)
zqlite: edit for limited query, inside the bound📈 view plot
🚷 view threshold
130,545.38 ops/s
(+6.51%)Baseline: 122,561.02 ops/s
111,355.68 ops/s
(85.30%)
zqlite: edit for limited query, outside the bound📈 view plot
🚷 view threshold
131,729.33 ops/s
(+5.81%)Baseline: 124,501.22 ops/s
112,720.91 ops/s
(85.57%)
zqlite: push into limited query, inside the bound📈 view plot
🚷 view threshold
4,165.01 ops/s
(-2.20%)Baseline: 4,258.74 ops/s
4,019.53 ops/s
(96.51%)
zqlite: push into limited query, outside the bound📈 view plot
🚷 view threshold
154,645.92 ops/s
(+4.71%)Baseline: 147,690.71 ops/s
130,596.95 ops/s
(84.45%)
zqlite: push into unlimited query📈 view plot
🚷 view threshold
132,493.15 ops/s
(+2.16%)Baseline: 129,687.58 ops/s
117,709.19 ops/s
(88.84%)
zqlite: scan with one depth related📈 view plot
🚷 view threshold
156.68 ops/s
(-2.71%)Baseline: 161.05 ops/s
144.30 ops/s
(92.10%)
🐰 View full continuous benchmarking report in Bencher

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

🐰 Bencher Report

Branchalex/demo-mode
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
812.92 ops/s x 1e3
(-2.59%)Baseline: 834.56 ops/s x 1e3
607.47 ops/s x 1e3
(74.73%)
src/client/zero.bench.ts > basics > All 1000 rows x 10 columns (numbers)📈 view plot
🚷 view threshold
2.87 ops/s x 1e3
(+0.42%)Baseline: 2.86 ops/s x 1e3
2.64 ops/s x 1e3
(91.77%)
src/client/zero.bench.ts > pk compare > pk = N📈 view plot
🚷 view threshold
43.41 ops/s x 1e3
(-1.50%)Baseline: 44.07 ops/s x 1e3
39.84 ops/s x 1e3
(91.77%)
src/client/zero.bench.ts > with filter > Lower rows 500 x 10 columns (numbers)📈 view plot
🚷 view threshold
4.27 ops/s x 1e3
(+2.48%)Baseline: 4.16 ops/s x 1e3
3.82 ops/s x 1e3
(89.40%)
🐰 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.

2 participants