Cybermiles Technical Benchmark

CyberMiles’ programming language, Lity, and the CyberMiles Virtual Machine (CVM) are powerful blockchain infrastructure technologies.   

The table below shows the performance differences between the CVM and the Ethereum Virtual Machine (EVM) – in various application scenarios, under the same condition. You can also see how CVM performance allows it to complete mission critical tasks that were impossible on Ethereum.

CyberMiles technology, coupled with its DPoS consensus mechanism, enable you to run business applications much faster and cheaper.

Processing Time Computation Quantities Ethereum / EVM CyberMiles / CVM Ratio
Addition
20 million
35.30 seconds
3.26 seonds
11.5 times
Multiplication
10 million
35.33 seconds
2.96 seconds
12.8 times
Bubble Sorting
60 thousand
48.01 seconds
0.45 seconds
199 times
Scrypt
1
920 seconds
0.051 seconds
18,039 times
Facebook
Twitter
LinkedIn
Reddit
Telegram
Addition
Multiplication
Bubble Sort
Scrypt

The CVM performs 20 million additions in 3.26 seconds while the EVM takes 35.3 seconds for the same amount of computation. The virtual machine startup time is estimated to be 0.21s in this test.

Conclusion:

The CVM is 11.5 times faster than the EVM, when it comes arithmetic additions.

In addition, the CyberMiles DPoS consensus is at at least 100 times faster than Ethereum PoW. That means CyberMiles can process 100x more transactions per second, and each transaction can carry 11.5x more computation load.

CVM can be 1150 times faster than EVM for additions.

The CVM performs 10 million multiplications within 3 seconds while the EVM takes close to 35 seconds for the same amount of computation. The virtual machine startup time is estimated to be 0.21s in this test.

Conclusion:

The CVM is 12.8 times faster than the EVM, when it comes arithmetic multiplications.

In addition, the CyberMiles DPoS consensus is at at least 100 times faster than Ethereum PoW. That means CyberMiles can process 100x more transactions per second, and each transaction can carry 12.8x more computation load.

CVM can be 1280 times faster than EVM for multiplications.

CVM can be 1280 times faster than EVM for multiplications.

CVM v.s. EVM for Integer Sorting

The CVM performs 60,000 bubble sorts in 0.45 seconds while the EVM takes 48 seconds for the same amount of computation. The virtual machine startup time is estimated to be 0.21s in this test.

Conclusion:

The CVM is 199 times faster than the EVM, when it comes bubble sorts.

In addition, the CyberMiles DPoS consensus is at at least 100 times faster than Ethereum PoW. That means CyberMiles can process 100x more transactions per second, and each transaction can carry 199x more computation load.

*Bubble sorting is a very common algorithm widely used in many e-commerce applications.
CVM can be 19,900 times faster than EVM for bubble sorts

CVM v.s. EVM for the Scrypt Algorithm

A common scenario for e-commerce applications is to accept multiple cryptocurrencies, including the bitcoin, as payments. 

That requires the smart contract for the e-commerce application to be able to verify bitcoin transactions. A key step in the verification process is to compute the transaction’s block header using the scrypt algorithm.

Prohibitive cost for Scrypt on Ethereum

Scrypt currently is nearly impossible on Ethereum as it required 370 million units of gas, which is about 1 ETH under normal gas price. It is far more expensive than anyone is willing to pay for this. And even if cost is not an objection, each Ethereum block can only consume 8 million units of gas, making it impossible to run scrypt in a single transaction.

Vitalik wrote a blog post about it, and there is a 5000 ETH bounty for this problem that remains unclaimed. The scrypt operation is too expensive on Ethereum.

 

Note that it currently takes ~370M gas to verify one instance of scrypt.

Vitalik Buterin

Co-founder of Ethereum

CyberMiles, A faster and cheaper solution for Scrypt

The CyberMiles blockchain incorporates a community contributed scrypt implementation as a libENI module in the CyberMiles Virtual Machine. The libENI allows anyone to write and deploy enhancements to the CVM.

