Sublime Text vs. Visual Studio Code vs. Atom Performance Test (Dec 2016)
blog.xinhong.me
blog.xinhong.me
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, it depends on the size of your project as well, but my projects are not that large).
Having said that, I'm still using VSCode, my biggest hope is improved search performance. The Git integration is fantastic.
It produces hits in realtime as you type.
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 its project sidebar -- e.g. Right-clicking a file brings up the expected options for moving/copying/etc a file. And the dialog box is much clearer. In ST, IIRC, I have to install 2 separate plugins to have that convenience.
2. Atom's package manager is built in. In ST, you have to activate the console and paste in a Python command to install the PM.
3. The prominent "Download" button on sublimetext.com, until recently, defaulted to 2. And the download page for 3 lacks a call to action, at least in comparison to the page text that warns the reader that 3 is still in beta. I was always amazed at how many students installed ST2 contrary to my instructions until I visited the ST homepage for myself (which I never do unless I have to reinstall ST from scratch).
4. Atom installs the 'atom' CLI command by default. ST requires manual shell configuration to get 'subl'
5. Atom is free. ST has a free trial but then nags the user upon every nth save. I know, minor inconvenience, but as a happy purchaser of ST, I found that I vastly underestimated how much that nag dialog broke the flow, especially if students followed my advice to hit Cmd-S casually.
I agree with the OP that ST is substantially more performant, which is why ST is still my editor of choice. But for my students, performance is less of a concern. For most novices, their concept of a "text editor" is Microsoft Word...so a 3 second load up time won't bother them.
That Atom chokes on non trivial data files, e.g. a CSV of 100K rows, has been the strongest reason to stick to ST. But I now see that as an asset when it comes to teaching beginners. I make them learn the command line, and no better way to drive home the importance of tools like head, tail, sed, and grep than to have students experience firsthand Atom's grinding death when trying to render even simple text.
The integrated terminal is also a nice feature.
Sublime is still easier than VIM/Emacs for beginners but it does require some effort to get up to full awesomeness.
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 :)
I've been using Atom for over a year and it has made great strides over the last few months. I don't have any problems opening large repos or files now, as much as I did a few months ago.
I use VScode for personal projects & it's fast and awesome as well.
I linked your comparison in one my detailed Quora posts comparing Atom & Sublime --> https://www.quora.com/How-does-Atom-compare-with-Sublime-Tex...
Need to adapt here and there but couldnt bother to decide for good
I am wondering what Servo will bring to table. Will it bring close to native performance to browser and whether electron will ever migrate to Servo.