https://gist.github.com/jaysoffian/86a3316892cbca10ff41be15b8691349
19 second delay this time:
2019-07-17 12:16:09.716981-0400 0x12f9658 Default 0x0 37899 0 TextMate: [com.macromates.TextMate:BringToFront] TextMate: Create new window
2019-07-17 12:16:28.001023-0400 0x12f9658 Default 0x0 37899 0 TextMate: [com.macromates.TextMate:BringToFront] TextMate: Check if state restoration has been disabled
I haven’t really followed this thread, but have you tried doing a Spindump or Sample Process when this occurs? This is available using Activity Monitor, selecting the process (TextMate in this case) and picking the operation from the gear menu in the toolbar.