Polygon Block Performance
Comparing Polygon performance with other blockchains
1. Introduction đź”—
1.1 Context
Polygon is an EVM¹ (Ethereum Virtual Machine) and PoS² (Proof of Stake) Blockchain. Polygon is also known as “Ethereum’s internet of blockchain” because one of its purposes is to be a layer-2 scaling³ solution for the Ethereum ecosystem, allowing users to perform almost the same interactions in Ethereum, but much cheaper and faster. E.G. The block-time on Polygon is 2s compared to 10s on Ethereum. Access for more information.
1.2 Objective
The main mission of this dashboard is to compare Polygon's performance with other blockchains, and answer the following questions:
- 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?
2. Methods đź§Ş
2.1 Constraints and Filters
We retrieved data from the last 30 days, considering success and failed transactions
2.2 Metrics and Data Sources
We computed the max, min and the average of transactions per block, and time between blocks for many blockchains displayed in the charts
We used the tables of transactions for those blockchains.
4. Conclusion đź”—
- The maximum block-time of FLOW and BSC is weird. It looks like there are missing data between the blocks. The average block-time for BSC is also awkward. However, when we use median instead of average, we have numbers very close to numbers provided by external data.
- For Optimism and Arbitrum, is not possible to compare their performance because of their particular transaction workflows and rollups. That's why we have a block size of 1 transaction and an average block time of around 0-1 second.
- The minimum block-time for all blockchains is less than 0 seconds. That’s why we saw 0 values in the chart.
- We see that Solana performed better over other blockchains when it comes to block-time and transactions per second (speed). Polygon presents the second-best numbers.
Note
Dashboard made on July 27, 2022 by Rodolfo L.
Linkedin: https://www.linkedin.com/feed/
Twitter:
3.3.2 Block-Time
Note
The block size for L2’s blockchain is 1 transaction only [4]. The explanation is long, and it’s out of the scope here. Take a look at the L2 transaction workflow in item 4 in references. In a nutshell, they stored transactions from L2 to L1 through smart contracts deployed by the L2 blockchain team (Optimism and Arbitrum).