Koi vs. Sublime Text

This comparison examines both editors across five categories: performance, workflow, customization, AI, and ownership.

koi-vs-sublime.webp

At a glance:

Performance

Typing latency

Lower latency means the editor responds more quickly to each keypress. All measurements in milliseconds.

Dual pane displays the same document simultaneously in two editor panes while typing in one pane.

sqlite3.c (151,639 lines)

Editor Median p95 p99 Max Tail Spread vs Fastest (p95)
Koi 14.2 16.3 17.0 17.1 2.0 1.01x
Sublime Text 18.1 30.0 31.5 32.1 11.9 1.86x

Dual pane:

Editor Median p95 p99 Max Tail Spread vs Fastest (p95)
Koi 14.0 16.0 17.4 17.4 1.9 1.00x
Sublime Text 22.9 29.8 32.8 33.5 6.9 1.87x

gcc.c (753,821 lines)

Editor Median p95 p99 Max Tail Spread vs Fastest (p95)
Koi 14.5 16.6 17.3 17.7 2.2 1.00x
Sublime Text 20.2 30.4 31.6 31.6 10.2 1.82x

Dual pane:

Editor Median p95 p99 Max Tail Spread vs Fastest (p95)
Koi 14.6 16.4 17.5 17.7 1.8 1.00x
Sublime Text 23.7 32.2 35.7 36.1 8.5 1.96x

Large file handling

Large file performance measures whether an editor can open and navigate very large files while remaining responsive.

An editor passes when it opens and becomes responsive with syntax highlighting working throughout the document within 30 seconds.

Editor 1M lines 5M lines 10M lines 20M lines
Koi
Sublime Text - -

Large file memory usage

Editor 1M lines 5M lines 10M lines 20M lines
Koi 207.6 MB 698.3 MB 1.10 GB 2.32 GB
Sublime Text 259.6 MB 1.10 GB - -

Memory is measured after opening, navigating, and editing the file and allowing the editor to settle.

Large file typing latency

P95 latency for each file size that remained usable in the large-file benchmark.

Editor 1M lines 5M lines 10M lines 20M lines
Koi 19.3 ms 20.5 ms 31.0 ms 37.3 ms
Sublime Text 31.6 ms 31.8 ms - -

Test environment

Component Value
Hardware Mac mini M2 Pro, 16 GB RAM
Operating System macOS 15.7.5
Display 60 Hz
Koi 0.1.0-b207
Sublime Text 4200

Typing latency is measured using Keypress.sh, which records the time between a simulated keypress and the updated frame appearing on screen. Graphical applications are launched directly from their bundled Mach-O executables.

See Benchmarks for the complete methodology, configurations, raw measurements, and results for other editors.

Workflow

Koi and Sublime Text share several workflow concepts, including multiple windows, multiple panes, and tab multi-select.

Feature Koi Sublime Text
Multiple windows Yes Yes
Multiple panes Yes Yes
Tab multi-select Yes Yes
Automatic layout from selected tabs Yes Yes
Flexible pane layout Limited Yes
Open same document in multiple panes Yes Yes
Shared document across multiple windows Yes No
Drag tabs between windows Yes Yes
Tear off tabs into new windows Yes Yes
Keyboard-first navigation Yes Yes
Cross-platform No Yes

Both editors support selecting multiple tabs and automatically displaying them side by side.

Customization

Editor configuration

Both editors are designed around editable configuration files.

Capability Koi Sublime Text
Plain-text configuration Yes Yes
Keyboard shortcuts Yes Yes
Custom themes Yes Yes
Syntax-specific settings Yes Yes
Custom commands Yes Yes
Settings reload without restart Yes Yes

Automation and plugins

Both Koi and Sublime Text use Python for editor automation.

Capability Koi Sublime Text
Python API Yes Yes
Custom editor commands Yes Yes
Edit and reload directly Yes Yes
Install step required for personal scripts No No
Package manager No Yes

Koi scripts can directly access the editor API and add commands from a user scripts file.

For example:

  1. Write command, def sort_imports(): ...
  2. Save
  3. Run

Sublime Text also exposes an extensive Python API for commands, views, windows, selections, completions, events, and other editor functionality.

Sublime has the more mature extension ecosystem. Package Control provides thousands of packages covering languages, LSP support, linting, themes, terminals, Git integrations, snippets, and other functionality.

AI

Koi includes local AI functionality directly in the editor.

Capability Koi Sublime Text
Built-in AI code completion Yes No
Built-in inline AI command Yes No
Local model support Yes Via packages
Ollama support Yes Via packages

Ownership

Both Koi and Sublime Text can be purchased without a recurring subscription.

Capability Koi Sublime Text
One-time purchase Yes Yes
Free use Non-commercial Evaluation
Account required for editing No No
Subscription required No No
License stops working No No
Future updates included Partial 3 years
Source available No No

Summary

Choose Koi if you value:

Choose Sublime Text if you value:

Related: