How to benchmark a "virtual" transaction?

Is it possible to run a test transaction and get benchmarks for how long (in total) FFT takes and how long (in total) MSM takes?