fcoreutils 0.22.0

High-performance GNU coreutils replacement with SIMD and parallelism
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# tty — Makefile (uses shared infrastructure)
TARGET     = ftty
LIB_SRCS   = io.asm args.asm str.asm
UNIFIED_SRC = ftty_unified.asm

include ../../Makefile.inc

bench: dev
	@echo "=== Benchmark vs GNU ==="
	@echo "--- GNU tty ---"
	@hyperfine --warmup 3 'tty' 2>/dev/null || \
		bash -c 'time (for i in $$(seq 1000); do tty > /dev/null 2>&1; done)'
	@echo "--- asm ftty ---"
	@hyperfine --warmup 3 './ftty' 2>/dev/null || \
		bash -c 'time (for i in $$(seq 1000); do ./ftty > /dev/null 2>&1; done)'