Replies: 3 comments 4 replies
-
Thanks for this initiative. So, once the profile is done, the export should be manageable. |
Beta Was this translation helpful? Give feedback.
-
Hello ! I also think that this is a great idea ! To share my experience, when I need to profile Choco execution, I use the Intellij'idea profiling tool. It is useful because it can help to identify bottleneck methods, but it has some limitations. When optimizing the implementation of set and graph views, I needed to know the number of times related propagators were called, how many times domain modifications methods were called, and so on. I did it manually by temporarily adding counter variables, so a profiler would have helped me a lot in this process. Notably, what helped me optimize the code was the identification of useless method calls, e.g. when a propagator tries to remove a value from a variable that is not in its domain (see commit d0383f9). I am looking forward to see this profiler at work :-) |
Beta Was this translation helpful? Give feedback.
-
Hello @cprudhom! I also think that this is a great ideia! But I don't understand the parameters: fine of Propagation and lower, upper and bounds for Integer Variables. Can you provide more informations about this? |
Beta Was this translation helpful? Give feedback.
-
Some times ago, a request for a minimal profiler was done (Profiler).
I'm considering the issue now, and have some propopsitions.
The idea is to record various statistics related to propagation:
I propose to export the result to a file.
I consider either to show raw values or to normalise them.
Raw values
Normalised
Any comment is welcome.
CP
Beta Was this translation helpful? Give feedback.
All reactions