Ghostty vs iTerm2: How Far the Reported 3x Throughput and Memory Gap Holds

The 3x lead of Ghostty over iTerm2 that gets repeated is not one number, and the published figures behind it come from different tests on different machines. In DevToolReviews’ Ghostty vs Warp vs iTerm2 benchmark, run on a stated M3 MacBook Pro, cat takes 3.4x as long in iTerm2 at 100K lines and 4.3x as long at 1M lines. Idle memory is 3.0x to 3.3x on two DevToolReviews setups and 6.6x in AITerm’s citation of its M4 Mac mini tests. Ghostty 1.4.0 (released October 27, 2026) and iTerm2 3.7.7 (listed on November 3, 2026, the build the downloads page recommends as of November 13, 2026) are the current releases, and the versions section maps the hardware behind each figure. Heavy log and build-output work makes a case for Ghostty; if you rely on triggers, coprocesses, the Python API or tmux -CC, read the switching section first. The final section gives a script to time both on your own Mac.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

Where the gap comes from: two cat tests on one M3 MacBook Pro

DevToolReviews states its rig: an M3 MacBook Pro with 36 GB of RAM on macOS Sequoia, running cat on files of 100K and 1M lines. It is the one source in this article with a fully stated throughput setup. Method: we calculated every ratio below by dividing the iTerm2 figure by the Ghostty figure from the same source’s published times and sizes.

SourceWorkloadGhosttyiTerm2iTerm2 divided by Ghostty
DevToolReviews, M3 MacBook Procat, 100K lines0.7 s2.4 s3.4x
DevToolReviews, M3 MacBook Procat, 1M lines5.1 s22.1 s4.3x

Ghostty’s time grows 7.3x when the file grows 10x (0.7 s to 5.1 s), while iTerm2’s grows 9.2x (2.4 s to 22.1 s), so the ratio widens with output volume. Warp, in the same run, took 1.8 s and 14.2 s.

Ghostty’s creator does not claim a multiple. The project’s about page says the aim is to be in the same class as the fastest terminals: “In some benchmarks it is faster, in others it is slower.”

Versions and settings: what each quoted figure was run on

Ghostty 1.4.0 and iTerm2 3.7.7 (the recommended build on iTerm2’s downloads page, dated November 3, 2026, checked November 13, 2026) are the pair a reader would install as of that date. The figures quoted above and below come from tests tied to the specific hardware listed in the table; the only Ghostty 1.4.0 figures are the project’s own, measured against Ghostty 1.3.x.

SourceHardwareWhat it measured
DevToolReviews, Warp comparisonM3 MacBook Pro, 36 GB, macOS Sequoiacat time, memory, latency for Ghostty, Warp and iTerm2
AITerm, citing DevToolReviewsM4 Mac minicold start, idle memory for Ghostty and iTerm2
Ghostty 1.4.0 release notesM4 MaxI/O throughput and parser speed, Ghostty 1.4.0 against Ghostty 1.3.x

iTerm2’s own changelog dates 3.7.0 to June 8, 2026, and, as of November 13, 2026, the downloads page still lists 3.7.3 (September 22, 2026) alongside 3.7.7 (November 3, 2026), the recommended build. On the Ghostty side, the release-notes index dates 1.3.0 to March 9, 2026 and 1.3.1 to March 13, 2026; the 1.3.0 release notes list native scrollback search and native scrollbars among its features.

Ghostty’s claims for 1.4.0 are about Ghostty. The release notes say it drains the pty on one thread while parsing on another, raising end-to-end I/O throughput by 25% to 55% on macOS over 1.3.x, on an M4 Max. A parser benchmark went from 128 MB/s to 725 MB/s (5.7x) for plain ASCII, and CJK text got 3.4x faster. That 3.4x is Ghostty’s parser against its own earlier parser and is unrelated to the 3.4x cat ratio above. Neither figure can be multiplied onto a ratio measured on different hardware.

iTerm2’s results also depend on its settings. Its preferences documentation describes a Maximize throughput setting, at the cost of higher latency, that lowers the frame rate when a lot of data is arriving, and the 3.7 page says you probably need to disable it to hit 120 FPS. Of the GPU renderer it says: “The GPU renderer improves drawing performance, but it may use more energy.” Ghostty’s features page says it renders with Metal on macOS and OpenGL on Linux. An optional Compress scrollback history in the background setting in iTerm2 can “significantly reduce memory usage” with large scrollback, at the price of slightly higher CPU use when idle. An iTerm2 figure published without these settings is one configuration’s result.

