Skip to content

Conversation

@semenov-vladyslav
Copy link
Contributor

@semenov-vladyslav semenov-vladyslav commented Nov 16, 2025

Description of change

This PR adds global allocator wrapper counting allocation metrics (alloc, dealloc, peak) per thread. It uses unstable feature thread_local (it's the only reasonable way, thread_local! macro can't be used) which is guarded behind feature "flamegraph-alloc". The allocation stats are shown in rendered SVG.

Links to any relevant issues

Part of #8694.

How the change has been tested

  • Basic tests (linting, compilation, formatting, unit/integration tests)
  • Patch-specific tests (correctness, functionality coverage)
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

Release Notes

  • Protocol:
  • Nodes (Validators and Full nodes): Extend telemetry subscribers with allocations per thread metrics.
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

@semenov-vladyslav semenov-vladyslav requested review from a team as code owners November 16, 2025 22:24
@vercel
Copy link

vercel bot commented Nov 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

6 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
apps-backend Ignored Ignored Nov 16, 2025 10:25pm
apps-ui-kit Ignored Ignored Nov 16, 2025 10:25pm
iota-evm-bridge Ignored Ignored Nov 16, 2025 10:25pm
iota-multisig-toolkit Ignored Ignored Nov 16, 2025 10:25pm
rebased-explorer Ignored Ignored Nov 16, 2025 10:25pm
wallet-dashboard Ignored Ignored Nov 16, 2025 10:25pm

@iota-ci iota-ci added core-protocol node Issues related to the Core Node team labels Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-protocol node Issues related to the Core Node team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants