Skip to content

Add performance documentation and new patterns#4591

Closed
swaroop-osec wants to merge 4 commits into
otter-sec:anchor-nextfrom
swaroop-osec:docs/v2-performance
Closed

Add performance documentation and new patterns#4591
swaroop-osec wants to merge 4 commits into
otter-sec:anchor-nextfrom
swaroop-osec:docs/v2-performance

Conversation

@swaroop-osec

Copy link
Copy Markdown
Collaborator

Closes #4284

@swaroop-osec swaroop-osec requested a review from jamie-osec May 25, 2026 16:07
Comment thread docs/content/docs/performance/benchmarking.mdx Outdated
Comment thread docs/content/docs/performance/custom-entrypoint.mdx
Comment thread docs/content/docs/performance/raw-account-view.mdx Outdated
swaroop-osec and others added 3 commits May 27, 2026 09:26
Co-authored-by: Jamie Hill-Daniel <134328753+jamie-osec@users.noreply.github.com>
jktrn-osec added a commit to jktrn-osec/anchor that referenced this pull request Jun 3, 2026
Adds the performance section (custom entrypoint, raw AccountView, zero-copy layout, benchmarking, trade-offs) rewritten in the v2 docs voice, with bench figures recomputed from bench/results.json.
@swaroop-osec

Copy link
Copy Markdown
Collaborator Author

Closing as merged in #4460

jktrn-osec added a commit to jktrn-osec/anchor that referenced this pull request Jun 3, 2026
jktrn-osec added a commit to jktrn-osec/anchor that referenced this pull request Jun 3, 2026
Fills the two gaps from otter-sec#4591 that the v2 docs did not yet cover: the custom asm/Rust entrypoint with #[discrim] and no-entrypoint, and raw AccountView access. Placed under Security and production, linked from performance-and-optimizations. Verified with astro build.
renato-osec added a commit that referenced this pull request Jun 9, 2026
* docs: add v2 docs site

* docs: add v2 Vercel config

* chore(docs): supersede #4591 with v2 performance docs

Adds the performance section (custom entrypoint, raw AccountView, zero-copy layout, benchmarking, trade-offs) rewritten in the v2 docs voice, with bench figures recomputed from bench/results.json.

* Revert "chore(docs): supersede #4591 with v2 performance docs"

This reverts commit d4d970b.

* docs: add custom entrypoint and raw account access pages to v2

Fills the two gaps from #4591 that the v2 docs did not yet cover: the custom asm/Rust entrypoint with #[discrim] and no-entrypoint, and raw AccountView access. Placed under Security and production, linked from performance-and-optimizations. Verified with astro build.

* add support for mcp docs

---------

Co-authored-by: renato-osec <renato@osec.io>
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.

3 participants