cartesi / machine-emulator

The off-chain implementation of the Cartesi Machine
GNU Lesser General Public License v3.0
58 stars 32 forks source link

ci: speed up uarch testing in CI #225

Closed edubart closed 2 months ago

edubart commented 3 months ago

This should make the step "Run test suite with microarchitecture and host based interpreters comparing machine hashes at every step" about ~20 minutes faster.

Before this change, 8 tests were being executed in parallel, each one with 8 threads for root hash computation, making the machine use 64 threads on a 8 core machine, not ideal. With this change only 8 threads will be working, speeding up the CI a little.