0xPolygonZero / zk_evm

Apache License 2.0
85 stars 37 forks source link

Add faster STARK configuration for testing purposes #739

Closed sai-deng closed 1 week ago

sai-deng commented 3 weeks ago

676 Enables fast STARK configurations in integration tests. Achieved up to 82% test time savings. Detailed results are provided below.

Next, I will work on enabling it in Zero Bin.

Test Name Old TIme (sec) New TIme (sec) Time Savings
add11_yml 4.85 3.56 26.60%
empty_table 39.54 7.1 82.04%
erc20 4.93 3.58 27.38%
erc721 18.14 13.59 25.08%
log_opcodes 6.07 4.56 24.88%
selfdestruct 4.81 3.49 27.44%
simple_transfer 4.79 3.43 28.39%
two_to_one_block_aggregation 176.52 38.00 78.47%
withdrawals 3.8 2.97 21.84%

With the big test time savings for the two_to_one_block_aggregation test, I have removed [ignore] from it.