Skip to content

docs: bring docs up to date with 1.11.3, query interning and current benchmarks - #46

Merged
jnsdls merged 1 commit into
mainfrom
docs/refresh-1.11.3
Oct 28, 2026
Merged

jnsdls merged 1 commit into
mainfrom
docs/refresh-1.11.3

Conversation

@jnsdls

@jnsdls jnsdls commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

The docs had fallen behind #39 (1.11.3), #40 (interning) and #43 (cached mapped ASTs). This brings them level and adds current benchmark ratios.

 README.md
+  "Queries are shared": interned queries, mapped AST and JSON reused; treat as immutable
-  dangling "wire and SQL tiers run against every adapter" line
+  **Adapters.** bullet in the compatibility list
+  build/map in the CPU case list
+  Py/TS ratio table at ec0768a, 1.11.3, Apple Silicon laptop
 docs/compat.md
+  known difference: logging (stdlib `logging`, not upstream's LogSink)
   re-wrap the interned-queries paragraph
 docs/plan.md
-  "small bun runner"            -> Node runner in harness/
-  "first pin is 1.10.0"         -> was 1.10.0; current pin in ZERO_VERSION
+  status: phases 1-7 done; phase 8 publishes on tag, npm watch not built
 CONTRIBUTING.md "Bumping Zero"
+  README version, docstring tag/commit, compat_scope line remap,
+  `python -m bench.capture`, record new differences
 bench/__init__.py
+  build and map groups

Evidence

Nothing on screen changes; docs only.

  • Every API name the README names is exported from zero_server. The version is 1.11.3 everywhere it's pinned (ZERO_VERSION, both package.json files, the compose image, the docstrings).
  • The ratio table comes from a full local uv run python -m bench (exit 0) at ec0768a. Postgres cases: Python within 10% of npm or faster. Query endpoint with JSON: 1.3–1.7x. build/map: 6–14x, but microseconds per call.
  • ruff check and ruff format --check pass on bench/.

Merge Danger

Door: two-way

Blast Radius: docs

README is the PyPI long description, so the next release's page shows the new table. The ratios are from one laptop and will drift; the table names the commit and the machine.

🤖 Generated with Claude Code


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

…arks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codspeed

codspeed Bot commented Oct 28, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 46 untouched benchmarks


Comparing docs/refresh-1.11.3 (35851a3) with main (1a2fa10)

Open in CodSpeed

@jnsdls
jnsdls merged commit ad50fa5 into main Oct 28, 2026
9 checks passed
@jnsdls
jnsdls deleted the docs/refresh-1.11.3 branch October 28, 2026 22:09
@jnsdls jnsdls mentioned this pull request Oct 28, 2026
jnsdls added a commit that referenced this pull request Oct 28, 2026
Bumps the version to 0.0.4 in `pyproject.toml`, `uv.lock` and
`zero_server.__version__`. Nothing else changes.

Since 0.0.3, `main` has gained support for `@rocicorp/zero` 1.11.3
(#39), orjson for request parsing and response writing (#37), query
reuse that builds queries up to 2.7x faster (#40), reused mapped ASTs
and JSON that send query responses up to 3x faster (#43), updated docs
(#46) and dependency bumps.

After merge, tag `v0.0.4` on main to publish to PyPI.

Local run: 786 passed, 100% coverage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- codesmith:footer -->
---
<a
href="https://app.blacksmith.sh/agent-labs-dev/codesmith/zero-python/pr/47?autoLogin=true&ref=codesmith_pr_footer"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v3.svg"><img
alt="View with [code]smith"
src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png"
width="162" height="28"></picture></a> <a
href="https://backend.blacksmith.sh/track/enable-autofix?expires=1795817623&installation_model_id=434381&pr_number=47&ref=codesmith_pr_footer&repository=agent-labs-dev%2Fzero-python&return_to=https%3A%2F%2Fgithub.com%2Fagent-labs-dev%2Fzero-python%2Fpull%2F47&signature=bf55280b5bd9ccc8d24e9874ca54b3b0973db3ee2b748438e15b920b024f233f"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img
alt="Autofix with [code]smith"
src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png"
width="190" height="28"></picture></a>
<sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you
need.</sup>

<!-- codesmith:autofix:disabled -->
<!-- /codesmith:footer -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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