It is something with my local python. I've tried to run some code to get it busy
n = 100000
r = n + (n - 1)
for i in range(n):
s = r - (n + i)
h = r - (s * 2)
print(' ' * s, '#' * h)
Time shows 5.01s
that is too long. On another machine, time is less and there is no image tearing with the same code. Question is closed.