Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] #4089: Add profiling support to iroha #4220

Merged
merged 4 commits into from
Jan 24, 2024

Conversation

Erigara
Copy link
Contributor

@Erigara Erigara commented Jan 19, 2024

Description

Add compilation profile profiling which preserve some debuginfo + force frame pointers (used by porfilers to symbolize functions in the stack trace).

Add dockerfile with profiling support (used glibc instead of musl to be able to integrate with parca).

Add support to profile running wasm smartcontracts.

Linked issue

Closes #4083

Benefits

Data driven approach to optimization.

@Erigara Erigara added iroha2-dev The re-implementation of a BFT hyperledger in RUST Profiling Something related to finding out how fast the program is working labels Jan 19, 2024
@Erigara Erigara self-assigned this Jan 19, 2024
Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Show resolved Hide resolved
core/src/smartcontracts/wasm.rs Outdated Show resolved Hide resolved
Dockerfile.glibc.profiling Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
configs/peer/executor.wasm Outdated Show resolved Hide resolved
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
@Erigara Erigara force-pushed the perf_profiling branch 3 times, most recently from 8db2805 to ee6728e Compare January 23, 2024 12:04
mversic
mversic previously approved these changes Jan 23, 2024
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
Dockerfile.glibc Show resolved Hide resolved
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…TING.md

Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
@Erigara Erigara merged commit 5dbe5dc into hyperledger:iroha2-dev Jan 24, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST Profiling Something related to finding out how fast the program is working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants