ExecuteInEditMode debug render slows down editor in Scene View

I absolutely need scripted debug lines in scene view when I edit the game, but this bug annoys me like hell. Basically, FPS start to drop constantly when I move camera and repaint occurs.

I’ve tried OnRenderObject with both Debug.DrawLine and GL drawing, and Graphics.DrawMesh doesnt work well too, as mentioned here Debug Rendering using the depth buffer - Questions & Answers - Unity Discussions.

Only workaround I found is to spam Ctrl+S, somehow this clears a queue, that is causing the problem.

Found how to do what I want the other way around: