Occasional performance hickups when editing, possibly my own fault. Any obvious way to profile TM performance?
I'm occasionally experiencing smaller performance hickups in TM. Writing a line of code, there's a short delay before the input appears; delay is maybe in the range of half a second. It's infrequent enough not to be really bothersome, but ideally, I'd like to know the cause.
It could in fact be some (too expensive) regexes I defined in my customized language grammars, but I can't say for sure right now.
That's why I was wondering: is there a relatively simple way I can profile TM/TM processes, in order to find out if it is in fact my own grammar rules causing these hickups, or if it's something else?
Re: Occasional performance hickups when editing, possibly my own fault. Any obvious way to profile TM performance?
The delays seems to be getting more frequent. Doesn't happen outside of TM, so I don't think it's a system-wide problem.
My best guess right now is that either it's related to some regexes (as described above), or it's some other TM performance problem. Any ideas how to test this further (other than disabling each of the regexes one by one, which I'd prefer to do only as a last resort)?