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

runtime weight and time improvements #265

Merged
merged 2 commits into from
Jan 5, 2024
Merged

runtime weight and time improvements #265

merged 2 commits into from
Jan 5, 2024

Conversation

smohan-dw
Copy link
Member

❄️ Transaction Benchmarking (Baseline)
🔖 Preparing 5000 transactions took 0.167s

🎁 Anchoring 5000 individual transactions took 6.052s
🙌 Block TPS (individual transactions) - 826

🎁 Anchoring a batch of 5000 transactions took 0.047s
🙌 Block TPS (batch transactions) - 106383

@smohan-dw smohan-dw requested a review from amarts January 4, 2024 19:11
Copy link
Member

@amarts amarts left a comment

Choose a reason for hiding this comment

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

1 sec block time,
2 min epoch,
50% saturation instead of 80% (this is something I am not clear yet on the reasoning and impact).

@smohan-dw
Copy link
Member Author

1 sec block time,
2 min epoch,
50% saturation instead of 80% (this is something I am not clear yet on the reasoning and impact).

It's a 3-second block time, with 1 second for computation and remaining for propagation, validation, and voting. Kept the block saturation at 50% to start with as a safe-guard for weight calculations. This number can be increased later as we improve the benchmarks and hardware recommendations.

@amarts amarts merged commit 3591216 into dhiway:develop Jan 5, 2024
4 checks passed
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