Both pygridsynth and gridynth have a feature like this. Currently, we can print a lot of debugging info that includes some stats. But it is too much if all you want is stats.
For example: T count, number of candidates tried, etc.
This is useful for development, and probably for research.