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

Improve speed of debug logging to disk #4818

Open
wants to merge 3 commits into
base: v3.0
Choose a base branch
from
Open

Conversation

renecannao
Copy link
Contributor

This commit introduces multiple changes in debug.cpp:

  • new struct DebugLogEntry
  • entries are not written directly to database, but in a vector (log_buffer)
  • when a threshold is reached (currently hardcoded) all entries are saved to database

renecannao and others added 3 commits February 5, 2025 11:28
This commit introduces multiple changes in debug.cpp:
* new struct DebugLogEntry
* entries are not written directly to database, but in a vector (`log_buffer`)
* when a threshold is reached (currently hardcoded) all entries are saved to database
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.

2 participants