News for hackers. Stuff that matters.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by ovao on Thursday March 23, 2017 @11:52AM (#13940869)
What native editors have you used?
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by Kiro on Thursday March 23, 2017 @01:47PM (#13942152)
Primarily Sublime Code, Notepad++, PhpStorm and NetBeans.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by ovao on Thursday March 23, 2017 @03:56PM (#13943625)
That's an unusual experience. Based on a handful of benchmarks[0] done by the author of JOE, VS Code is sometimes an order of magnitude slower than Notepad++ and Sublime at some tasks.

I use VS Code pretty much exclusively these days myself, so I'm not picking on it by any means.

[0]: https://github.com/jhallen/joes-sandbox/tree/master/editor-p...

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by Kiro on Friday March 24, 2017 @12:48PM (#13950243)
Well, I haven't benchmarked it so it's just how I feel. Maybe there's something in the UX that makes it feel more performant.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by iaml on Thursday March 23, 2017 @05:53PM (#13944705)
I have the same experience on my pretty slow laptop. Granted, my projects aren't big, but I would take vs code over sublime any day. Interestingly, atom feels much slower compared to both.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by FridgeSeal on Thursday March 23, 2017 @07:48PM (#13945407)
That's because, unequivocally, atom is slower.

https://pavelfatin.com/typing-with-pleasure/

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by iaml on Thursday March 23, 2017 @08:21PM (#13945568)
Surprising part isn't that atom is slow, it's that vs code isn't and they both use electron.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by pvg on Thursday March 23, 2017 @05:00PM (#13944221)
PhPStorm and NetBeans are not 'native'.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by Kiro on Friday March 24, 2017 @12:46PM (#13950211)
Care to elaborate?
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by pvg on Friday March 24, 2017 @04:12PM (#13951887)
There's nothing to elaborate. They're both Java/Swing apps.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by Kiro on Saturday March 25, 2017 @08:11AM (#13955226)
Thanks. That's what I meant. I thought that counted as native.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by pvg on Saturday March 25, 2017 @10:54AM (#13955941)
Nope, it doesn't. Although it's probably a good indication that the hairsplitting over 'native' and not is not as important as this thread might make one think.