Polygon Block Performance
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?
What is Polygon?
Polygon is a “layer two” or “sidechain” scaling solution that runs alongside the Ethereum blockchain — allowing for speedy transactions and low fees. MATIC is the network’s native cryptocurrency, which is used for fees, staking, and more.
How does Polygon work?
You can picture Polygon as being like an express train on a subway — it travels along the same route as the regular train, but it makes fewer stops and thus moves much faster. (In this analogy the main Ethereum blockchain is the local train.) Polygon uses a variety of technologies to create this speedy parallel blockchain and link it to the main Ethereum blockchain.
overview
In this dashboard, we will take a closer look into polygon’s blockchain performance. And also we will examine how block sizes and block times have changed over time.
To better understand the performance of the network, we will compare it with the networks of L1 of Flow and L2 of Arbitrum.
The aims of this dashboard:
- Minimum and maximum time between blocks
- Average time between blocks
- Number of transactions per block
- Number of transactions per network
Method
Using polygon.core.fact_blocks
, flow.core.fact_blocks
and arbitrum.core.fact_blocks
tables, the creation time of each block can be calculated,
And by joining it to polygon.core.fact_transactions
, flow.core.fact_transactions
and arbitrum.core.fact_transactions
table, you can get the number of transactions of each block.
\n
Analysis Vis 1 to Vis 2:
In the graph below, we can see the average time between blocks as a whole.
> This data has been calculated from June 6 onwards.
Polygon's average time is more than twice that of Arbitrum and one time that of Flow.
It can be concluded that the speed of block formation in Poligan is slower than others
In the daily chart, we can see that the average time between blocks of Arbitrum has increased very much, which according to my research is related to the Odyssey event.
The flow had a sharp move on July 26th.
But during this period, Polygon average time between blocks every day has been almost constant and this is a sign of the health of the network.
Analysis Table 1 to Table 2:
What is the time between blocks?
The time it takes to create a block in the network.
Here we see most of the time between each block for 3 networks,
the polygon has a lower value, and the maximum time to form a new block was 25 seconds.
On the other hand, we have the L1 of flow, the maximum value of which was more than 12K seconds.
The L2 of Arbitrum has the highest value of more than 23 thousand seconds, which is a large value for an L2.
In the lowest amount of time between blocks, we can see that the lowest value of the polygon is 2 seconds.
Flow and Arbitrum show the number 0.
> Here, since the unit of measurement of time is 1 second, values less than 1 second are shown as 0, so it is possible to be 0.5 seconds or a number between 0 and 1.
Analysis Vis 3 to Vis 4:
The average total transaction of each block in Polygon is more than four times that of Flow.
In layer 2, almost every 1 transaction creates 1 block.
Here we see the average number of transactions of each block, which means that a new block is created after this number of transactions.
In Arbitrum, we can see that a new block is created almost after each transaction, this amount for Flow was in the range of 10 to 30 on normal days.
For Polygon, the number of transactions was higher and fluctuated between 60 and 100.
Conclusion
Time
- Block timestamp difference ranges between 2 and 25.
- The daily average block timestamp difference is 2.2.
- the daily average block timestamp difference ranges between 2.1 and 2.4.
- The block timestamp difference has a constant trend over time.
transaction
-
The average total transaction is 75.
-
The average daily transaction has an almost constant trend line.
-
The number of network transactions has a downward trend line
\
Polygon network has been working fast, smoothly, and without problems since June.
Analysis Vis 5 to Vis 7:
In these tables, we see the number of transactions of each network per second, day, and week.
By comparing the L1 of Flow, we see that the number of transactions in Polygon seconds is more than twice that of Flow.
More than 2 million transactions are done in Polygon every day.
It is under 2 million in Flow and under 100 thousand transactions in Arbitrum.
What is Flow?
Flow is a fast, decentralized, and developer-friendly blockchain, designed as the foundation for a new generation of games, apps, and the digital assets that power them. It is based on a unique, multi-role architecture, and designed to scale without sharding, allowing for massive improvements in speed and throughput while preserving a developer-friendly, ACID-compliant environment.
What Is Arbitrum?
Arbitrum is a layer 2 solution designed to improve the capabilities of Ethereum smart contracts — boosting their speed and scalability while adding additional privacy features to boot.
How Does Arbitrum Work?
Arbitrum is a type of technology known as an optimistic rollup. It allows Ethereum smart contracts to scale by passing messages between smart contracts on the Ethereum main chain and those on the Arbitrum second layer chain. Much of the transaction processing is completed on the second layer and the results of this are recorded on the main chain — drastically improving speed and efficiency.