Memory: about 3x at idle on two setups, and what 1.4.0 changes

On the M3 MacBook Pro, DevToolReviews measured a single idle tab at 28 MB for Ghostty and 85 MB for iTerm2, and eight tabs after a four-hour session at 95 MB and 290 MB. Warp used 210 MB and 380 MB in the same runs. Its separate Ghostty vs iTerm2 vs Kitty comparison reports 24 MB against 78 MB idle, and AITerm, citing DevToolReviews’ tests on an M4 Mac mini, gives 28 MB against 185 MB.

SetupGhosttyiTerm2iTerm2 divided by Ghostty
Idle, one tab (DevToolReviews, M3 MacBook Pro)28 MB85 MB3.0x
Eight tabs after a four-hour session (same rig)95 MB290 MB3.1x
Idle (DevToolReviews, Kitty comparison)24 MB78 MB3.3x
Idle (AITerm citing DevToolReviews, M4 Mac mini)28 MB185 MB6.6x

Ghostty stays within 24 to 28 MB at idle across these setups, while iTerm2 moves from 78 to 185 MB, so a single ratio describes one setup. From the eight-tab row, each added tab (seven beyond the first) costs Ghostty about 9.6 MB ((95 minus 28) / 7) and iTerm2 about 29.3 MB ((290 minus 85) / 7). That slope is rough, because the four-hour session also grew scrollback. The absolute difference at eight tabs is 195 MB.

Ghostty 1.4.0’s release notes add several memory changes. Ghostty compresses scrollback that is not visible, cutting the physical memory those pages use by 70% to 90% for typical text-heavy history, and the default scrollback limit rose from 10 MB to 50 MB per terminal because of that. On platforms that support compression, a full scrollback still generally uses less physical memory than the old 10 MB limit did. In 1.4.0 hidden tabs release GPU resources: with one visible tab and 20 hidden ones on macOS, GPU memory fell from about 385 MiB to 18 MiB. A new, empty terminal uses about 16 KiB of terminal page memory, down from 128 KiB in 1.3.1, which is page memory and not whole-process memory.

The notes add that compression lowers resident (physical) memory, not virtual memory, so a fair comparison reads resident memory in both terminals. On the iTerm2 side, record whether background scrollback compression is on before comparing.

Startup and keystroke latency: large ratios on small gaps

MeasureSourceGhosttyiTerm2GapiTerm2 divided by Ghostty
Cold startDevToolReviews, Kitty comparison68 ms312 ms244 ms4.6x
Cold startAITerm citing DevToolReviews, M4 Mac mini95 ms340 ms245 ms3.6x
Input latencyDevToolReviews, M3 MacBook Proabout 2 msabout 12 msabout 10 ms6.0x
Scrollback renderingDevToolReviews, Kitty comparison144 fps60 fps capframe ratenot a time ratio

The two cold-start tests disagree on absolute values (68 ms against 95 ms for Ghostty, 312 ms against 340 ms for iTerm2), yet both gaps are about 244 to 245 ms, so the ratio falls from 4.6x to 3.6x as the baseline moves. The keystroke gap on the M3 test is about ten milliseconds, whereas the cold-start gap is about a quarter of a second, felt once per launch. Reading a ratio beside its absolute gap is just as useful in editor comparisons such as Zed vs VS Code.

Put on one scale, the headline 3x sits inside a spread: the cat tests land at 3.4x and 4.3x, idle memory at 3.0x to 3.3x (6.6x in one citation), cold start at 3.6x to 4.6x in the two millisecond tests, and keystroke latency at 6.0x on the M3 test.

Horizontal bar chart of nine iTerm2-over-Ghostty ratios from 3.0x to 6.6x for throughput, memory, startup and latency
Every quoted iTerm2-over-Ghostty ratio on one scale, each calculated from its source's own figures. The headline 3x sits inside the spread; cat at 1M lines, cold start, one idle-memory citation and keystroke latency run higher.

Before leaving iTerm2: triggers, coprocesses, the Python API and tmux -CC

