swiper is a narrowing utility, there is no point in displaying the whole file when the input is empty. This is very slow on huge files and stutters Emacs. I believe a general approach would be to allow swiper to display anything (do actual search) only after a configurable/customizable number of input characters (this practice was already applied elsewhere in ivy probably and is usual for company too).