[TxMt] Re: Occasional performance hickups when editing, possibly my own fault. Any obvious way to profile TM performance?

Bert Zangle zanglebert at gmail.com
Mon Nov 28 14:59:26 UTC 2016


Allan Odgaard-4 wrote
> It could either be that you have a command running “on document 
> changes” or possibly that you are out of memory and the delays are 
> causing by swapping memory out to disk.
> 
> When a delay happens you can run `sample TextMate 1` in a terminal to 
> see what TextMate is doing.
> 
> You may want to make an alias or bind this to a hotkey, so that you can 
> do it the instant you noticed that TextMate stalls.
> 
> You can also try to (install and then) run `pstree` when it is stalling 
> to see if there is any subprocess being run by TextMate.

Bound both of them to a shortcut, will see what I get when it happens again.

I added `footprint` in case the problem is memory related like you suggest,
does that make sense?



--
View this message in context: http://textmate.1073791.n5.nabble.com/Occasional-performance-hickups-when-editing-possibly-my-own-fault-Any-obvious-way-to-profile-TM-perf-tp31095p31111.html
Sent from the textmate users mailing list archive at Nabble.com.


More information about the textmate mailing list