If I open a file containing 5,000 lines of code and continue to input, I found that my vim became very slow, it displays my input after about 1s.
It even won\'t become
Something like this is usually caused by syntax colouring. Try with :syntax off.
:syntax off