Skip to content

feat(ethereum): add provider cost metrics and update benchmarking report - #1086

Open
isSerge wants to merge 1 commit into
developfrom
isserge/feat-bench-add-cu-cost
Open

feat(ethereum): add provider cost metrics and update benchmarking report#1086
isSerge wants to merge 1 commit into
developfrom
isserge/feat-bench-add-cu-cost

Conversation

@isSerge

@isSerge isSerge commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Update Ethereum benchmarks to calculate CU costs for each RPC request (according to Alchemy CU scheme) so we can clearly differentiate between expensive and cheap RPC calls (currently debug_traceTransaction and eth_getBlockByNumber look the same).

New benchmark report looks like this (against eRPC):

2026-07-30T10:29:19.876532Z  INFO Catchup Benchmark Report
catchup_completed: 100 blocks in 0.14s
  blocks_per_sec  693.3
  rpc_per_sec    762.7  (http_per_sec 62.4)
  total_rpc      110  (total_http 9)
  total_cu       2560  (cu_per_sec 17749.6  cu_per_block 25.6)
  total_tput_cu  2560  (tput_cu_per_sec 17749.6)
  batch_fetch_ms 125
  refetch_ms     0
  process_ms     19
  rpc_breakdown (logical, http round-trips, compute CU):
  eth_getBlockByNumber(Finalized)           1 (1 http)  cu 20
  eth_getBlockByNumber(batch)             100 (4 http)  cu 2000
  eth_getLogs(batch)                        9 (4 http)  cu 540

@isSerge
isSerge marked this pull request as ready for review July 30, 2026 10:54
@isSerge
isSerge added this pull request to the merge queue Jul 31, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 31, 2026
@isSerge
isSerge added this pull request to the merge queue Jul 31, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 31, 2026
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