Polygon Block Performance

    Question:

    What is the average time between blocks on Polygon?

    What was the maximum and minimum recorded time between two blocks? How many transactions are done in a block on average? How do these numbers compare to L1 such as Flow or Solana, or other L2 such as Arbitrum or Optimism?

    Overview of essay:

    ==Information in the blockchain is in the form of transactions, and a set of processed transactions are placed in larger units called "blocks" and added to the rest of the blocks, which is the main block chain.== Once a block is added to the blockchain, it cannot be changed, manipulated or deleted. To ensure this, each piece of information in the block is encrypted before being stored, and at the end the entire block is also encrypted.

    These encryption processes are performed by complex mathematical functions called "Hash Function", which have different types. The hash function has an interesting feature, which is that whatever input you give it, it produces an output of fixed length.

    The block performance of Polygon has been studied and to understand its healthy performance, compare to L1 and L2 blockchains.

    Approach:

    • Polygon blocks: distinct BLOCK_TIMESTAMP, BLOCK_NUMBER from polygon.core.fact_transactions

    • Time difference between blocks:

      BLOCK_NUMBER, BLOCK_TIMESTAMP as x1, lag(BLOCK_TIMESTAMP,1)over(order by BLOCK_TIMESTAMP) as x2, datediff(second,x2,x1) as time_difference

    • Average count of transactions per block:

      avg(TX_COUNT) as average_txn from polygon.core.fact_blocks

    • Other blockchains: Just use their core tables

      L1 blockchains like Solana and Flow

      L2 blockchains like Avalanche and Arbitrum

    Polygon Block Performance:

    \n

    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...

    Compared to L1 blockchains:

    As mentioned, the performance comparison between Polygon and other L1s like Solana and Flow made in this part.

    1. Solana got the lowest average time between blocks by 0.67 second.
    2. Also, Solana blockchain could handle more transactions on single block (Averagely 1748 transactions) as illustrated .
    3. Polygon got better performance rather than Flow with averagely 75 transactions per block.
    Loading...
    Loading...
    Loading...

    Compared to L2 blockchains:

    Now made comparison with other L2s and look at the results:

    1. Polygon has the highest average time between blocks compare to Avalanche and Arbitrum.
    2. The performance of Polygon on average transaction count per block is better than Avalanche and Arbitrum.
    3. Arbutrum got the lowest time difference between blocks by 1.11 seconds. Also, in average transaction count per block got 1.16 transactions.
    Loading...
    Loading...
    Loading...