It's exactly what you would expect. But are VS Code and Atom fast enough to be useable? I didn't think so before a year or more back), but I think so now.
Sublime Text vs. Visual Studio Code vs. Atom Performance Test (Dec 2016)
21–26 of 26 posts
Re: Sublime Text vs. Visual Studio Code vs. Atom Performance Test (Dec 2016)
#22Earlier quoted context omitted.
Given that I was able to consistently see this issue when I was using Sublime Text 3, I'll see if I can come up with something more concrete to show/report this issue, over some weekend.
I would guess it is probably a Sublime plugin trying to syntax highlight or lint your 20MB file. What is the extension of the file?
Re: Sublime Text vs. Visual Studio Code vs. Atom Performance Test (Dec 2016)
#23Earlier quoted context omitted.
I would guess it is probably a Sublime plugin trying to syntax highlight or lint your 20MB file. What is the extension of the file?
Just had a quick look at one of the files which I remember was giving me trouble. The file extension is .txt. I will boot up the machine on which I have ST3 installed and give it a try pretty soon.
content = 'a'
with open('content.txt', 'w') as f:
for x in range(1, 18888789):
f.write(content)
It took me 39 seconds (consistently) to open it. The generated file size is less than 20MB.The problem appears to be that ST3 slows down while loading this file which just has 1 huge line. If I tweak that script to change the content from 'a' to 'a\n' to include a new line within the content, the generated file loads relatively quickly and in reasonable time (around 6 seconds for the 37MB odd file).
I admit, this now I think can be considered a corner case but when I ran into this pretty frequently, I just assumed this happens with all files with such sizes. As for why I believed ST2 doesn't have this issue - I'm not sure anymore, because when I try these files now with ST2 it too behaves similarly.
I no longer work on that project which generated these files so had it no been for this thread, I would never have bothered to dig deeper into this and would have just stuck with ST2 :)
Re: Sublime Text vs. Visual Studio Code vs. Atom Performance Test (Dec 2016)
#24For my programming class in the upcoming winter, I'm finally switching to Atom from Sublime Text as the recommended default text editor for my (novice) students. My reasons, in descending order of importance: 1. Atom has nice defaults, such as spaces for default tabbing and automatic trimming of white space upon save. In ST, you have to manually alter the user config file. 1.5 Atom has much better file handling in it…
Sublime is still easier than VIM/Emacs for beginners but it does require some effort to get up to full awesomeness.
Re: Sublime Text vs. Visual Studio Code vs. Atom Performance Test (Dec 2016)
#25The file open times where we are talking about a difference of just over half a second for files which are larger than most web-devs (the target market for Atom and VSCODE) shouldn't make a difference in real life usage. However, where the big difference comes is in searching across an entire project. Want to find all references to `someVar` it's super snappy in Sublime and 10x slower in VSCode and Atom (of course, i…
It produces hits in realtime as you type.