News for hackers. Stuff that matters.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by voxic11 on Thursday March 23, 2017 @11:17AM (#13940461)
How fast does it run on 1995 hardware though?
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by jbmorgado on Thursday March 23, 2017 @11:29AM (#13940601)
Pretty sure any sane software implementation of a simple seconds pointer would easily update faster than 1 Hz while using little to negligible CPU time in a Desktop processor from the 90's and onwards.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by mschaef on Thursday March 23, 2017 @02:14PM (#13942461)
The Windows 1.0 clock (1988) had a 1Hz second sweep hand that ran on a 4.77MHz 8088. It's really just a couple clipped line segments each second.

http://variableghz.com/wp-content/uploads/2012/12/windows-1....

Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by jbmorgado on Thursday March 23, 2017 @03:12PM (#13943143)
Yes, that was the point I was making. This is something computationally trivial as long as the code is written appropriately.
Re:VS Code uses 13% CPU when idle due to blinking cursor ren... by mschaef on Friday March 24, 2017 @06:35AM (#13947949)
Keep in mind though, that the performance optimization the Windows article talks about is how to reduce the working set in memory more than the CPU consumption.