Elemental SystemsSilicon · Boards · Software

Size and speed compared with GNU coreutils

How the Trinix core utilities 0.4.0 compare with the standard GNU coreutils 9.4 on the same machine.

Size

2.0× smaller

Together the 108 utilities take 2.94 MB, against 5.82 MB for the same commands in GNU coreutils 9.4: a saving of 2.88 MB. Both sets are release builds without debug information.

Only mv is still larger than GNU; work on it continues.

2.0× smaller
UtilityOurs (KB)GNU (KB)Smaller
ls28.6142.35.0×
cat9.339.44.2×
wc13.255.84.2×
dirname8.935.24.0×
printenv8.935.24.0×
arch9.035.33.9×
whoami9.035.33.9×
hostid9.035.33.9×
basename9.035.33.9×
pwd9.035.33.9×
tty9.035.33.9×
echo9.135.23.9×
uname9.335.33.8×
dir38.0142.33.7×
vdir38.0142.33.7×
od22.072.23.3×
chcon18.759.93.2×
who18.859.93.2×
head14.343.53.0×
true8.926.93.0×
false9.026.93.0×
[18.755.73.0×
uptime18.755.63.0×
tee13.739.42.9×
comm13.739.42.9×
join18.051.82.9×
paste13.739.32.9×
factor22.964.02.8×
stdbuf18.751.72.8×
id14.539.42.7×
pinky14.639.32.7×
basenc17.847.62.7×
tsort17.947.62.7×
link13.635.32.6×
unlink13.635.32.6×
test18.347.62.6×
logname13.635.32.6×
stty31.080.42.6×
sleep13.635.32.6×
nproc13.735.32.6×
expand13.735.42.6×
fold13.735.32.6×
yes13.635.22.6×
sync13.735.22.6×
ptx22.255.82.5×
date43.4109.12.5×
runcon14.535.32.4×
nice14.535.32.4×
groups14.635.32.4×
users14.635.32.4×
pr30.672.32.4×
kill18.643.82.3×
realpath18.643.42.3×
hostname18.743.32.3×
seq22.851.72.3×
base3217.839.42.2×
base6417.839.42.2×
unexpand17.839.52.2×
cut17.839.42.2×
fmt17.839.42.2×
nl18.039.52.2×
uniq18.039.42.2×
tac18.039.32.2×
shuf22.147.62.2×
tr22.447.62.1×
env22.848.12.1×
chroot18.839.42.1×
sort51.2105.32.1×
stat43.788.62.0×
rm30.259.92.0×
csplit26.251.72.0×
sum17.935.22.0×
numfmt31.159.91.9×
expr22.943.41.9×
pathchk18.635.31.9×
touch51.296.81.9×
mktemp18.735.31.9×
nohup18.735.21.9×
printf31.055.71.8×
dircolors26.547.61.8×
mkdir43.076.31.8×
timeout22.939.91.7×
cksum63.1105.01.7×
tail38.864.01.6×
shred34.355.81.6×
du63.5100.91.6×
rmdir30.747.51.5×
chgrp38.959.91.5×
df59.489.21.5×
truncate26.639.41.5×
split38.756.31.5×
b2sum38.555.81.4×
chmod38.955.81.4×
chown43.059.91.4×
md5sum30.339.31.3×
sha1sum30.339.31.3×
sha224sum30.339.31.3×
sha256sum30.339.31.3×
sha384sum30.339.31.3×
sha512sum30.339.31.3×
readlink34.843.41.2×
dd59.772.21.2×
ln48.955.81.1×
cp124.9141.81.1×
mkfifo38.943.51.1×
install133.1145.91.1×
mknod43.043.51.0×
mv155.0137.80.9×
Total (108)2,935.05,816.42.0×
Speed

Typically 1.2× as fast

Across the 46 utilities timed doing real work, ours run typically 1.2× as fast as GNU (geometric mean). 22 are faster, 13 are about the same (within ±5% of GNU) and in 11 GNU is still faster; work on those continues.

Each figure is GNU's time divided by ours, so 2× means twice as fast and 0.5× means GNU is twice as fast. "Typical" is the geometric mean over the workloads measured for that utility; "best" and "worst" are single workloads. For wc the best case, 76×, is its default count of lines, words and bytes.

Typically 1.2× as fast
UtilityTypicalBestWorstWorkloadsResult
wc11×76×1.5×2faster
od5.0×6.3×4.1×3faster
expand2.8×3.4×2.4×2faster
paste2.2×2.6×2.0×3faster
sum2.0×2.3×1.6×3faster
base642.0×3.5×1.5×3faster
tee1.9×1.9×1.9×2faster
cut1.9×2.5×1.4×3faster
base321.9×2.7×1.4×3faster
uniq1.6×2.4×1.3×3faster
fold1.3×1.4×1.2×3faster
tsort1.3×1.3×1.3×1faster
tr1.2×1.4×1.1×3faster
tac1.2×1.2×1.2×2faster
unexpand1.2×1.3×1.1×2faster
basenc1.1×1.8×0.6×3faster
sync1.1×1.3×1.0×2faster
pr1.1×1.1×1.1×3faster
sha384sum1.1×1.1×1.0×3faster
cp1.1×1.1×1.0×3faster
cksum1.1×1.2×0.8×3faster
nl1.1×1.1×1.0×3faster
stat1.0×1.0×1.0×1about the same
b2sum1.0×1.2×0.9×3about the same
split1.0×1.1×1.0×2about the same
shred1.0×1.1×1.0×3about the same
mv1.0×1.1×0.9×2about the same
install1.0×1.1×0.9×3about the same
md5sum1.0×1.0×1.0×3about the same
sha1sum1.0×1.0×1.0×3about the same
sha256sum1.0×1.0×1.0×3about the same
sha512sum1.0×1.0×1.0×3about the same
sha224sum1.0×1.1×0.9×3about the same
ln1.0×1.0×1.0×3about the same
fmt1.0×1.0×0.9×3about the same
mkdir0.9×1.0×0.8×3GNU faster
join0.9×1.0×0.8×3GNU faster
cat0.9×1.1×0.6×3GNU faster
rm0.9×1.0×0.7×3GNU faster
dd0.9×1.0×0.7×3GNU faster
csplit0.9×0.9×0.7×3GNU faster
sort0.8×1.1×0.6×3GNU faster
chown0.8×0.8×0.8×1GNU faster
comm0.7×0.8×0.7×3GNU faster
vdir0.7×0.7×0.7×3GNU faster
dir0.6×0.6×0.6×1GNU faster

These timings were made on 1 December 2026 on the 0.4.0 release itself, the same files you download.

The other 62 utilities: mostly start-up time

These were only timed on small jobs, where almost all the time is the program starting. Their figures say more about start-up than about the work itself, so they are left out of the typical figure above.

Typically 1.2× as fast
UtilityTypicalWorkloads
true1.9×1
uname1.9×3
whoami1.9×1
echo1.9×3
dirname1.9×3
printenv1.9×3
arch1.9×1
false1.9×1
basename1.9×3
pwd1.8×2
tty1.8×2
hostid1.8×1
head1.8×3
yes1.4×2
truncate1.4×3
mknod1.2×2
sleep1.1×2
pathchk1.1×3
link1.1×1
logname1.1×1
du1.0×3
stty1.0×3
who1.0×3
[1.0×3
mktemp1.0×3
realpath1.0×3
pinky1.0×2
hostname1.0×2
nice1.0×3
timeout1.0×3
printf1.0×3
test1.0×3
df1.0×3
expr1.0×3
kill1.0×3
id1.0×3
chcon1.0×2
seq1.0×3
dircolors1.0×3
groups1.0×2
users1.0×2
uptime1.0×1
env1.0×3
nohup1.0×2
stdbuf1.0×3
readlink1.0×3
rmdir1.0×3
unlink1.0×1
runcon1.0×1
tail1.0×3
nproc1.0×3
touch0.9×3
shuf0.9×3
chroot0.9×1
ls0.9×3
ptx0.9×3
numfmt0.9×3
mkfifo0.9×2
chmod0.8×3
date0.8×3
chgrp0.8×3
factor0.7×3
Test machine

Where and how it was measured

  • Intel Core i3-9100F, 4 cores at 3.60 GHz
  • Ubuntu Linux on Windows (WSL2), Linux kernel 6.6, x86-64
  • Compared with GNU coreutils 9.4, the version installed on that system
  • C locale, one CPU core, files already in memory, output discarded
  • Median of 6 runs per workload, alternating with GNU; start-up time included
  • Measured on 1 December 2026, on the 0.4.0 release

Results on other processors and real disks will differ. Speed figures do not mean every option of GNU is supported; see the compatibility notes on the main page.