How do I figure out which proofs are the most time-consuming, to be able to help the verifier along with Assert
s?
Is there any way that is better than guess-and-check?
How do I figure out which proofs are the most time-consuming, to be able to help the verifier along with Assert
s?
Is there any way that is better than guess-and-check?
Use profiler to do that, for example Visual Studio built-in one. You can reach it from Analyze menu. It will show you times and number of occurance for all methods in your code.
Of course there are also third party solutions, for example Ants Profiler
Sort of. You can find the slowest methods by using the option
-stats slowmethods
(you can also use-statsOnly
to simplify the log output).Unfortunately, the output looks like this:
I'm not sure if there's a way to find the method name from the method number.