Vscode has a special optimizations in place for large files. That's why it works so good.
You can actually disable it in the settings if you want it to try and render the entire thing at once