Skip to content

temp (pruning): Logs and timers for debugging#29

Merged
lucca30 merged 15 commits into0xPolygon:developfrom
informalsystems:jasmina/debug-pruning
Sep 29, 2025
Merged

temp (pruning): Logs and timers for debugging#29
lucca30 merged 15 commits into0xPolygon:developfrom
informalsystems:jasmina/debug-pruning

Conversation

@jmalicevic
Copy link
Copy Markdown

@jmalicevic jmalicevic commented Sep 16, 2025

This PR adds log entries to displaying the time it took to prune a DB as well as the number of items pruned. It also adds timers to count the time it took to prune a DB.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@jmalicevic jmalicevic changed the title temp (pruning): Added logs and timers for debugging temp (pruning): Prune in batches and logs and timers for debugging Sep 18, 2025
@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

@github-actions github-actions Bot added the Stale label Sep 29, 2025
@jmalicevic jmalicevic marked this pull request as ready for review September 29, 2025 15:07
Copy link
Copy Markdown

@lucca30 lucca30 left a comment

Choose a reason for hiding this comment

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

lgtm

@sonarqubecloud
Copy link
Copy Markdown

@jmalicevic jmalicevic changed the title temp (pruning): Prune in batches and logs and timers for debugging temp (pruning): Logs and timers for debugging Sep 29, 2025
@lucca30 lucca30 merged commit 076595d into 0xPolygon:develop Sep 29, 2025
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants