| Blockchain technology is an emerging data recording and storage technology.It has the characteristics of decentralization and tamper resistance and has higher security than traditional data storage technologies.However,due to the nature of blockchain technology,its performance still has a big difference compared with traditional data storage technology,which has prompted the emergence of blockchain technology improvement and blockchain performance test frameworks.In order to understand the effectiveness of different improvements,and at the same time guide the technology selection process when designing the blockchain,this article proposes a test framework for variants of blockchain platforms that can be used to test the blockchain and its improved versions.The framework provides automated blockchain and blockchain test driver operating environment building and deployment capabilities,simplifies the test preparation process;proposes a blockchain variant generation framework,by packaging changes to the blockchain into patches,and combine patches to quickly generate different blockchain variants for testing;proposes a real-time blockchain performance analysis framework based on log stream,which can monitor the test process during the experiment and obtain real-time analysis results.The framework can also comprehensively analyze the historical test results of different blockchain variants to understand the performance difference of different variants.This article also uses the proposed framework to test the impact of different hashing algorithms and consensus algorithms on the overall performance of Ethereum.The results show that different hash algorithms and consensus algorithms have a significant impact on the performance of Ethereum,and in different scenarios,a suitable combination of hash algorithms and consensus algorithms can effectively improve the performance of Ethereum.Therefore,when designing the blockchain,selecting a specific hash algorithm and consensus algorithm according to the actual scenario can effectively improve the performance of the blockchain. |