AITerm’s page puts the trade bluntly: among what you give up in moving to Ghostty, it names triggers, coprocesses and the Python API, and it calls the plugin surface deliberately thin. On tmux control mode, Ghostty’s 1.4.0 release notes, in a security fix, describe “a tmux control mode layout with a zero-sized or oversized pane” and say the problem “affects Ghostty 1.3.0 and 1.3.1” (checked November 13, 2026). If tmux -CC is central to your work, run your own sessions in Ghostty before moving.

iTerm2’s Smart Selection documentation says a quad-click (four clicks of the left mouse button in quick succession) activates it at the mouse cursor’s position, and rule actions run on cmd-click or from the right-click context menu, not on a double-click. As of November 12, 2026, the page lists eight default recognized kinds of strings, including URIs, Objective-C selectors and email addresses.

iTerm2’s documentation also describes a global hotkey window (a keystroke iTerm2 listens for even when another application has keyboard focus), Instant Replay, annotations on scrollback lines, and timestamps: View > Show Timestamps shows the time each line was last modified. These are further things to check against your own habits before moving.

AI features are a separate switching question. iTerm2’s AI plugin page calls the plugin an optional component you install to enable generative AI features, and it provides what iTerm2 needs to make network requests. The release notes on the downloads page, checked November 13, 2026, show a built-in AI model list covering Anthropic, OpenAI and Google Gemini models, so OpenAI is not the only provider data can go to. If you handle sensitive shell history, leave the component uninstalled or check which provider you configure.

Ghostty’s counterweights are graphics and fonts. The 1.4.0 notes say its Kitty graphics implementation covers 100% of the published specification, making it the first terminal to do so outside Kitty itself. iTerm2 uses its own imgcat approach for inline images. On fonts, Ghostty’s features page says that fonts with ligatures will be rendered correctly and that specific font features can be enabled or disabled.

FactGhosttyiTerm2
LicenceMIT, per the project’s LICENSE fileGPL 2, per DevToolReviews
Price and accountFree, no paid tier, no sign-inFree, no paid tier, no sign-in
PlatformsmacOS (AppKit and SwiftUI) and Linux (GTK4), per the about pagemacOS only, per DevToolReviews
Embedding the terminal corelibghostty, under MIT, can go into closed-source productsGPL requires publishing derivative source

Adoption points the same way. As of November 12, 2026, Homebrew’s analytics for the ghostty cask show 29,669 installs over 30 days, 75,643 over 90 days and 387,581 over 365 days, against 46,292 over 90 days for iTerm2, a 1.63x lead. AITerm’s earlier snapshot of November 2, 2026 (76,903 against 48,300, or 1.59x) is superseded by those figures. Homebrew installs only are counted, so this is not a share of all installs.

Which jobs the throughput gap helps, and which are decided by something else

Log tails, builds and dev servers

These are the jobs the cat ratios describe: 3.4x at 100K lines and 4.3x at 1M, so the gap grows with output volume. On the M3 MacBook Pro that is 22.1 s against 5.1 s to print a million lines, and 1.7 s (2.4 s minus 0.7 s) at 100K lines. The measured job was cat, which shows how fast a terminal prints output, not how long a build or server takes, so expect the terminal to matter only where output volume is the delay. If the dev server itself is the slow part, the runtime matters more than the terminal, and Bun vs Node vs Deno compares runtime throughput.

Many tabs and long sessions

The 9.6 MB against 29.3 MB per added tab, and Ghostty 1.4.0’s release of GPU memory in hidden tabs, favour Ghostty as the tab count rises. At eight tabs the saving was 195 MB on that rig.

tmux, triggers and Smart Selection

Work built on triggers, coprocesses or the Python API is the case for keeping iTerm2 open: AITerm’s page lists all three among what you give up. For tmux -CC, Ghostty’s 1.4.0 notes name tmux control mode in a security fix that affects 1.3.0 and 1.3.1, so run your own sessions before deciding. For ordinary tmux, DevToolReviews’ separate Kitty comparison reports 1.2 ms of keyboard latency (a different test from the M3 key-to-screen figure of about 2 ms above) and calls Ghostty a good host. A hybrid works, with Ghostty as the default and iTerm2 opened for the sessions that need iTerm2-only features.

Inline graphics and Linux

Plots and images in the terminal are a Ghostty strength through its full Kitty graphics coverage, where iTerm2 relies on imgcat, so the deciding factor is which protocol your tools emit. A team that works on macOS and Linux can run Ghostty on both, while DevToolReviews lists iTerm2 as macOS only.

