Skip to content

Document performance evaluation - #1698

Merged
MonsieurNicolas merged 8 commits into
stellar:masterfrom
MonsieurNicolas:perfDocs
Jun 1, 2018
Merged

MonsieurNicolas merged 8 commits into
stellar:masterfrom
MonsieurNicolas:perfDocs

Conversation

@MonsieurNicolas

Copy link
Copy Markdown
Contributor

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.

@marta-lokhova marta-lokhova left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits, overall looks good.

Comment thread performance-eval.md
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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: either "a" should be removed or "networks" made singular.

Comment thread performance-eval.md

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo "submitting"

@MonsieurNicolas

Copy link
Copy Markdown
Contributor Author

thanks!

@MonsieurNicolas
MonsieurNicolas merged commit 04d26a3 into stellar:master Jun 1, 2018
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.
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.

write a document to help to define how to grade a particular build's resource utilization when running a single node

2 participants