How can i get a very rough estimate of the runtime for simple mathematical algorithms written in mips assembly? Like factorial, Euclidean, Fibonacci? I've got my processors frequency and its 2.30 GHz, im on an MSI gaming laptop. I've read that the Intruction per cycle is usually between 1-2. The goal is to compare the runtimes of the same programs in java. In java it was pretty simple but mips assembly is a whole other story. I have read that assembly is generally faster than java(please confirm, assuming both are as optimized as they can be). Please note im no assembly pro whatsoever, im taking a computer architecture class and this is a project im doing.
I've tried checking out simulators like Mars and SPIM but they dont support this feature. I've done some research and noticed there are a lot of factors that come into play so im assuming thats why there arent any simulators that do this. Again i dont need an exact calculation, i could make up reasonable numbers that would make sense and plug them into a formula, any guidance would be appreciated.