Devnet speed-up troubleshooting
If you are not satisfied with Devnet's performance, consider the following:
- Make sure you are using the latest version of Devnet because new improvements are added regularly.
- Try using lite-mode.
- Try using Devnet with Cairo VM implemented in Rust.
- If minting tokens, set the lite parameter.
- Using an installed Devnet should be faster than running it with Docker.
- If you are running Devnet with Docker on an ARM machine (e.g. M1), make sure you are using the appropriate image tag
- If Devnet has been running for some time, try restarting it (either by killing it or by using the restart functionality).
- Keep in mind that:
- The first transaction is always a bit slower due to lazy loading.
- Tools you use for testing (e.g. the Hardhat plugin) add their own overhead.
- Bigger contracts are more time consuming.