-
Notifications
You must be signed in to change notification settings - Fork 13
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
Benchmark/performances for the executions #1570
Comments
I run a bunch of tests to try to understand the bottleneck issue that we have TestsRun the process of this repository https://github.com/antho1404/application-erc20-analytics ResultsWe always the same kind of results
It seems that there is a correlation between the transaction signed (blue) and the transaction completed (red) but that doesn’t impact the transaction in progress The signature/broadcast of the transaction is clearly a bottleneck that needs to be fixed |
Source code that should be the source of the problem for the slowness of signing / broadcasting: Lines 84 to 128 in 47b743e
Extracting the account and signature logic to a dedicated structure can only help. Started in PR #1573 because of issue #1565 Two attempts to create benchmark on the whole API: |
When trying to fix #1537 I realized that with the current configuration we were only capable of processing 4-5 transactions per block.
This can come from 2 problems:
We have a huge bottleneck somewhere, I think because we try to send the transactions in a synchronous way. I have high doubts that this is just because of pure processing like hashing functions or so but it might be something to explore too.
I tried to increase the block time to 10 seconds and it seems that we can process about 20-25 transactions (with similar executions message) so it seems that the problem doesn't come from the capacity of the block.
The text was updated successfully, but these errors were encountered: