filecoin-project / fvm-workbench

Tooling for developing actors on the FVM
Other
6 stars 0 forks source link

Infeasibly slow TestExecution #34

Open alexytsu opened 8 months ago

alexytsu commented 8 months ago

Some test scenarios imported from builtin-actors are infeasibly slow when executing on the fvm-workbench.

These should be identified and diagnosed. The most likely source of slowness comes from tests that iterate through epochs and require cron to run at each interval to progress the chain state.

alexytsu commented 8 months ago

When the source of the slowdown has been confirmed it may be necessary in the builtin-actors repo to:

1) Refactor the tests or assertions to be faster 2) Additionally decorate slower tests to allow them to be skipped in slow execution environments

alexytsu commented 8 months ago

Tests from builtin-actors can now be annotated with a score for speed.

This task remains open to track the work of running each test here and assigning a speed to it. In reality for now, this should be a binary categorisation of tests that can run to completion on the workbench in a reasonable amount of time or tests that are too slow.