3 ms·
It's almost bizarre how cmatrix takes up 100% CPU on my computer. I suspect it will be more efficient in xterm rather than Terminal.app though.
by sgt 6y ago
It's almost bizarre how cmatrix takes up 100% CPU on my computer. I suspect it will be more efficient in xterm rather than Terminal.app though.
- nindalf 6y ago100% CPU is a small price to pay to look like a hacker. :)
- enriquto 6y ago> I suspect it will be more efficient in xterm rather than Terminal.app though. Indeed. I get 3% CPU usage on my xterm, 5% when in full screen. Still too much for a barely 6 year-old laptop, but nothing to worry about. EDIT: if you add the "-a" option (asyncronous scroll), CPU usage falls below 1%. I wonder what Terminal.app does to be so outrageously inefficient.
- sgt 6y agoI think it's a combination of a larger window, antialiased text, arguably better font, semi transparent background, terminal being 256-color (or more), and so on. By passing -a I get it down to 80% CPU. This is progress, guys!
- enriquto 6y agoIt can't be that. I have all of this except the transparent background. But that should be a compositor thing, independent of the window contents. That's bizarre, pushing a few thousand characters to the screen shouldn't, by far, reach 80% CPU usage. There's something in your system that's really botched up.
- sgt 6y agoI tested again, it's Terminal.app doing something! I tried with iTerm and CPU usage is negligible. Wonder what it is doing. My system is otherwise very fast.