The CVM can compute a scrypt result in one line of code within 51ms. It is at least 18,039 times faster than Ethereum.

Incorporating the scrypt result, a “trusted smart contract” on the CyberMiles blockchain can then verify bitcoin headers. The trusted smart contract is another CyberMiles innovation that makes oracles first class citizens on the blockchain.

Want to know how we’re innovating with Lity?  Check this out! 

Now let’s see it.

Performance difference between CVM and EVM for Scrypt Algorithm

CVM

Addition
Multiplication
Bubble Sort
Scrypt

The CVM performs 20 million additions in 3.26 seconds while the EVM takes 35.3 seconds for the same amount of computation. The virtual machine startup time is estimated to be 0.21s in this test.

Conclusion:

The CVM is 11.5 times faster than the EVM, when it comes arithmetic additions.

In addition, the CyberMiles DPoS consensus is at at least 100 times faster than Ethereum PoW. That means CyberMiles can process 100x more transactions per second, and each transaction can carry 11.5x more computation load.

CVM can be 1150 times faster than EVM for additions.

The CVM performs 10 million multiplications within 3 seconds while the EVM takes close to 35 seconds for the same amount of computation. The virtual machine startup time is estimated to be 0.21s in this test.

Conclusion:

The CVM is 12.8 times faster than the EVM, when it comes arithmetic multiplications.

In addition, the CyberMiles DPoS consensus is at at least 100 times faster than Ethereum PoW. That means CyberMiles can process 100x more transactions per second, and each transaction can carry 12.8x more computation load.

CVM can be 1280 times faster than EVM for multiplications.

CVM can be 1280 times faster than EVM for multiplications.

CVM v.s. EVM for Integer Sorting

The CVM performs 60,000 bubble sorts in 0.45 seconds while the EVM takes 48 seconds for the same amount of computation. The virtual machine startup time is estimated to be 0.21s in this test.

Conclusion:

The CVM is 199 times faster than the EVM, when it comes bubble sorts.

In addition, the CyberMiles DPoS consensus is at at least 100 times faster than Ethereum PoW. That means CyberMiles can process 100x more transactions per second, and each transaction can carry 199x more computation load.

*Bubble sorting is a very common algorithm widely used in many e-commerce applications.
CVM can be 19,900 times faster than EVM for bubble sorts

CVM v.s. EVM for the Scrypt Algorithm

A common scenario for e-commerce applications is to accept multiple cryptocurrencies, including the bitcoin, as payments. 

That requires the smart contract for the e-commerce application to be able to verify bitcoin transactions. A key step in the verification process is to compute the transaction’s block header using the scrypt algorithm.

Prohibitive cost for Scrypt on Ethereum

Scrypt currently is nearly impossible on Ethereum as it required 370 million units of gas, which is about 1 ETH under normal gas price. It is far more expensive than anyone is willing to pay for this. And even if cost is not an objection, each Ethereum block can only consume 8 million units of gas, making it impossible to run scrypt in a single transaction.

Vitalik wrote a blog post about it, and there is a 5000 ETH bounty for this problem that remains unclaimed. The scrypt operation is too expensive on Ethereum.

 

Note that it currently takes ~370M gas to verify one instance of scrypt.

Vitalik Buterin

Co-founder of Ethereum

CyberMiles, A faster and cheaper solution for Scrypt

The CyberMiles blockchain incorporates a community contributed scrypt implementation as a libENI module in the CyberMiles Virtual Machine. The libENI allows anyone to write and deploy enhancements to the CVM.

The CVM can compute a scrypt result in one line of code within 51ms. It is at least 18,039 times faster than Ethereum.

Incorporating the scrypt result, a “trusted smart contract” on the CyberMiles blockchain can then verify bitcoin headers. The trusted smart contract is another CyberMiles innovation that makes oracles first class citizens on the blockchain.

Want to know how we’re innovating with Lity?  Check this out! 

Now let’s see it.

Performance difference between CVM and EVM for Scrypt Algorithm

CVM