Skip to content

feat(zbugs): Demo Mode [WIP]#5146

Open
alexhking wants to merge 3 commits intomainfrom
alex/demo-mode
Open

feat(zbugs): Demo Mode [WIP]#5146
alexhking wants to merge 3 commits intomainfrom
alex/demo-mode

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 Review Updated (UTC)
replicache-docs Ready Ready Preview, Comment Jan 15, 2026 10:12pm
zbugs Ready Ready Preview, Comment Jan 15, 2026 10:12pm

Review with Vercel Agent

@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,783.39 KB
(0.00%)Baseline: 1,783.39 KB
1,819.06 KB
(98.04%)
zero.js📈 view plot
🚷 view threshold
242.67 KB
(0.00%)Baseline: 242.67 KB
247.52 KB
(98.04%)
zero.js.br📈 view plot
🚷 view threshold
66.54 KB
(0.00%)Baseline: 66.54 KB
67.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
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,064.08 ops/s
(-7.40%)Baseline: 14,108.37 ops/s
11,864.93 ops/s
(90.82%)
10 exists (AND)📈 view plot
🚷 view threshold
194,976.80 ops/s
(-5.93%)Baseline: 207,272.41 ops/s
169,820.21 ops/s
(87.10%)
10 exists (OR)📈 view plot
🚷 view threshold
3,968.54 ops/s
(-2.02%)Baseline: 4,050.41 ops/s
3,418.39 ops/s
(86.14%)
12 exists (AND)📈 view plot
🚷 view threshold
165,760.01 ops/s
(-9.48%)Baseline: 183,115.50 ops/s
150,180.35 ops/s
(90.60%)
12 exists (OR)📈 view plot
🚷 view threshold
3,293.68 ops/s
(-4.34%)Baseline: 3,442.95 ops/s
2,911.68 ops/s
(88.40%)
12 level nesting📈 view plot
🚷 view threshold
2,831.80 ops/s
(-5.68%)Baseline: 3,002.43 ops/s
2,540.90 ops/s
(89.73%)
2 exists (AND): track.exists(album).exists(genre)📈 view plot
🚷 view threshold
4,961.60 ops/s
(-6.55%)Baseline: 5,309.17 ops/s
4,489.61 ops/s
(90.49%)
3 exists (AND)📈 view plot
🚷 view threshold
1,927.93 ops/s
(-6.55%)Baseline: 2,063.08 ops/s
1,745.22 ops/s
(90.52%)
3 exists (OR)📈 view plot
🚷 view threshold
1,010.62 ops/s
(-2.38%)Baseline: 1,035.29 ops/s
875.15 ops/s
(86.60%)
5 exists (AND)📈 view plot
🚷 view threshold
311.24 ops/s
(-4.43%)Baseline: 325.67 ops/s
276.18 ops/s
(88.74%)
5 exists (OR)📈 view plot
🚷 view threshold
159.79 ops/s
(-6.87%)Baseline: 171.57 ops/s
144.35 ops/s
(90.34%)
Nested 2 levels: track > album > artist📈 view plot
🚷 view threshold
4,375.31 ops/s
(-5.39%)Baseline: 4,624.54 ops/s
3,911.15 ops/s
(89.39%)
Nested 4 levels: playlist > tracks > album > artist📈 view plot
🚷 view threshold
700.66 ops/s
(-7.66%)Baseline: 758.78 ops/s
645.71 ops/s
(92.16%)
Nested with filters: track > album > artist (filtered)📈 view plot
🚷 view threshold
3,727.89 ops/s
(-3.06%)Baseline: 3,845.74 ops/s
3,275.85 ops/s
(87.87%)
planned: playlist.exists(tracks)📈 view plot
🚷 view threshold
571.93 ops/s
(-9.60%)Baseline: 632.64 ops/s
551.11 ops/s
(96.36%)
planned: track.exists(album) OR exists(genre)📈 view plot
🚷 view threshold
159.79 ops/s
(-4.68%)Baseline: 167.64 ops/s
149.19 ops/s
(93.37%)
planned: track.exists(album) where title="Big Ones"📈 view plot
🚷 view threshold
7,335.19 ops/s
(-5.03%)Baseline: 7,724.04 ops/s
6,738.57 ops/s
(91.87%)
planned: track.exists(album).exists(genre)📈 view plot
🚷 view threshold
36.66 ops/s
(-8.64%)Baseline: 40.13 ops/s
34.62 ops/s
(94.42%)
planned: track.exists(album).exists(genre) with filters📈 view plot
🚷 view threshold
4,990.16 ops/s
(-8.51%)Baseline: 5,454.46 ops/s
4,727.32 ops/s
(94.73%)
planned: track.exists(playlists)📈 view plot
🚷 view threshold
3.83 ops/s
(-6.28%)Baseline: 4.08 ops/s
3.57 ops/s
(93.29%)
unplanned: playlist.exists(tracks)📈 view plot
🚷 view threshold
565.58 ops/s
(-8.20%)Baseline: 616.11 ops/s
536.36 ops/s
(94.83%)
unplanned: track.exists(album) OR exists(genre)📈 view plot
🚷 view threshold
41.37 ops/s
(-9.42%)Baseline: 45.67 ops/s
39.15 ops/s
(94.65%)
unplanned: track.exists(album) where title="Big Ones"📈 view plot
🚷 view threshold
53.54 ops/s
(-6.41%)Baseline: 57.21 ops/s
49.64 ops/s
(92.71%)
unplanned: track.exists(album).exists(genre)📈 view plot
🚷 view threshold
37.25 ops/s
(-6.70%)Baseline: 39.93 ops/s
34.54 ops/s
(92.73%)
unplanned: track.exists(album).exists(genre) with filters📈 view plot
🚷 view threshold
51.37 ops/s
(-8.25%)Baseline: 55.99 ops/s
49.34 ops/s
(96.04%)
unplanned: track.exists(playlists)📈 view plot
🚷 view threshold
3.80 ops/s
(-6.90%)Baseline: 4.08 ops/s
3.56 ops/s
(93.59%)
zpg: all playlists📈 view plot
🚷 view threshold
5.38 ops/s
(-5.65%)Baseline: 5.70 ops/s
5.17 ops/s
(96.10%)
zql: all playlists📈 view plot
🚷 view threshold
6.99 ops/s
(-10.41%)Baseline: 7.80 ops/s
6.39 ops/s
(91.50%)
zql: edit for limited query, inside the bound📈 view plot
🚷 view threshold
197,876.56 ops/s
(-6.97%)Baseline: 212,698.11 ops/s
181,703.43 ops/s
(91.83%)
zql: edit for limited query, outside the bound📈 view plot
🚷 view threshold
190,555.99 ops/s
(-13.25%)Baseline: 219,650.18 ops/s
174,608.36 ops/s
(91.63%)
zql: push into limited query, inside the bound📈 view plot
🚷 view threshold
101,568.01 ops/s
(-6.70%)Baseline: 108,860.07 ops/s
92,452.03 ops/s
(91.02%)
zql: push into limited query, outside the bound📈 view plot
🚷 view threshold
357,424.83 ops/s
(-9.98%)Baseline: 397,053.93 ops/s
312,405.79 ops/s
(87.40%)
zql: push into unlimited query📈 view plot
🚷 view threshold
297,305.09 ops/s
(-9.88%)Baseline: 329,882.49 ops/s
273,933.73 ops/s
(92.14%)
zqlite: all playlists📈 view plot
🚷 view threshold
1.64 ops/s
(-9.10%)Baseline: 1.80 ops/s
1.50 ops/s
(91.51%)
zqlite: edit for limited query, inside the bound📈 view plot
🚷 view threshold
68,284.37 ops/s
(-10.88%)Baseline: 76,616.80 ops/s
61,759.69 ops/s
(90.44%)
zqlite: edit for limited query, outside the bound📈 view plot
🚷 view threshold
66,838.89 ops/s
(-13.01%)Baseline: 76,832.68 ops/s
59,980.35 ops/s
(89.74%)
zqlite: push into limited query, inside the bound📈 view plot
🚷 view threshold
4,054.95 ops/s
(-0.31%)Baseline: 4,067.73 ops/s
3,733.27 ops/s
(92.07%)
zqlite: push into limited query, outside the bound📈 view plot
🚷 view threshold
87,805.02 ops/s
(-0.94%)Baseline: 88,635.97 ops/s
77,608.79 ops/s
(88.39%)
zqlite: push into unlimited query📈 view plot
🚷 view threshold
122,647.84 ops/s
(-1.92%)Baseline: 125,050.16 ops/s
106,831.67 ops/s
(87.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)
(Result Δ%)
Lower Boundary
operations / second (ops/s)
(Limit %)
src/client/custom.bench.ts > big schema📈 view plot
🚷 view threshold
129,906.02 ops/s
(-40.38%)Baseline: 217,888.90 ops/s
-309,094.98 ops/s
(-237.94%)
src/client/zero.bench.ts > basics > All 1000 rows x 10 columns (numbers)📈 view plot
🚷 view threshold
2,427.51 ops/s
(-2.43%)Baseline: 2,488.03 ops/s
2,107.87 ops/s
(86.83%)
src/client/zero.bench.ts > pk compare > pk = N📈 view plot
🚷 view threshold
60,176.62 ops/s
(-6.74%)Baseline: 64,527.17 ops/s
55,387.87 ops/s
(92.04%)
src/client/zero.bench.ts > with filter > Lower rows 500 x 10 columns (numbers)📈 view plot
🚷 view threshold
3,670.53 ops/s
(-3.72%)Baseline: 3,812.51 ops/s
3,327.17 ops/s
(90.65%)
🐰 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