Skip to content

Add IBD benchmark#918

Open
someone235 wants to merge 4 commits into
kaspanet:masterfrom
someone235:ibd-bench
Open

Add IBD benchmark#918
someone235 wants to merge 4 commits into
kaspanet:masterfrom
someone235:ibd-bench

Conversation

@someone235
Copy link
Copy Markdown
Contributor

This pull request introduces a new benchmarking tool for measuring Initial Block Download (IBD) performance using a simpa-generated database, and updates the Daemon resource management logic to allow for more flexible temporary directory handling. The main addition is the ibd_bench benchmark, which enables reproducible performance testing of the sync process.

Copy link
Copy Markdown
Collaborator

@biryukovmaxim biryukovmaxim left a comment

Choose a reason for hiding this comment

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

Seems fine to me. The only question I have should not it be able to work against any db, like I have a running devnet. Why not clone it's dir and measure against it. Probably only word "simpa" would be changed

Copy link
Copy Markdown
Collaborator

@biryukovmaxim biryukovmaxim left a comment

Choose a reason for hiding this comment

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

Im definitely not against to have such tool, but from my perspective client and node must be 2 separate binaries. Id like to use it not rebuilding client everytime, since

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