0xPolygonZero / zk_evm

Apache License 2.0
85 stars 37 forks source link

Use test config in CI #770

Closed sai-deng closed 1 week ago

sai-deng commented 1 week ago

The two_to_one_block test takes approximately 30 seconds to complete on my MacBook in release mode. However, it remains slow in the CI environment because it runs in debug mode by default. To address this, I have added a new CI job that specifically runs longer tests, including two_to_one_block, in release mode. This ensures better performance and faster feedback for these resource-intensive tests.

Before: Continuous Integration / Test evm_arithmetization (pull_request) Successful in 17m Jerigon Integration / Native tracer proof generation (pull_request) Successful in 14m Jerigon Integration / Zero tracer proof generation (pull_request) Successful in 14m

After: Continuous Integration / Slow evm_arithmetization tests in release mode (pull_request) Successful in 5m (new) Continuous Integration / Test evm_arithmetization (pull_request) Successful in 8m Jerigon Integration / Native tracer proof generation (pull_request) Successful in 9m Jerigon Integration / Zero tracer proof generation (pull_request) Successful in 9m