📈Collector

The Collector is the final component in the stress test pipeline and is responsible for analyzing the transaction statistics and network performance. It performs the following tasks:

  1. Collecting transaction receipts

  2. Gathering block information based on transaction receipts

  3. Calculating per-block utilization using the formula (gasUsed / gasLimit) * 100 (in %)

  4. Calculating average block utilization using data from step 3

  5. Calculating the average transactions per second (TPS) using the formula totalTxs / totalBlockTime, where totalTxs is the total number of successful transactions in the stress test and totalBlockTime is the time difference (in seconds) between the first and final blocks that contained transactions belonging to the stress test.

The Collector gathers this information after all valid transactions have been committed to the blockchain network, providing valuable insights into the performance of the network during a period of high load.

Last updated