Omer Zak wrote:
> The evidence points at some process, unknown to me, which gets scheduled
> in Tkinter's main loop, and which takes about 1sec.  While this process
> is executing, the GUI is unresponsive and my own processes execute later
> than their scheduled times.
> 
> Any advice how to find that process and figure out what it does and why?

I'd start with stracing the python process to try and see if it is
something wrong or maybe there is a sleep(1) command done there.

Other than that I can only think about look at Tkinter code and changing
it to print what it does so you can trace it when it runs to see what
happens.

It is also possible to compile the Tkinter.so object with debug symbols
and use gdb to just print at breakpoints and continue immediately,
though latency of break points will be higher than prints.

Baruch

לענות