4 ms·
It still seems to take a long time to cat a file in iTerm compared to Terminal.app. In Terminal, I can cat a 1.5M line file in about 5 seconds, it takes about
by ninkendo 8y ago
It still seems to take a long time to cat a file in iTerm compared to Terminal.app.
In Terminal, I can cat a 1.5M line file in about 5 seconds, it takes about twice as long in the new iTerm beta.
But iTerm is certainly updating the screen more often than Terminal (it looks smoother at least), so maybe that's because Terminal is doing a better job of allowing the screen buffer to update independently of the drawing thread.
- hinkley 8y agoThis might seem specious to some people but there have been at least two intervals in my career where I ran into bad benchmarks of our app, because the person doing the measurement was running it in the foreground on a subpar terminal where writing to console was the bottleneck. Occasionally, but less frequently, you can run into a similar symptoms just running build scripts.
- waterhouse 8y agoI remember this from the SBCL docs: "Important: It is highly recommended that you run the make.sh script in either a very fast terminal such as xterm (the GNOME terminal and the OS X terminal are too slow) or that you run it in a detached GNU screen session (use C-a d to detach the session and screen -r to resume it). The SBCL compile produces lots of output and your system's terminal program will likely slow down the compile in a drastic manner." http://www.sbcl.org/getting.html http://www.sbcl.org/getting.html
- sah2ed 8y agoOT: There's a related question on StackOverflow where the same program had different runtimes on different terminals. https://stackoverflow.com/a/21947627 https://stackoverflow.com/a/21947627
- nvahalik 8y agoIs there a way to know if you're actually using the GPU renderer? Because it seems like there are several reasons why it might not be used...
- mynameisvlad 8y agoPer the article, you can enable the FPS monitor in Advanced Settings which only shows up when using the Metal renderer.
- CodeWriter23 8y agoClick the link. That and much more is answered there.
- androsyang 8y agoUnrelated to the topic: are you the same guy who does the smash videos?
- ninkendo 8y agoNope! I've had this handle since around 1998, but other people started grabbing it in other forums after that. I'm not the twitter ninkendo nor the steam ninkendo either. I only have this handle without trailing numbers on here, Ars Technica's forums, and gmail. (Formerly reddit too, but I deleted my account there when the site became a bit too toxic.)
- gnachman 8y agoYes, Terminal does it more independently. Maybe some day I'll make enough on Patreon that I can quit my day job and fix that :). If this is really important to you there are knobs you can turn to trade off refresh rate vs throughput. Enable "Prefs>General>Advanced GPU Settings>Maximize Throughput" and then fiddle with "Prefs>Advanced>When adaptive framerate is enabled and using the Metal renderer, refresh at this rate during high throughput conditions (FPS)". Adaptive framerate works by estimating the current throughput and adjusting the refresh rate accordingly. Terminal.app does this very aggressively, dropping the frame rate to 10 FPS so it can cat the 1.5M file so quickly.
- AsyncAwait 8y agoI noticed that on your Patreon, you have that you're creating "Software". To many people that's too vague, (despite the header). I noticed that concrete software titles do better, like "is creating Vue.js" instead of "Software" or "JavaScript libraries", or "Mastodon" instead of "Social Networking software" etc. It's a minor thing, but may be something to consider.