Skip to content

Commit a184e34

Browse files
committed
Add performance benchmark suite comparing ghostel, vterm, and eat
Benchmarks terminal emulator performance across four tiers: - PTY benchmark: real process pipe with filter + timer redraw loop - Streaming: chunked writes with periodic redraws - TUI frames: full-screen rewrite fps - Engine micro-benchmarks: isolated parse/render cost Includes ghostel variants for incremental/full redraw and with/without URL/file detection, plus a URL-heavy data generator to measure detection overhead. Run via `make bench` or `make bench-quick`.
1 parent 1f299df commit a184e34

3 files changed

Lines changed: 918 additions & 1 deletion

File tree

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ EMACS ?= emacs
33
XDG_CACHE_HOME ?= $(HOME)/.cache
44
MELPAZOID_DIR ?= $(XDG_CACHE_HOME)/melpazoid
55

6-
.PHONY: all build check test lint melpazoid byte-compile clean
6+
.PHONY: all build check test lint melpazoid byte-compile bench bench-quick clean
77

88
all: build test lint
99

@@ -29,6 +29,12 @@ melpazoid:
2929
byte-compile:
3030
$(EMACS) --batch -Q -L . -f batch-byte-compile ghostel.el ghostel-debug.el
3131

32+
bench:
33+
bash bench/run-bench.sh
34+
35+
bench-quick:
36+
bash bench/run-bench.sh --quick
37+
3238
clean:
3339
rm -f ghostel-module.dylib ghostel-module.so
3440
rm -f ghostel.elc ghostel-debug.elc

0 commit comments

Comments
 (0)