Repository navigation
Document performance evaluation - #1698
Merged
Merged
Conversation
marta-lokhova
approved these changes
Jun 1, 2018
marta-lokhova
left a comment
Contributor
There was a problem hiding this comment.
Minor nits, overall looks good.
| This scenario looks at the overhead of flooding transactions and SCP messages (required for transactions to be included in a ledger). | ||
|
|
||
| ### Built-in load generator | ||
| stellar-core has a built-in load generator that allows to inject transactions on a private networks. |
Contributor
There was a problem hiding this comment.
nit: either "a" should be removed or "networks" made singular.
|
|
||
| This document highlights the various ways a particular branch or changeset can be evaluated when it comes to performance characteristics. | ||
|
|
||
| When submiting changes that may impact the network's performance, we require to perform some level of comparison of the changes between that version and latest master or release. |
Contributor
Author
|
thanks! |
This was referenced Jul 10, 2026
sisuresh
added a commit
to sisuresh/stellar-core
that referenced
this pull request
Jul 14, 2026
Wire up a per-protocol soroban-env-host submodule for protocol 28 (CAP-85, externally managed contract executables), gated behind the `next` feature and WIP_SOROBAN_PROTOCOL, mirroring the existing p27 module: - .gitmodules + src/rust/soroban/p28 submodule (rs-soroban-env CAP-85). - src/rust/Cargo.toml: soroban-env-host-p28 git/rev pin (+ unified feature). - src/rust/src/soroban_proto_all.rs: p28 adaptor module + HOST_MODULES entry; soroban_curr aliased to p28 under `next`. - src/rust/src/soroban_module_cache.rs: p28_cache field + arms. - src/rust/src/dep-trees/p28-expect.txt, Cargo.lock: regenerated. - configure.ac / common.mk / src/Makefile.am: CAP-85 flag wiring. - src/protocol-curr/xdr, ProtocolVersion.h, TransactionFrame.cpp: p28 XDR. The p28 host is pinned at the CAP-85 branch with rs-soroban-env stellar#1698 ("lazily decode ledger entries passed in e2e flow") reverted, so the host keeps the pre-stellar#1698 e2e_invoke/wasm_module_memory_cost interface that core's mirror-of-p27 glue targets. Adopting stellar#1698 requires separate C++ bridge work and is out of scope for this WIP host.
dmkozh
added a commit
to dmkozh/stellar-core
that referenced
this pull request
Jul 17, 2026
Wire up a per-protocol soroban-env-host submodule for protocol 28 (CAP-85, externally managed contract executables), gated behind the `next` feature and WIP_SOROBAN_PROTOCOL, mirroring the existing p27 module: - .gitmodules + src/rust/soroban/p28 submodule (rs-soroban-env CAP-85). - src/rust/Cargo.toml: soroban-env-host-p28 git/rev pin (+ unified feature). - src/rust/src/soroban_proto_all.rs: p28 adaptor module + HOST_MODULES entry; soroban_curr aliased to p28 under `next`. - src/rust/src/soroban_module_cache.rs: p28_cache field + arms. - src/rust/src/dep-trees/p28-expect.txt, Cargo.lock: regenerated. - configure.ac / common.mk / src/Makefile.am: CAP-85 flag wiring. - src/protocol-curr/xdr, ProtocolVersion.h, TransactionFrame.cpp: p28 XDR. The p28 host is pinned at the CAP-85 branch with rs-soroban-env stellar#1698 ("lazily decode ledger entries passed in e2e flow") reverted, so the host keeps the pre-stellar#1698 e2e_invoke/wasm_module_memory_cost interface that core's mirror-of-p27 glue targets. Adopting stellar#1698 requires separate C++ bridge work and is out of scope for this WIP host. Implement CAP-0085 create-contract admission validation Thread ledgerVersion through TransactionFrameBase::validateHostFn and accept CONTRACT_EXECUTABLE_EXTERNAL_REF for FROM_ADDRESS CREATE_CONTRACT / CREATE_CONTRACT_V2 starting at EXTERNAL_EXECUTABLE_REF_PROTOCOL_VERSION (protocol 28), matching CAP-0085 ("InvokeHostFunctionOp update") and the p28 host (rs-soroban-env#1703). Removes the SPIKE TODO that had left external-ref creates rejected core-side. FROM_ASSET still requires STELLAR_ASSET; non-next behavior unchanged. Adds a gated TransactionQueue section covering both host-fn variants (external-ref accepted at p28 / rejected below it, FROM_ASSET+external-ref rejected). update submodules revert lockfile revert unnecessary changes
dmkozh
added a commit
to dmkozh/stellar-core
that referenced
this pull request
Jul 17, 2026
Wire up a per-protocol soroban-env-host submodule for protocol 28 (CAP-85, externally managed contract executables), gated behind the `next` feature and WIP_SOROBAN_PROTOCOL, mirroring the existing p27 module: - .gitmodules + src/rust/soroban/p28 submodule (rs-soroban-env CAP-85). - src/rust/Cargo.toml: soroban-env-host-p28 git/rev pin (+ unified feature). - src/rust/src/soroban_proto_all.rs: p28 adaptor module + HOST_MODULES entry; soroban_curr aliased to p28 under `next`. - src/rust/src/soroban_module_cache.rs: p28_cache field + arms. - src/rust/src/dep-trees/p28-expect.txt, Cargo.lock: regenerated. - configure.ac / common.mk / src/Makefile.am: CAP-85 flag wiring. - src/protocol-curr/xdr, ProtocolVersion.h, TransactionFrame.cpp: p28 XDR. The p28 host is pinned at the CAP-85 branch with rs-soroban-env stellar#1698 ("lazily decode ledger entries passed in e2e flow") reverted, so the host keeps the pre-stellar#1698 e2e_invoke/wasm_module_memory_cost interface that core's mirror-of-p27 glue targets. Adopting stellar#1698 requires separate C++ bridge work and is out of scope for this WIP host. Implement CAP-0085 create-contract admission validation Thread ledgerVersion through TransactionFrameBase::validateHostFn and accept CONTRACT_EXECUTABLE_EXTERNAL_REF for FROM_ADDRESS CREATE_CONTRACT / CREATE_CONTRACT_V2 starting at EXTERNAL_EXECUTABLE_REF_PROTOCOL_VERSION (protocol 28), matching CAP-0085 ("InvokeHostFunctionOp update") and the p28 host (rs-soroban-env#1703). Removes the SPIKE TODO that had left external-ref creates rejected core-side. FROM_ASSET still requires STELLAR_ASSET; non-next behavior unchanged. Adds a gated TransactionQueue section covering both host-fn variants (external-ref accepted at p28 / rejected below it, FROM_ASSET+external-ref rejected). update submodules revert lockfile revert unnecessary changes
sisuresh
added a commit
to sisuresh/stellar-core
that referenced
this pull request
Jul 21, 2026
Bring CAP-0084 current with master (p28 promoted WIP->full protocol, unified->fastdev, p27 host bump) and pin the p28 CAP-0084 host to the stellar#1698-free rs-soroban-env#1700 head 0df250f3 (v27.0.0), which repins rs-stellar-xdr#552 to 3d2ad659. Keeps core's p28 mirror glue on the pre-stellar#1698 e2e API. Cargo.lock / p28-expect.txt regenerated.
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.
resolves #1597
Did a first pass at writing some guidelines on how to perform performance evaluation of a branch / pull request. It's more of a starting point, but should already allow people to understand what to do.
I also cleaned the up issue template and pull request template.