<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/tests/proc, branch bench/startup-rounds</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-rounds</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=bench%2Fstartup-rounds'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-19T23:37:25Z</updated>
<entry>
<title>exec: run a subshell in process when its body cannot change anything</title>
<updated>2026-11-19T23:37:25Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-19T23:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=f5f5683fc23876e66bdf31ba72ce6df3d430fc1b'/>
<id>urn:sha1:f5f5683fc23876e66bdf31ba72ce6df3d430fc1b</id>
<content type='text'>
A `fork()` copies the address space on z/OS, where a `spawn()` can share
it.  The subshell row measured 4.7 ms a turn there against 0.3 ms for an
external command, and ksh88 does not fork for `( : )` at all.

The pipeline stage check already answered the safety question with
is_pure(), so a subshell whose body is one output-only builtin with no
redirections and no assignments reuses the answer and runs in the shell.
Expansion of the arguments is wrapped in the same capture scope a
pipeline stage uses, so ${x=1} no longer escapes.

Co-authored-by: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</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>
