<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/bench/run.sh, branch bench/startup</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=bench%2Fstartup</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=bench%2Fstartup'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-24T22:38:16Z</updated>
<entry>
<title>bench: take a shell path that is relative to where run.sh was called</title>
<updated>2026-11-24T22:38:16Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-24T22:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=2e0730af8fba0c0d8bdb78a9c455c89295a8500f'/>
<id>urn:sha1:2e0730af8fba0c0d8bdb78a9c455c89295a8500f</id>
<content type='text'>
The harness chdirs to a work directory, so `./zash`, the form the usage
line shows, resolved to nothing.
</content>
</entry>
<entry>
<title>bench: measure start-up wall time against the other shells</title>
<updated>2026-11-24T22:33:33Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-24T22:30:56Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=a36e053993ce116fba0c375b1b6ac44e1d118e51'/>
<id>urn:sha1:a36e053993ce116fba0c375b1b6ac44e1d118e51</id>
<content type='text'>
run.sh times CPU, so the milliseconds a process spends before it runs
anything never appear in it: zash can read 0.00 in a subshell row while
zash -c : costs a few ms of wall time.  bench/startup.sh measures that
directly, one start per command, and bench/README.md now has a table
instead of a warning that the number is missing.

The clock is tests/tools/now.c, ten lines, because /bin/date on z/OS
has no sub-second format.
</content>
</entry>
<entry>
<title>bench: keep a label with a space in one column</title>
<updated>2026-11-23T21:02:36Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-23T21:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=11616c9fd6b7942cd28a100d505a3b60610027e0'/>
<id>urn:sha1:11616c9fd6b7942cd28a100d505a3b60610027e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bench: label the z/OS baseline column "z/OS sh"</title>
<updated>2026-11-23T21:02:00Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-23T21:02:00Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=a017952cd3f65ec9281a160b6776d81ecbac551a'/>
<id>urn:sha1:a017952cd3f65ec9281a160b6776d81ecbac551a</id>
<content type='text'>
</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>bench: read every shell's times output, and feed scripts on stdin</title>
<updated>2026-11-18T17:22:18Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T17:22:18Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=898c1cd8c14f726752550b6e287af4d7fb7b7290'/>
<id>urn:sha1:898c1cd8c14f726752550b6e287af4d7fb7b7290</id>
<content type='text'>
z/OS `times` differs per shell (ksh88 `0m 1.16s`, bash `0m1.160s`,
oksh `0m01.16s`), and the old parser assumed bash's shape, multiplying
ksh88's seconds by 60.  z/OS zsh cannot open an ASCII-tagged script by
name, so benchmarks go in on stdin.  The probe list also looks for zsh
and oksh now.
</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>
<entry>
<title>zash: scripting core, test suite and benchmarks</title>
<updated>2026-11-12T17:42:49Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-12T17:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=c3b270f82dd62a56e9d75cdd652c55a694a2da64'/>
<id>urn:sha1:c3b270f82dd62a56e9d75cdd652c55a694a2da64</id>
<content type='text'>
A clean-slate POSIX shell for z/OS UNIX in the Almquist tradition, written
in C23 for Clang (Linux) and IBM Open XL C/C++ (z/OS).

- Parser, expansion, arithmetic, redirection, traps and builtins.
- Spawn-first execution: fd plans instead of fork+dup2, in-shell pure
  builtins for pipelines and command substitution, $(a | b) without a
  subshell.
- Flat .POSIX Makefile; asan, valgrind, bench, compdb and z/OS targets.
- Tests: posix (dash-generated), zash, process accounting, linux, zos.

Nothing has been compiled or run on z/OS yet.
</content>
</entry>
</feed>
