Add performance documentation and new patterns#4591
Closed
swaroop-osec wants to merge 4 commits into
Closed
Conversation
jamie-osec
reviewed
May 26, 2026
jamie-osec
reviewed
May 26, 2026
jamie-osec
reviewed
May 26, 2026
Co-authored-by: Jamie Hill-Daniel <134328753+jamie-osec@users.noreply.github.com>
0x4ka5h
approved these changes
May 29, 2026
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.
Collaborator
Author
|
Closing as merged in #4460 |
jktrn-osec
added a commit
to jktrn-osec/anchor
that referenced
this pull request
Jun 3, 2026
This reverts commit d4d970b.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4284