I am new to smart contracts, and I am developing a smart contract for a game. I am trying to understand if the smart contract that I created is efficient or not.
I have deployed the smart contract on the testnet. Then, I made some transactions and I saw that the CPU usage change, it is not the same even if I call the same action.
There is a way to know how much CPU an action will consume(approximately)?
If an action of a smart contract use around 1ms of CPU in the test net, in the mainnet the usage of CPU will be similar?