Performance Comparison Test: AELF vs Ethereum

By ælf on Altcoin Magazine

May 22 · 4 min read

Author: Zongzhe Huang

  • 1. Test Case and Code
  • 2. Machine Configuration
  • 3. Test Results
  • 3.1 EVM
  • 3.2 AELF
  • 3.2.1 LoopDivAdd10M
  • 3.2.2 LoopExpNop1M

As the development of aelf network matures, various types of tests are being conducted to pressure test the performance of the network in a number of different angles.

One of the more recent tests to check the advanced nature of the fundamental underlying technology of aelf, was to compare the performance of both Ethereum and aelf under identical environment.

The results were stunning. aelf’s contract execution efficiency was proven to be substantially higher than that of Ethereum’s EVM, aelf outpacing Ethereum by hundreds if not thousands of times in processing speed. Ethereum utilizes its EVM module to support contract execution while its 256 bit stack size and gas count contribute significantly to the overall performance. In contrast, aelf calls the contract through C# reflection allowing many unnecessary executions to be bypassed.

1. Test Case and Code

The test was conducted using Ethereum loop-DivAdd-10M.json and loop-exp-nop-1M.json.

ETH: Based on the official go implementation version

AELF: Based on the official C# implementation version

Test case, standard test for ETH

Corresponding aelf test program:

2. Machine Configuration

3. Test Results

LoopDivAdd10M: EVM takes 169 times longer than aelf

LoopExpNop1M: EVM takes 1223 times longer than aelf

3.1 EVM

The official go implementation version of the built-in test program execution results are as shown below.


LoopExpNop1M: 639.16568ms

3.2 AELF

LoopDivAdd10M: 84.01ms

LoopExpNop1M: 0.5225ms

Dividing/Addition cycle 10 million times







In the case of the same test machine configuration, 10 million cycles of addition and division test, aelf only needs 84.01ms, 169 times higher than Ethereum EVM; 1 million empty loop, aelf only needs 0.5225 ms, which is 1223 times higher than Ethereum EVM.

When we just got the result of 500us, we were also surprised, it took 5ms to run this test program before. We thought it was because of this release, the optimization of this empty loop code. However, after decompilation, the corresponding logic is still there, and the data has no problem.

· aelf Telegram community: English, Türkçe, Español, 한국, 日本語, 中文русский, العربية, Deutsch, Italiano, Français, हिन्दी, and Tiếng Việt,

· aelf Twitter

· aelf Facebook

· aelf YouTube

· aelf Instagram

· aelf Reddit

· aelf Medium (for the latest update and articles)

· aelf Github (complete aelf project codes)

For more information, visit


Written by


ælf, the next breakthrough in Blockchain.