Skip to content

bench: what one request costs on convex-hosting, static-hosting, and Workers - #140

Closed
nicu-chiciuc wants to merge 2 commits into
mainfrom
nicu-bench
Closed

nicu-chiciuc wants to merge 2 commits into
mainfrom
nicu-bench

Conversation

@nicu-chiciuc

@nicu-chiciuc nicu-chiciuc commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Adds bench/ from the branch nicu-hosting-bench, which backed the 0.15.0 comparison and was never merged.

  • run.ts creates a Convex project per target (0.14.0, this repository's package, the published 0.15.0, static-hosting 0.2.1) and a Worker, deploys the same synthetic site, and drives k6 at a fixed rate; load.js checks every response. report.ts prints the tables; graphic.ts draws the comparison image.
  • README.md: method, how to run it, and the results of 2026-11-04 and 2026-11-11. Changed from the branch: it names this repository's package instead of "this branch", says that a site with the /assets/* cache rule has repeat file requests answered by Convex's front, and corrects "cannot hand a request to the app's code" to "only as a buffered function call".
  • Results: only 2026-11-11-comparison.json and .png. The six per-case run folders (about 12,000 lines of JSON) stay on nicu-hosting-bench, which the README links. The generated HTML is left out; graphic.ts writes it again.

Nothing outside bench/ changes. Formatted with vp fmt; vp lint passes (one warning in graphic.ts).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…Workers

The benchmark from the 0.15.0 work: run.ts deploys each target and drives k6 against it, report.ts and graphic.ts summarize. The README holds the method and the results of 2026-11-04 and 2026-11-11; this keeps the 2026-11-11 summary and its image, and the per-case results stay on the branch nicu-hosting-bench.
@nicu-chiciuc
nicu-chiciuc temporarily deployed to tanstack-ssr preview November 12, 2026 17:23 — with GitHub Actions Inactive
@nicu-chiciuc
nicu-chiciuc temporarily deployed to hello-world-assets-only preview November 12, 2026 17:23 — with GitHub Actions Inactive
@nicu-chiciuc
nicu-chiciuc temporarily deployed to tanstack-spa preview November 12, 2026 17:23 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Preview nicu-bench of examples/hello-world-assets-only: https://sincere-mole-58.convex.site
Deployment: https://sincere-mole-58.convex.cloud
Dashboard: https://dashboard.convex.dev/d/sincere-mole-58
Preview deleted when the pull request closed.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Preview nicu-bench of examples/tanstack-spa: https://exciting-dragon-892.convex.site
Deployment: https://exciting-dragon-892.convex.cloud
Dashboard: https://dashboard.convex.dev/d/exciting-dragon-892
Preview deleted when the pull request closed.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Preview nicu-bench of examples/tanstack-ssr: https://wry-dachshund-677.convex.site
Deployment: https://wry-dachshund-677.convex.cloud
Dashboard: https://dashboard.convex.dev/d/wry-dachshund-677
Preview deleted when the pull request closed.

@pkg-pr-new

pkg-pr-new Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@samebase/convex-auth-tanstack-start@140
pnpm add https://pkg.pr.new/@samebase/convex-hosting@140
pnpm add https://pkg.pr.new/@samebase/convex-hosting-tanstack-start@140

commit: 689c363

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://nicu-bench-convex-hosting-tanstack-ssr-workers.pfp.workers.dev (commit 689c363)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://eb3cea2c-convex-hosting-tanstack-ssr-workers.pfp.workers.dev 689c363 2026-11-12T21:44:43.374Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://ccda2aab-convex-hosting-tanstack-ssr-workers.pfp.workers.dev 48b0fdb 2026-11-12T17:24:26.841Z Visit the dashboard ↗

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
convex-hosting-hello-world-assets-only 689c363 Nov 12 2026, 09:44 PM

@nicu-chiciuc

Copy link
Copy Markdown
Contributor Author

Closing without merging: nothing in the repository uses the benchmark, and its lasting finding (one function call per request) is already in the README and the design doc. The scripts and every raw result stay on the branch nicu-hosting-bench.

@nicu-chiciuc
nicu-chiciuc deleted the nicu-bench branch November 12, 2026 21:59

This branch was successfully deployed

3 active deployments
tanstack-ssr preview — 689c3635 Deployed Nov 12, 2026 by nicu-chiciuc via preview (tanstack-ssr, TANSTACK_SSR) #289
hello-world-assets-only preview — 689c3635 Deployed Nov 12, 2026 by nicu-chiciuc via preview (hello-world-assets-only, HELLO_WORLD_ASSETS_ONLY) #289
tanstack-spa preview — 689c3635 Deployed Nov 12, 2026 by nicu-chiciuc via preview (tanstack-spa, TANSTACK_SPA) #289
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