How to simulate microcontroller performance

Hello, I'm new to ARM. I have an specific code I need to run on a ARM microcontroller. This software processes images, and i need to get at least 30 FPS. Is there any way to test my code in a simulation and to know the performance i would get out on a specific board, without buying the hardware?

Thank you very much.

More questions in this forum