v0.0.40: multi-round speedups, perf-map labels & SoftN containers

v0.0.40 merges PR #110 from @codeandsolder for Linux JIT perf-map function names and ships multi-round speedups across real-world JS/Python apps (1.55x-2.88x), official JS (0.58x Node) and Python (0.62x CPython) suites, regex, safe-sandbox WASM, and PHP/Rust, alongside live FormLogic x SoftN browser containers.

v0.0.40 (0cd3eab8) is a multi-round performance release spanning every part of the engine — and starts by thanking @codeandsolder for PR #110, which appends sanitized JavaScript function names (fn4264_querySelectorAll_whole-fn) to Linux ZIPP_PERF_MAP=1 JIT ranges while keeping zero overhead when perf-map profiling is off. Clearer profiles on DOM-heavy code directly guided the hot paths targeted in this release.

Measured wins (non-PGO fat-LTO v0.0.40 vs PGO v0.0.39, Node 24 & CPython 3.13)

Why apps still trail V8 & CPython on warm loops — and what moved them

On Python apps, the biggest wins came from raising PyAttrs DEPTH_MAX from 64 to 128 (so html2text.HTML2Text with 84 instance fields stopped spilling to PyTable), routing hot allocations through OnceLock<StaticKeyPlan> pools, caching STR_HAS_SURROGATE in JsStr::memo_state, adding native str/tuple subclass hooks for NavigableString and soupsieve NamedTuples, and fusing PyTruth with an inline x86-64 fast path. On JS apps, preventing enclosing MEM OSR regions from shadowing inner INT/DOUBLE loops, widening class_member_cache, adding megamorphic class getter/setter dispatch, eliminating array_snapshot clones, and enabling Set/Map/String JIT iterators cut steady-state overhead without touching conformance. Even so, warm megamorphic DOM loops still trail V8 TurboFan's speculative cross-callee inlining and CPython's C regex/HTML modules, and we publish both the v0.0.39->v0.0.40 speedups and the honest warm/wall ratios against Node and CPython on the benchmarks page.

SoftN + FormLogic browser containers and a five-language playground

Alongside v0.0.40, zipp.org now embeds live FormLogic marketplace apps running inside SoftN (@softn/container) browser sandboxes on ZIPP v0.0.40 WASM: a closed Shadow DOM + VDOM Worker for the frontend, a PHP 8.x ZIPP Worker for the backend, and an app-scoped XDB SQLite 3 database bridged through addAppBridge("sql", ...). Launch Kiln & Wheel Pottery Studio or BrewDesk Café Ops in the container demo, or try ten new Python 3.13, PHP 8.x, and Rust examples directly in the browser playground. Full release notes: docs/releases/0.0.40.md.