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

Benchmark for HDP provider #35

Open
rkdud007 opened this issue Mar 12, 2024 · 1 comment
Open

Benchmark for HDP provider #35

rkdud007 opened this issue Mar 12, 2024 · 1 comment
Labels
C-provider Codebase to provider implementation optimization Improvements of performance or optimization

Comments

@rkdud007
Copy link
Member

rkdud007 commented Mar 12, 2024

Context

Add proper benchmark for provider.
Split headers vs account vs storage so that we could calculate upper bound easily

@rkdud007
Copy link
Member Author

rkdud007 commented Mar 13, 2024

Updated Numbers

10 blocks /account

2024-03-13T07:50:51.377235Z  INFO common::fetcher: Successfully fetched MMR data from indexer
2024-03-13T07:50:51.377273Z  INFO common::fetcher: Time taken (fetch from Indexer): 1.742653834s
2024-03-13T07:50:51.946096Z  INFO common::fetcher: Time taken (Account Fetch): 568.485208ms
2024-03-13T07:50:51.946821Z  INFO hdp: HDP Cli Finished in: 2.320740792s

10 Blocks /storage

2024-03-13T07:51:06.939756Z  INFO common::fetcher: Successfully fetched MMR data from indexer
2024-03-13T07:51:06.939795Z  INFO common::fetcher: Time taken (fetch from Indexer): 1.701699959s
2024-03-13T07:51:07.898453Z  INFO common::fetcher: Time taken (Storage Fetch): 958.328791ms
2024-03-13T07:51:07.899212Z  INFO hdp: HDP Cli Finished in: 2.670000208s

100 blocks / account

2024-03-13T07:50:31.704751Z  INFO common::fetcher: Successfully fetched MMR data from indexer
2024-03-13T07:50:31.704788Z  INFO common::fetcher: Time taken (fetch from Indexer): 2.979114792s
2024-03-13T07:50:34.888794Z  INFO common::fetcher: Time taken (Account Fetch): 3.181802917s
2024-03-13T07:50:34.892383Z  INFO hdp: HDP Cli Finished in: 6.173844208s

100blocks / storage

2024-03-13T07:48:28.226775Z  INFO common::fetcher: Successfully fetched MMR data from indexer
2024-03-13T07:48:28.226811Z  INFO common::fetcher: Time taken (fetch from Indexer): 2.462463083s
2024-03-13T07:48:31.397137Z  INFO common::fetcher: Time taken (Storage Fetch): 3.168066583s
2024-03-13T07:48:31.400563Z  INFO hdp: HDP Cli Finished in: 5.64314875s

200 blocks / account

2024-03-13T07:49:51.336903Z  INFO common::fetcher: Successfully fetched MMR data from indexer
2024-03-13T07:49:51.336942Z  INFO common::fetcher: Time taken (fetch from Indexer): 6.321296917s
2024-03-13T07:49:56.386808Z  INFO common::fetcher: Time taken (Account Fetch): 5.047839292s
2024-03-13T07:49:56.397708Z  INFO hdp: HDP Cli Finished in: 11.388872167s

200 Blocks / Storage

2024-03-13T07:48:01.853367Z  INFO common::fetcher: Successfully fetched MMR data from indexer
2024-03-13T07:48:01.853397Z  INFO common::fetcher: Time taken (fetch from Indexer): 2.621862583s
2024-03-13T07:48:07.333569Z  INFO common::fetcher: Time taken (Storage Fetch): 5.478314209s
2024-03-13T07:48:07.340712Z  INFO hdp: HDP Cli Finished in: 8.118455708s

300 Blocks / account

2024-03-13T07:49:22.111032Z  INFO common::fetcher: Successfully fetched MMR data from indexer
2024-03-13T07:49:22.111064Z  INFO common::fetcher: Time taken (fetch from Indexer): 4.45608425s
2024-03-13T07:49:29.754096Z  INFO common::fetcher: Time taken (Account Fetch): 7.640519583s
2024-03-13T07:49:29.762429Z  INFO hdp: HDP Cli Finished in: 12.115215666s

300 blocks / storage

2024-03-13T07:47:29.346052Z  INFO common::fetcher: Successfully fetched MMR data from indexer
2024-03-13T07:47:29.346074Z  INFO common::fetcher: Time taken (fetch from Indexer): 5.026759958s
2024-03-13T07:47:36.821636Z  INFO common::fetcher: Time taken (Storage Fetch): 7.473240708s
2024-03-13T07:47:36.830445Z  INFO hdp: HDP Cli Finished in: 12.519645s

@rkdud007 rkdud007 changed the title Benchmark Benchmark for HDP provider Mar 20, 2024
@rkdud007 rkdud007 added C-provider Codebase to provider implementation optimization Improvements of performance or optimization labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-provider Codebase to provider implementation optimization Improvements of performance or optimization
Projects
None yet
Development

No branches or pull requests

1 participant