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

Add convenient profiling #2493

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add convenient profiling #2493

wants to merge 2 commits into from

Conversation

AnkushinDaniil
Copy link
Contributor

This pull request introduces several new profiling scripts and payloads for the juno-cached node. The changes include adding new Makefile targets for profiling, creating new payload JSON files, and adding a comprehensive profiling script.

New Profiling Scripts and Targets:

  • Makefile: Added new targets for CPU, heap, and goroutine blocking profiles for getBlockWithTxs and estimateFee operations. These targets utilize the new profiling script and payloads.
  • scripts/profile_juno.sh: Added a new script to handle profiling of the juno-cached node. This script includes configurations, starts the node, sends requests, captures profiles, and stops the node.

New Payload Files:

Usage example:

make block-with-transaction-heap make estimate-fee-heap
image image
image image

Copy link

codecov bot commented Feb 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.72%. Comparing base (2fc5f61) to head (220b54d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2493      +/-   ##
==========================================
- Coverage   73.77%   73.72%   -0.05%     
==========================================
  Files         138      138              
  Lines       16901    16901              
==========================================
- Hits        12468    12461       -7     
- Misses       3568     3575       +7     
  Partials      865      865              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant