<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/bench/arithcmd.sh, branch docs/startup-probe</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=docs%2Fstartup-probe</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=docs%2Fstartup-probe'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-19T00:45:58Z</updated>
<entry>
<title>bench: keep the arithmetic totals inside 32 bits</title>
<updated>2026-11-19T00:45:58Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-19T00:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=d1cec2ff9aa9f8aaf4ad32f28f4f64e18637417e'/>
<id>urn:sha1:d1cec2ff9aa9f8aaf4ad32f28f4f64e18637417e</id>
<content type='text'>
ksh88 works in 32-bit integers, so summing i*2 over 200000 iterations
overflowed and the benchmark reported "differs" instead of a time: the
same script, two answers.  Summing (i % 100) * 2 does the same work and
fits in 31 bits.
</content>
</entry>
<entry>
<title>bench: name the columns, and run the ksh features against ksh88</title>
<updated>2026-11-19T00:31:46Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-19T00:31:46Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=f32599e10de546a11ed90ee7f50a0dbef8f6df84'/>
<id>urn:sha1:f32599e10de546a11ed90ee7f50a0dbef8f6df84</id>
<content type='text'>
The column for z/OS /bin/sh said sh, which hid that it is IBM's ksh88
port, and two benchmarks skipped it for the wrong reason: dbracket probed
[[ ]] with eval, which ksh88 rejects even though [[ ]] works, and
arithcmd used (( )) as a command, which is ksh93 and not ksh88.

run.sh now takes shell=label arguments and labels /bin/sh as ksh88 on
z/OS, and BENCH selects a subset.  dbracket probes the form it uses.
arithcmd keeps to typeset -i, let and $(( )), so ksh88 runs it, and the
(( )) command form moved to dparen.sh.
</content>
</entry>
<entry>
<title>Tests and benchmarks for the extensions and the interactive layer</title>
<updated>2026-11-13T02:24:40Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-13T02:24:40Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=7ba635888bfcc75e6c424c9614b42d585c22171e'/>
<id>urn:sha1:7ba635888bfcc75e6c424c9614b42d585c22171e</id>
<content type='text'>
New zash/ tests for each extension, a proc/ test showing they create no
processes, and linux/i-*.sh tests that drive the interactive shell on a
pseudo-terminal (tests/tools/ptydrive.py; skipped without python3).
The runner counts exit status 77 as "skipped".  Adds a benchmark for
the arithmetic commands and removes a stray file from tests/posix.
</content>
</entry>
</feed>