Moving over, then measuring on your own Mac

Install or update first

Anyone on Ghostty 1.3.x should update to 1.4.0 before anything else. The release notes list a paste-protection fix: paste protection did not treat carriage returns as line endings, so a paste could run a command without confirmation in programs that do not use bracketed paste.

brew install --cask ghostty
brew upgrade --cask ghostty

Config, themes and shell integration

Ghostty’s config documentation says, as checked on November 13, 2026: “The configuration file is named config.ghostty (or config before 1.2.3).” It is loaded from $XDG_CONFIG_HOME/ghostty/config.ghostty or, on macOS, ~/Library/Application Support/com.mitchellh.ghostty/config.ghostty. The same page, checked on November 12, 2026, says the configuration is reloaded at runtime with cmd+shift+, on macOS (ctrl+shift+, on Linux), not automatically on save, and that you can define your own key through the reload_config action. Create the macOS folder if it is missing:

mkdir -p "$HOME/Library/Application Support/com.mitchellh.ghostty"

Run ghostty +list-themes to browse themes, then put the name you pick in config.ghostty in that folder. Each other key is documented on the config page.

theme = NAME

These other keys can go in the same file, for font, window, cursor and mouse behaviour. Each takes a value you choose, and this article gives the key names only, so look each one up on the config page before using it.

font-family = NAME
font-size = SIZE
background-opacity = VALUE
background-blur-radius = VALUE
window-padding-x = VALUE
window-padding-y = VALUE
window-decoration = VALUE
cursor-style = VALUE
cursor-style-blink = VALUE
mouse-hide-while-typing = VALUE
copy-on-select = VALUE
keybind = TRIGGER=ACTION

Ghostty can automatically inject shell integration for bash, elvish, fish, nushell and zsh, so the iTerm2 shell-integration line in your shell startup file is not needed.

Measure on your own Mac

The script below, run inside each terminal, writes a million-line file to a temporary directory, times cat of it, and reads the terminal’s resident memory in kilobytes before and after with ps. It reads resident memory because Ghostty’s notes say compression lowers resident, not virtual, memory. Pass the process name, ghostty or iTerm2, as the first argument. The temporary file is removed on exit.

#!/bin/bash
set -e
proc="${1:?process name of the terminal app, e.g. ghostty or iTerm2}"
lines="${2:-1000000}"
tmp="$(mktemp)"
trap 'rm -f "$tmp"' EXIT

pid="$(pgrep -ix "$proc" | head -n 1)"
[ -n "$pid" ] || { echo "no running process named $proc" >&2; exit 1; }

rss_kb() { ps -o rss= -p "$pid"; }

seq "$lines" | sed 's/^/line /; s/$/ the quick brown fox jumps over the lazy dog/' > "$tmp"

echo "resident before: $(rss_kb) KB"
TIMEFORMAT="cat of $lines lines took %R s"
time cat "$tmp"
echo "resident after: $(rss_kb) KB"

Use the same window size, font and shell in both terminals, run it several times in each and compare the medians. Write down the Ghostty and iTerm2 versions, and whether iTerm2’s Maximize throughput, GPU renderer and background scrollback compression are on.

Before the first session in Ghostty, export iTerm2’s preferences so the way back costs nothing:

set -e
backup="$HOME/iterm2-settings-backup.plist"
defaults export com.googlecode.iterm2 "$backup"
echo "saved $backup"

iTerm2 can also keep its settings in a folder you choose. As of November 12, 2026, its General settings documentation calls the option “Load settings from a custom folder”, and with “Save changes to folder when iTerm2 quits” on, any changes you make to your settings are written to that custom folder.

The routine, then: update or install Ghostty 1.4.0, run the script in both terminals on your own machine, and keep iTerm2 installed with its settings exported while you compare. If tmux -CC or a trigger is what you reach for in that period, keep iTerm2 for those sessions and compare your own timings for the rest.

Sofia Lindström

Sofia Lindström

Security and privacy

Sofia Lindström writes about security and privacy for Tech Insider: software vulnerabilities and the updates that fix them, data breaches, privacy rules and how products handle personal data. She works from vendor advisories, official vulnerability catalogues and the documents behind each story.

View all articles