Skip to content

Integrate persistent typed execution into the canonical runtime - #247

Draft
VEZY wants to merge 324 commits into
mainfrom
codex/pse-fast-canonical-runtime
Draft

VEZY wants to merge 324 commits into
mainfrom
codex/pse-fast-canonical-runtime

Conversation

@VEZY

@VEZY VEZY commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

CompositeModel prepares the execution plan once. run!, step! and authored JuliaC applications use that plan. Each simulation owns its weather, histories, output requests and execution contexts. When an organ appears, the engine updates the affected calls and dependencies while preserving the cells and histories of existing organs.

Local tests on f0bde5479. Julia 1.12.1 passed all 26,352 assertions across 143 files, including Aqua and doctests. The 119 focused environment and clock tests also passed on Julia 1.10.12. Clock lookup

Stock JuliaC safe matched run! on XPalm over 4,160 days, including 79,040 daily values, 37,122 state fields and 76,804 ordered history samples.

On aef02a440, captured outputs carry the name, horizon, stream, value and time. Immediate and deferred publication share one function. All 363 focused checks passed, including the allocation guards. The stock JuliaC safe 48-output case passed both invocations.

MAESPA local qualification. The factorized plan matched frozen main at 24 and 12+12 steps, including 24,792 ordered history samples. The real frozen canopy binding reproduced the full safe verifier refusal in an isolated witness. The shared typed binding selector and the backend diagnostic fix then passed stock JuliaC safe: one binary committed two exact states. The 50 ordinary authorization checks also passed. The full safe trajectory check with those same local changes is running.

On ff49aad7d, distributed output validation keeps the known ID and named-column types. The focused combination passed 124 ordinary checks with 31 exact diagnostics. One stock JuliaC safe executable passed both the permuted assignment and duplicate-ID rejection. Output validation

On 48b771cd0, commits reuse the typed backend-and-handle lookup. The focused controller probe removed six verifier refusals, and 1,478 original assertions plus six exact diagnostics passed. Typed environment commits

On 2dbaf6538, call snapshots keep the typed owner and mutation generation. The controller kept all 20 scientific checks and lost six verifier refusals. On the exact tree, 343 optimized checks (including allocation guards) and 208 functional checks passed. Call validation

On 3fed540f5, packed boolean outputs use a typed private copy. Stock safe reproduced four refusals from the MAESPA radiation flags. The corrected executable ran twice and passed 14 checks of snapshots and retained shared references. Boolean array copy

That revision also passed 585 focused assertions on Julia 1.10.12 covering prepared bindings, output boundaries, committed and transient environment sampling, and independent array histories.

On a6b785577, output publication now takes each output directly from its typed position. The previous recursive tuple traversal was rejected by stock JuliaC safe for a model with 48 scalar and matrix outputs. The small executable now runs twice and preserves the stored matrices after the source changes. All 18 native checks and 104 ordinary checks on Julia 1.10.12 passed. Output publication

Sampling a PlantMeteo time-step row now checks its declared column names without losing their type. Committed and transient GlobalConstant reads use the same check. The targeted stock safe executable passed 17 checks, including two runs with different variables and time steps. Environment sampling

On 8fa240491, retained history samples use the same private value copy as temporal inputs. This gives bitstype arrays concrete copies and preserves deep copying for nested mutable values. A real JuliaC safe verifier rejected publication of a numeric matrix on the previous revision. On this revision the same program built and ran twice, with 18 ordinary and native checks covering mutation isolation, nested aliases and explicitly borrowed values. History copy fix

On d0d6a94bf, when reusing an execution target, PSE now checks changed manual-call targets through their concrete metadata slots. This preserves the first-changed-binding check and the existing context freshness rules. The previous safe verifier reported an unresolved call in the generic tuple search used by MAESPA longwave forcing. All 376 focused assertions passed locally on Julia 1.13.3. The complete MAESPA safe build is pending. Typed manual-call check

On 9f1dd76e2, PSE now looks up the current shared source after growth before publishing a new consumer. If growth replaced the storage, the consumer keeps its plan and receives the new carrier and leaf cells. If the cache entry disappeared, PSE uses the binding it had already validated. Both cases preserve reference identity and publication order. The focused suites passed 1,518 assertions locally. Publication fix and regression

The shared-input fixes removed all 12 preparation refusals for 18 real palm slots with two cache types, then addressed publication after growth for the complete palm.

On 9f1dd76e2, ordinary PSE and a stock JuliaC 0.3.12 safe executable reached the same scientific result after 4,160 days of observed XPalm weather. The 19 output columns matched byte for byte. Independent checks agreed on 138 checkpoints, 1,307 objects, 37,122 final status fields, 3,059 ordered histories, 76,804 samples, topology and both random generators. The paired Mac performance measurements remain pending.

On 844f259b3, copying a prepared object’s status now visits the occupied fields in preparation order. On the real MAESPA canopy, the compiler specializes this traversal for 15 reference types across 859 possible field names. The ordinary snapshot reproduced all 2,068 values from 27 objects and preserved field order. On the same saved 27 statuses, the first call, including JIT compilation, took 3,461 s of user CPU before this change and 3.18 s after it. One warmed copy took 326 ms and allocated 155.1 MB before the change, and took 1.08 ms and allocated 0.573 MB after it. These timings cover copying the canopy state only. A dedicated stock JuliaC 0.3.12 safe executable reproduced the 2,068 initial values twice. The full native canopy and palm are still being qualified. Implementation and regression test · Linux safe job · Matched 4,160-day runs

On MAESPA, a separately prepared initial state on 54d2302c1 reproduced ordinary main’s 24 half-hour steps with standard Julia optimization, both in a continuous run and after a 12+12 restart. All 24,792 history samples, final state values, ordered work, topology and both RNG streams matched. An isolated safe executable also reproduced all 240 leaf-temperature results from 48 crown inputs. Minimal compilation gave slightly different rounding in the thermal calculation. The full-canopy comparison keeps exact equality. On Linux, moving training outside the ahead-of-time compiler let verification start without a memory kill. Pinning Libiconv_jll to 1.18.0 removed four dependency diagnostics. The run on PSE 54d2302c1 then recorded two unresolved calls in object enumeration from the observation writer, before the diagnostic log reached its size limit. The final engine is being checked separately on the full canopy. Linux verifier log

On d2c250d59, nested calls choose the registered application by ID and compile for the application types admitted by that call. Two template instances with the same model types kept their own branches, leaf states and parameter values. All 479 prepared-call checks passed. A stock JuliaC 0.3.12 safe executable made three successful runs with different response parameters across three call levels. Implementation and regression · Linux safe CI

On 141c054da, The MTG status initializer can declare fields supplied by future organs. Its declaration is evaluated at construction. A compatible source cell keeps its identity, including cells created before their reader exists. Binding a new reader validates its selected sources before the reader runs. The combined change passed all 929 checks on each of Julia 1.10.12 and 1.13.3. The focused declaration tests and the documentation example passed 53 checks on each of Julia 1.10.12 and 1.13.3. A separate stock JuliaC 0.3.12 safe executable ran twice and passed all six growth checks. Implementation, tests and documentation · Linux safe CI, 1 min 55 s total, 1 min 21 s to build and verify · 4,160-day comparison on 141c054da

On 98f60b1f0, growth now checks the identity of shared input storage after admitting the binding once. JuliaC’s stock verifier passed the maintenance-respiration input and the growth-index entry point with the 86 input types observed on XPalm. All 1,461 functional checks passed, including growth, shared source cells and rejection of incompatible bindings. A separate preparation change resolves each application’s target IDs before specializing its input recipe. Its regression suite passed 873 checks each on Julia 1.10.12 and 1.13.3. In an isolated first call on the real MAESPA canopy, preparing its 772 input bindings took 606 s of user CPU before target-ID resolution was moved and 459 s after. The recorded bindings matched byte for byte across the 100 applications and 27 objects. The complete native palm and canopy are still being qualified. Shared input storage · Application targets · Linux safe job, 1 min 43 s including 1 min 12 s for build and verification

On ac7a80df9, preparation now checks that a selected status cell satisfies the reader’s required type. Six test files passed all 734 assertions on each of Julia 1.10.12 and 1.13.3. A separate constructor change fixes the Aqua failure in the previous macOS run. Aqua and the growth tests passed 829 assertions locally on Julia 1.10.12. The Linux safe job passed in 1 min 36 s, including 1 min 05 s for build and verification. A separate macOS JuliaC safe executable passed 10 regression checks, matching the previous output and all retained histories after a leaf is removed. Reader validation · Constructor fix · Linux safe build

The exact 6d94f012 documentation build passed 54 assertions locally and validated all 59 pages and their exported states.

User-facing changes

  • Supply all model specifications to CompositeModel. The advanced compile and refresh overloads that accepted replacement specifications have been removed.
  • Preparation fixes the order of status fields and their admitted cell types per model configuration. A caller-supplied Status shares its cells with the registered status. Use model_status(model, id) when passing the container to object_id. Values, vector lengths and the number of organs can change during a simulation.
  • An MTG initializer may extend PlantSimEngine.birth_status_types(initializer, objects) to declare the types of fields that first appear during growth. For example, a future flower can receive initial_status=(sex=:female,).
  • Declare values needed by a future organ. For example, XPalm’s reproductive initializers declare sex. MTG creation takes explicit initial_status. PlantGeom geometry updates take the source node. XPalm #141
  • LifecycleObjectSnapshot retains its public fields and the shared geometry. Code using the former geometry type parameter needs updating.
  • Compilation.prepare covers its documented single-object subset. Authors can build a multi-object application project with Compilation.compile(app_project; destination=...).

Qualification

Model or test Verified result Remaining check
PSE JuliaC safe and native growth The public Linux job built and verified the executable on 54d2302c1 in 1 min 23 s. Separately, one stock JuliaC 0.3.12 binary passed all 10 small-palm and MTG checks, including identical histories after organ removal with zero and 100 neighbours. On Julia 1.10.12 and 1.13.3, 495 checks each passed. Linux JuliaC safe · Structural fix and tests The extended Linux growth suite passed on this revision. Extended native growth
XPalm, 4,160 days The stock JuliaC 0.3.12 safe executable for 9f1dd76e2 ran at 0, 1 and 4,160 days, then replayed 4,160 days with the independent audit. All 79,040 CSV cells match ordinary PSE. Its full audit matches a fresh run! on the same engine and the independent scientific references. Executable SHA-256 starts with a85cfe5e8f93, CSV with 129da8037021 and audit with f6226f8601ba. The compiler produced the executable in about 1 h 47 min on the shared Mac, with zero diagnostics. Matched runtime measurements will use an isolated window.
AMAPSim On PSE 9f1dd76e2, one JuliaC 0.3.12 safe executable ran all five scenarios. The 77 checkpoints matched ordinary PSE and the historical reference byte for byte (98,404,861 bytes). The Merisier scenario produced 733 new organs. All 366 checks passed. The executable SHA-256 begins with 920d6e9dedc7. Recipe pinned to this PSE commit On PSE 844f259b3, the full ordinary AMAPSim suite also passed all 54,544 package assertions and six environment checks. AMAPSim qualification
MAESPA, two species On 9f1dd76e2, a freshly built ordinary simulation matched main at 24 half-hour steps. Running 24 steps together and advancing another simulation in two calls of 12 steps produced identical files. Nine strict comparisons passed for 27 objects, 2,068 state fields, 24 work records, 1,313 histories, 24,792 ordered samples and both random generators. On fe83c0d57, the four two-tree configurations also matched main across 24 and 96 steps with all requested outputs and with none. The eight-tree case with 24 steps and all outputs also matched main. The first matrix attempt stopped before executing the three eight-tree cases recorded below. The first whole-canopy safe build reached the verifier and reported an unresolved tuple search in longwave forcing. The typed check in d0d6a94bf passed 376 targeted assertions. Private build experiments keep the same kernels and test data. The latest experiment uses the existing fixed-topology executor and a more compact type for the prepared calls and diagnostic group list. On the actual two-tree canopy it reduces expanded type-parameter occurrences from 3.38 billion to 712.24 million. The initial state passed the unchanged scientific comparator. The full-canopy compiler eventually reached the stock safe verifier. It found an unresolved Base copy while publishing the matrix-valued leaf-area-density history. A targeted binary passes with the fix in 8fa240491. The next stock build reached the verifier and first reported a stomatal coefficient whose type MAESPA loses during interpolation. In the local MAESPA candidate, the physiology model retains the concrete parameter type. An isolated stock safe executable passed all 117 checks across the four stomatal variants in Float32 and Float64, with and without specific leaf area. A diagnostic build then collected the full safe verifier log, using compact error printing. It reported 629 errors and 30 warnings, with 293 errors originating in the rendering of one MAESPA exception. Stock safe witnesses now pass for the corrected MAESPA atmosphere diagnostics, leaf-angle and density interpolation, respiration, meteorology, solar geometry, and crown-radiation selection and preparation. Those model patches are local. The revised full-canopy verifier reached its conclusion after 81 min 49 s using the same verified initial state. It reported eight unresolved calls at the common scheduled run! invocation, covering four MAESPA model types, and twelve warnings in error paths. The four scheduled batches were isolated with the exact context types; their 20-minute guard ended during compilation. A separate test read the original MAESPA weather data. The provider-neutral call inferred an abstract row even though the actual duration is Float64. The known forcing path inferred a concrete row and returned the same values at both checked times. With an explicit concrete environment, the focused verifier reported eight errors in meteorology's dynamic status writes. Writing the same fields by name let stock JuliaC safe produce one executable. It ran successfully once for meteorology and once for the unchanged civil-day respiration accumulator. The change is local to the experimental MAESPA sources. Full native replay remains open. The ordinary eight-tree case with 24 half-hour steps and no requested outputs reproduced both states, all 24 work records, 56 necessary histories with 96 retained samples, and both random generators. The two 96-step cases also reproduced main exactly with 8 trees, 99 objects and 6,952 state fields each. The all-output run matched 4,391 histories and 272,336 samples in order. The run with no requested outputs matched 56 required histories and 112 samples. These three extra cases passed 16 checks on 8fa240491 with a local writer-validation change. The other five cases in the eight-case matrix passed on fe83c0d57. MAESPA qualification

XPalm performance

On 844f259b3, the three repetitions for modern XPalm on one AMD Zen 5 host gave the following medians. Continuous execution was 7.0% faster than the historical engine. In the separate run that timed every day, growth took 47.5% longer and ordinary steps took 24.4% longer. All 24 trajectories agreed on the output checks and the 4,161 organ counts. The Mac comparison will check these phases independently on the merge candidate. Data and workflow

Engine Prepare (ms) Continuous (s) 583 growth days (s) 3,577 ordinary days (s)
main 30.5 8.338 5.938 2.118
Historical fast 36.0 3.686 2.482 0.941
PR 844f259b3 38.3 3.429 3.660 1.171

The historical inputs in the 844f259b3 campaign ran on AMD Zen 3. The three engines matched the 4,161 daily organ counts and all other scientific checks on all 24 trajectories. Continuous execution on the PR was 5.1% faster than the historical engine. The separately timed growth and ordinary steps took 4.4% and 7.3% longer, respectively. Historical-input data

Engine Prepare (ms) Continuous (s) 485 growth days (s) 3,675 ordinary days (s)
main 42.77 12.881 10.406 4.466
Historical fast 44.65 5.992 4.055 1.881
PR 844f259b3 52.40 5.687 4.235 2.019

For the modern XPalm benchmark on 141c054da, each arm ran the same 4,160 days on one Intel Granite Rapids host. The table reports the medians of three warmed measurements per phase. Continuous execution excludes preparation. The growth and ordinary totals come from a separate day-by-day run. All 24 trajectories agreed with the fresh main reference. Workflow and artifact

Engine Prepare (ms) Continuous (s) Growth days (s) Ordinary days (s)
main 33.65 9.885 6.527 3.313
Historical fast 34.43 4.867 2.925 2.078
PR 141c054da 43.43 4.760 2.759 1.939

The historical XPalm inputs in the same campaign ran on AMD Zen 3. Across three warmed repetitions, the 4,160-day continuous run took 13.836 s on main, 5.839 s on the historical fast engine and 5.748 s on the PR. Their respective preparation times were 46.34, 41.95 and 51.81 ms. Across the 485 growth days, the totals were 9.159, 4.195 and 3.894 s. Across the 3,675 ordinary days they were 2.958, 2.180 and 1.771 s. All 24 trajectories matched the same-runner reference. Paired data for both XPalm revisions

Both timing cases use synthetic weather and request no outputs. The historical case ends with 1,190 objects and retains 4,430 samples for temporal dependencies. The current XPalm case ends with 1,299 objects and retains 6,064 samples. The whole-palm scientific test uses the observed daily weather series from 2012 to 2023 and requests 17 variables. It ends with 1,307 objects and retains 76,804 samples. The two recipes use the same seeds for sex determination and abortion. Timed entry point · Synthetic weather

The three engines in each row group used the same Linux runner and the same XPalm revision. Each time is the median of three warm runs over 4,160 days. The three engines matched the runner’s independent main reference on every scientific check. Continuous execution and the day-by-day totals were measured in separate runs. Workflow and artifacts

XPalm and CPU Engine Preparation (ms) Continuous (s) All growth days (s) All ordinary days (s)
Historical XPalm, znver5 main 29.56 7.856 6.157 2.016
Historical XPalm, znver5 Historical fast 31.28 2.645 1.958 0.811
Historical XPalm, znver5 PR 54d2302 36.65 2.633 1.957 0.708
Current XPalm, znver3 main 62.99 13.273 9.510 3.435
Current XPalm, znver3 Historical fast 40.46 6.241 3.936 2.054
Current XPalm, znver3 PR 54d2302 52.12 6.110 3.833 2.012

On the last accepted Mac comparison with historical inputs, warm continuous execution on 4,160 days took 4.882 s on main, 2.261 s on the historical fast engine and 2.229 s on PR revision 4f7230046. This excludes preparation. On these inputs, 485 days had growth and 3,675 were ordinary. XPalm #142 produces 583 growth days on its separate benchmark inputs. Each Linux job ran all three engines on the same inputs and hardware. The new Mac comparison is pending. Cold first use includes substantial Julia compilation time. Matched Linux runs · Earlier cold and warm measurements

On 70c3f00d3, the median of three warmed runs over 4,160 days was lower than the historical fast engine for both XPalm versions. The PR required more time to prepare both scenes. Each total for growth and ordinary days comes from a separate day-by-day trajectory. Source data and workflow

XPalm and Linux runner PSE engine Prepare (ms) Continuous (s) Growth days (s) Ordinary days (s)
Historical, AMD Zen 3 main 35.28 9.661 8.065 3.967
Historical, AMD Zen 3 Historical fast engine 40.67 4.882 3.173 1.645
Historical, AMD Zen 3 PR 70c3f00d3 50.09 4.523 2.943 1.545
XPalm #142, AMD Zen 4 main 52.58 16.755 11.289 4.899
XPalm #142, AMD Zen 4 Historical fast engine 47.27 8.194 5.059 2.236
XPalm #142, AMD Zen 4 PR 70c3f00d3 56.33 7.300 5.305 2.392

Within each scenario all 24 trajectories matched on final state, histories, both topologies, RNG state and all 4,161 organ counts. On current XPalm the PR spent 6.9% more time on ordinary days and 4.9% more on growth days in the day-by-day measurement. Continuous execution was 10.9% faster. Across two different Linux machines and CI campaigns, historical XPalm on main produced different state and history hashes with the same daily counts, topologies and RNG state. The modern XPalm main hashes agreed across those campaigns. Comparisons and artifacts

Eight warm repetitions alternated four PSE revisions on one Intel Xeon 6975P-C. All 76 scientific runs matched over 4,160 days with the historical XPalm inputs. Each day-by-day trajectory reproduced the 4,161 reference organ counts. Construction, simulation preparation and continuous execution were measured separately. Growth and ordinary totals come from the day-by-day runs.

PSE revision Construct (ms) Prepare (ms) Continuous (s) 485 growth days (s) 3,675 ordinary days (s) Continuous allocations (GB)
Main 8d1f8484c 3.618 26.893 8.067 5.385 2.700 5.445
Historical fast engine cd5517551 3.414 33.709 4.247 2.618 1.587 1.035
Earlier PR fc7fdec5e 3.528 40.924 3.971 2.437 1.568 1.118
PR 3d5a1b686 3.542 42.078 4.027 2.470 1.541 1.119

The historical fast engine and 3d5a1b686 ran in each round. Median paired reductions were 5.73% in continuous execution, 6.85% on growth days and 3.54% on ordinary days. The PR used 8.1% more allocated bytes in continuous execution. An earlier three-repeat run on AMD Zen 5 recorded 9.3% longer continuous time. Both observations refer to their own runner. Eight-repeat benchmark and data · Earlier AMD comparison

Before merge

The local package suite on fe83c0d57 passed all 26,323 assertions in 143 files and 80 groups on Julia 1.12.1, including Aqua and doctests. The two files covering the subsequent publication change passed all 1,518 focused assertions on 9f1dd76e2. The separate local documentation build on Julia 1.12.1 passed all 54 assertions on fe83c0d57. It executed the examples and verified the 59 generated pages and their 59 Bonito data files. On the exact public head 8fa240491, the closed-cohort and cached-call-view tests also passed on Julia 1.10.12. The output-boundaries and array-history copy tests passed 104 checks on the same version and source.

The MAESPA observer emits the same typed empty child-ID arrays at all inference settings. The strict comparison now matches all 3,412 initial records. For the fresh 9f1dd76e2 replay, Codex restarted after the test began. Kaimon lost its output pipe while printing the summary, after both scientific files and all nine verdicts were written. Independent comparisons reproduced every verdict from the saved files.

  • Build and verify the public Linux JuliaC safe example at 2c0554aa4. Safe CI
  • Build and run the extended native growth, projected status and typed tree-label tests on 844f259b3. Growth CI
  • Pass the full local suite on fe83c0d57 and the focused regression tests on 9f1dd76e2. Local results are the merge reference.
  • Build the documentation locally on fe83c0d57. All 54 assertions passed and all 59 manual pages and their assets were verified.
  • Qualify the full XPalm executable on 9f1dd76e2 locally. All 79,040 output values, final statuses, ordered histories, topology and random generators matched.
  • Run AMAPSim’s five scientific scenarios on 844f259b3 with stock JuliaC safe and ordinary PSE. All 77 checkpoints matched. Published recipe
  • Pass the complete local ordinary AMAPSim suite on 844f259b3. All 54,550 checks passed in 2 h 09 min.
  • Repeat the five AMAPSim scenarios on 9f1dd76e2. All 77 scientific checkpoints and 366 checks passed locally. The companion recipe pins the same engine in all three environments.
  • Match the full MAESPA executable against ordinary PSE for 24 consecutive half-hour steps and two consecutive 12-step advances on the same simulation.
  • Compare the merge candidate with main and the historical fast engine over 4,160 days on the same Mac with matching inputs. Record preparation, continuous execution, growth and ordinary steps separately. Both Mac scenarios share the sealed inputs and baselines. The candidate for the final comparison is a3ca0754. The references are main 8d1f8484c and the historical fast engine cd5517551. Measurements await the end of the unrelated calibration currently using the Mac. An existing Linux comparison provides supplementary evidence. Linux comparison
Earlier revisions, phase timings, compiler diagnostics and regression evidence

On 54d2302c1, a growing model publishes its input cells through its prepared slot. Existing scalar cells and vectors of leaf cells retain their identity. The engine also resolves the current cohort row before it builds nested call targets. A stock safe regression for the four-model call chain went from one compiler error to zero and its three command-line modes passed. All 377 focused checks passed, including immediate rejection of an invalid target, history order and random draws. Both original small-palm inputs that append a new leaf reproduced an unresolved compiler call. Their focused checks passed with the correction. The whole executable and downstream jobs have separate gates below. Shared input storage · Nested calls and native regression

On e2aa01246, PSE records which input binding types each prepared model call accepts. With the production source in this commit, one stock JuliaC 0.3.12 executable ran six fresh processes covering growth, rejection and recovery, and all 772 bindings extracted from MAESPA (410 types). It preserved the reference cells and temporal policies. The three scoped PSE suites passed 628 checks on each of Julia 1.10.12 and 1.13.3. The full canopy still needs its own native replay. Source and regression · Public JuliaC CI

Merge status — On the previous engine revision, the full XPalm executable matched the 4,160-day reference and AMAPSim matched all 77 checkpoints across five scenarios. The current head fixes a dependency lookup that blocked MAESPA compilation. Full-model qualification, the ordinary AMAPSim growth regression, matched timings and CI remain open. AMAPSim #14 · MAESPA #15

A local change admits the typed fields AMAPSim supplies when organs appear. Its stock JuliaC safe executable and its ordinary run matched all 77 published checkpoints byte for byte (98,404,861 bytes per trajectory set, including 733 births in the cherry tree). On this head plus the local birth-field declaration, six maintained AMAPSim cases passed all 126 checks, including both cases responsible for the seven failed assertions in the earlier full-suite run. The full ordinary AMAPSim package suite is still running. On official XPalm weather, the published engine and this local change agreed exactly on all 37,122 state fields, 76,804 retained samples and both random generators over 4,160 days with the same launcher. A separate check captured the same 16 open leaves at day 193 in both versions. Stock Julia reproduced the one-bit difference from the earlier reference when changing compiler options for sum. Two fresh whole-palm runs with the native executable’s compiler settings (-O2 -Cgeneric) now reproduce all 37,122 fields, 76,804 ordered samples, both topologies and both random generators from main and the stock executable. The comparison used independent code caches for published PSE 3d5a1b686 and the private birth-field correction.

MAESPA asks for the same two crowns from a scene or from an individual crown. On the previous revision, ordinary Julia returned the correct crowns and the reduced stock JuliaC safe build failed with two unresolved calls. On 70c3f00d3, the dependency lookup passes its scope positionally and its single-object result retains the registry’s ID type. The same small binary ran successfully from both contexts. On the real MAESPA scene with 100 applications, all ten affected calls selected exactly the same IDs as before. The isolated compiler diagnostic on that lookup fell from one unresolved call to zero. Its real caller also compiled without an error or warning across 141 inferred method bodies. The focused run covered seven PSE selector and binding test files, including the new regression, and three source and runtime checks. All 1,547 assertions passed on each of Julia 1.10.12 and 1.13.3. A fresh public 24-step MAESPA run on this engine matched four independent or previously qualified records exactly, including all 2,068 fields on 27 objects, 1,313 ordered histories with 24,792 samples, daily work and both random generators. The stock build of the full application is running. The earlier hosted runner lost its connection after 58 min 02 s. Selector fix · Previous hosted run

The current head 59fff7216 adds a standalone regression in the extended native growth suite. The same fixture failed with two unresolved calls before the fix and passed in both runtime contexts on the corrected engine (96.3 s for the local test). Engine sources and dependencies are identical to 70c3f00d3. Native test · Extended growth CI

Revision 5ba2a9a4d has identical engine and extension sources to the qualified 3d5a1b686. It documents how a multi-object native app reads Float32 and Float64 values from existing organs. On the published engine, changing only the declaration from Default(Real[]) to Required(Vector{Real}) preserved both ordinary runs and produced a stock safe binary that passed six checks over two independent executions. Copying the abstract vector default produced four verifier errors. User guide

On macOS, the three-hour job on Julia 1.13 reached the last of its test groups before the deadline. The completed plan reuse group took 30 min 53 s. The new partition moves that group into the existing fifth macOS job, which previously completed in 36 min 8 s on the same Julia version. All 245 local partition checks passed, covering all 80 groups. The other platform partitions retain their exact membership. The public JuliaC safe job passed on the new head in 1 min 41 s. Original job · Current package CI · Current safe job

The qualified engine checks the type of a retained call context before constructing a newborn target. The compiler's full-palm diagnostic on the observed entry went from two warnings to zero across the same 41,619 code records, with zero errors. The ordinary growth tests passed on Julia 1.10 and 1.13, including rejection of an incompatible retained context before the initializer runs. The 11 retained-call regression files passed all 2,362 checks. A second diagnostic on the real MTG application, including its command-line output and scientific audit, found zero errors and zero warnings across 41,731 code records. The public Linux safe job passed all six checks in 2 min 24 s. The separate native growth job passed in 23 min 37 s on this head. It covered the rejected newborn call context, two growth executables and inherited MTG labels. Stock JuliaC 0.3.12 on Julia 1.13.3 completed the whole-palm safe build, linked the ARM64 executable and ran it at days 0, 1 and 4,160. A fourth invocation emitted the complete final state for independent comparison. Engine commit · Public safe job · Dedicated Linux growth job · Matched Linux timings

On the previous revision, one macOS shard hit its three-hour limit while it was still executing manual-call tests. macOS now runs those twelve groups in a fifth job. Both Linux and Windows retain their four partitions. Tests verified all 80 groups still run exactly once, the original file order within each group is preserved, and the public safe workflow keeps its 15-minute budget. CI change

On fc7fdec5e, a plant reading only its own status can request a numeric collection of leaf areas before any source exists. It receives an empty vector with element type Union{} and a sum of zero, including after a leaf appears. A scene-wide reader can still share a real leaf’s Float32 cell. The regression passed on Julia 1.10.12 and 1.13.3, and the complete input-materialization file passed all 373 checks on Julia 1.13.3. The failing safe control reported four unresolved calls in the selector used during organ registration. After the fix, both stock JuliaC 0.3.12 growth executables passed (16 checks). The first grows a palm with zero or 100 neighbours. The second adds a producer for 30 existing leaves. The public Linux safe job passed all six checks in 7 min 49 s of job time. The Linux growth test passed 298 status checks, 121 organ assembly checks, 14 native growth checks and four mixed-label checks on this revision. Commit

The MTG operations used during growth are now in MTG 0.16.1. With the exact tree registered in General, the organ-creation suite passed all 121 checks, including inherited labels, explicit initial values and rollback on failure.

Scientific qualification

Scenario Ordinary PSE and references JuliaC and downstream qualification
XPalm, 4,160 days With official XPalm weather, the public XPalm.xpalm_scene → run! run on PSE 6f4433fca (the engine in 3d5a1b686), XPalm f44f728dd and MTG b3b39f5d3 passed all nine checks. Six independent comparisons confirmed exact equality with public main and the previous qualified trajectory for both topologies, 1,307 objects, 37,122 status fields, 76,804 samples in 3,059 histories, and both RNG states. Earlier public runs also matched the historical fast engine cd5517551. On PSE 4765ae1da the instrumented run passed 242 checks, including all 79,040 CSV values and 138 reference checkpoints. It exercised 61 applications (nine acquired targets only after growth), 65 concrete batch types and 3,211 targeted calls. The same executable (5ac3e4e0…) passed days 0, 1 and 4,160. All 79,040 values in the daily CSV were byte-identical to ordinary XPalm, and all 138 reference checkpoints passed. An independent reader compared the native audit against ordinary public run! on the same PSE and MTG sources. Both topologies, all 37,122 status fields, 76,804 ordered samples and both RNG states matched exactly. The scientific dependencies include XPalm #142.
AMAPSim, five scenarios On PSE 6f4433fca (the same engine as head 3d5a1b686), MTG b3b39f5d3 and AMAPSim 4c33c9f7d, one stock JuliaC 0.3.12 safe executable matched ordinary execution and the independent references at all 77 checkpoints (98,404,861 bytes per set). The largest case produced 733 new organs. All 98 ordinary and 268 executable checks passed. In AMAPSim #14, the controller passed 4,170 checks and the history and coupling job passed 1,375 history checks and 1,265 coupling checks. The full AMAPSim package suite with registered PSE 0.15.1 reported 50,619 passes, 14 errors and 44 broken tests. All 14 traces point to the same tuple-valued object ID conversion. This PR also fixes an independent empty leaf selector exposed by those files. On published PSE fc7fdec5e, all 8,259 checks in the four affected AMAPSim test files passed. A subsequent run of the entire AMAPSim suite against the exact PR head produced 47,038 passes, seven failed assertions and 169 errors. All 169 errors reached the same newborn status check. The maintained unbranched-shoot test passes 38/38 on main. On the PR its first new GrowthUnit has four fields absent at preparation, including a floating-point BirthTime and a boolean SympodialPlanar. Downstream models read these values from status. The complete AMAPSim package passed all 54,540 maintained assertions on PSE main, with four additional source checks. The full candidate suite is still a merge gate. A private candidate preserves the integer age of the existing bud and accepts the floating-point age of a new bud. A model using per-plant parameters to produce a new Bract passed the same 16 assertions as main with Float32 and Float64 clocks. Both versions produced identical records for the new organ and the next RNG draw. The complete AMAPSim package comparison is in progress.
MAESPA, two species and 24 half-hour steps On head 3d5a1b686, a fresh public preparation passed 23 checks at day zero. After restoring it, the standard Julia 1.13.3 runtime (one thread, -O2) advanced 24 half-hour steps with step! and passed 39 checks. Independent comparisons with main, the preceding qualified engine and the historical reference agreed exactly on 2,068 state cells, 1,313 histories, all 24,792 samples in order, all 24 work records and both RNG states. At 6d5452504, all 100 application views were observed from a fresh and restored T0. All 121 checks passed, including reattachment of the 27 live registry observers and collection of the 27 expired observers. The new T0 comparison reader matched all 396,608 bytes from the public final states of 27 objects. On the published PSE and MTG revisions, the complete initial state for 100 applications passed all 25 save-and-restore checks. The 90-minute Linux safe job on diagnostic commit 4c4d565e5 verified its pinned PSE 3d5a1b686 and 24-step comparator cb3613dd5. GitHub reported lost communication with the hosted runner during the build after 58 min 02 s. The run published no artifacts and yielded no native scientific result. The stock full-canopy executable must reproduce runs of 0, 24 and 12+12 steps, including every stored sample. A further local change to the crown work-record reader preserved the complete T0 and T24 records and cleared all 22 verifier errors in that reader. The complete build with this change is being tested separately. MAESPA #15
Earlier compiler diagnostics and tree-backed growth checks

On an observed full-palm step, JuliaC reported zero fatal calls across 41,619 code records at 06e2f0fea. Two warnings remained in newborn target construction. The complete-palm executable is being validated separately. The Linux projected-status and native growth checks passed with the same PSE code. On 4765ae1da, the public sample passed all six ordinary-to-native checks in 1 min 46 s of job time. The projected-status and mixed-tree job passed 298 status checks, 121 organ assembly checks, 14 native growth checks and four mixed-label checks on the final PSE and MTG commits. The three-way Linux benchmark completed on those same revisions. For the historical XPalm inputs, full warm execution took 11.042 s on main, 4.344 s on the historical engine and 3.921 s on this revision. With XPalm #142 the corresponding times were 13.643 s, 5.265 s and 4.854 s. Each row used a common runner and identical inputs across the three engines. Public sample Native growth CI

The public Linux JuliaC safe workflow passed all six checks, including relocation, in 1 min 47 s at 6fe904973. The example and the two authored growth applications pin Libiconv_jll 1.18.0 because its 1.18.1 wrapper introduced four unresolved library-path calls. On bda0b8192, the two growth executables passed all 12 checks alongside 266 ordinary status assertions. One fixture adds a leaf with zero or 100 neighbouring palms. The other adds a producer for 30 existing leaves and checks their values and histories. The job took 16 min 7 s, including 4 min 49 s for native growth. Public example · Libiconv failure · Growth fixtures

On f746e9343, the two native growth scenarios passed all 12 checks again in 4 min 11 s. The ordinary status suite passed all 266 assertions. Growth CI

Tree-backed growth and nested calls

PSE uses the public tree edit operations in MTG #115 at 0996eb0c4. Focused ordinary tests passed with the proposed MTG version (449 assertions) and the released 0.16.0 version (448). They exercise source-node identity, rollback with child promotion, explicit scientific status, shared geometry and retained outputs. The nested-call schema regression passed 470 assertions. The cohort refresh change at 3b03f0ab8 passed 1,672 assertions covering target order and identity, allocations and transactional growth.

At 4765ae1da, PSE uses the column types declared in MTG #115 at b3b39f5d3, including types declared for organs that have yet to grow. A new leaf can supply its own label at birth. If it inherits a label from an MTG column, its type must have been declared before preparation. Regression tests cover rejection before activation, reuse of the rejected ID and preservation of existing objects. The focused suite passed 121 assertions with the companion MTG and 118 with released MTG 0.16.0. The compiled mixed-column fixture passed all six checks, running the binary twice.

The ordinary model and native fixtures share registry construction at d6fe43096 (2,199 checks). The Linux public safe build passed in 7 min 25 s, and both native growth fixtures passed on the common public MTG dependency. At 6d5452504, PSE infers the default MTG routing labels from the prepared tree. A real XPalm tree passed two runs of the stock safe binary covering a rejected scientific field, rollback, ID reuse and supplied and absent labels. Independent preparations also assign the same slots to extra supplied status fields. Public safe CI · Native growth CI

At 06e2f0fea, newborn initializers keep the actual integer or floating-point history type during sampling. Both growth update algorithms use the same loop to append newly selected call targets. Separate compiler diagnostics on a real palm T0 eliminated the two temporal errors and the four multi-target call errors. The combined stock build and scientific comparison are tracked separately above.

XPalm performance on one machine per comparison

Engine revision 3d5a1b686 on Linux

Each scenario compared all three engines on a single runner with identical scientific inputs. All 24 trajectories agreed within each scenario. All 4,161 daily organ counts also matched their independent references. Values below are medians of three warm measurements. Continuous execution excludes preparation. The growth and ordinary times come from separate day-by-day runs.

Inputs and runner Engine Construct Prepare Continuous Growth days Ordinary days
Historical XPalm (AMD Zen 5) main 4.51 ms 29.69 ms 8.201 s 5.322 s 1.927 s
Historical XPalm (AMD Zen 5) Historical fast engine 3.36 ms 30.75 ms 2.588 s 2.584 s 0.815 s
Historical XPalm (AMD Zen 5) This PR 3.35 ms 37.33 ms 2.828 s 2.715 s 0.866 s
XPalm #142 (Intel Granite Rapids) main 5.87 ms 38.02 ms 10.107 s 6.672 s 3.292 s
XPalm #142 (Intel Granite Rapids) Historical fast engine 3.39 ms 33.99 ms 4.967 s 2.867 s 2.011 s
XPalm #142 (Intel Granite Rapids) This PR 3.66 ms 43.55 ms 4.570 s 2.583 s 1.920 s

On historical XPalm, continuous execution took 9.3% longer than the historical fast engine. The three measurements spanned 2.392–2.983 s for the PR and 2.488–3.361 s for the fast engine. Warm allocations rose 8.1%. On XPalm #142, the PR took 8.0% less time and allocated 2.9% fewer bytes than the historical engine. Preparation took longer in both comparisons. An additional Linux job alternates eight warm repetitions for each of four revisions to investigate the historical result. Three-way comparison and artifacts · Interleaved historical comparison

Previous Linux comparison on fc7fdec5e
XPalm inputs PSE revision Construct Prepare Continuous Growth days Ordinary days
Historical main 4.06 ms 29.33 ms 9.258 s 5.775 s 2.808 s
Historical Historical fast engine 3.76 ms 36.14 ms 4.239 s 2.658 s 1.571 s
Historical This PR 3.77 ms 43.74 ms 4.155 s 2.802 s 1.605 s
XPalm #142 main 5.22 ms 38.63 ms 12.922 s 7.596 s 3.553 s
XPalm #142 Historical fast engine 3.52 ms 35.54 ms 4.978 s 2.964 s 2.036 s
XPalm #142 This PR 3.86 ms 46.30 ms 4.856 s 3.092 s 1.915 s

Each engine ran three warm repetitions per scenario on the same Linux runner. All 24 trajectories in each scenario agreed on final state, histories and daily organ counts. The historical inputs produced 485 growth days and 3,675 ordinary days. XPalm #142 produced 583 and 3,577 respectively. The day-by-day measurements and continuous runs were timed separately. No timed sample reported compilation or swap. Linux results and artifacts

Earlier matched Mac and Linux runs, including cold-start costs

These timings use the historical XPalm workload. When all four engines use the newer scientific models in XPalm #142, even main produces 1,299 objects over 583 growth days, compared with 1,190 objects over 485 growth days in the historical workload. The reference check stopped that run before a speed ratio was calculated. The two workloads now have separate comparisons with main and the historical fast engine. Modern workload reference check

Each value is the median of three warmed runs. Continuous execution excludes preparation. The totals for 485 growth days and 3,675 ordinary days come from independent day-by-day runs. Absolute times across machines use different hardware. The Mac preparation column includes construction of the composite. Linux reports that construction separately.

Mac, 4,160 days Prepare Continuous Growth days Ordinary days
Main 8d1f8484c 20.88 ms 4.882 s 3.921 s 1.070 s
Historical fast engine cd5517551 29.52 ms 2.261 s 1.586 s 0.555 s
PR 4f7230046 59.92 ms 2.229 s 1.607 s 0.628 s

These are the last accepted Mac measurements. All 86 comparisons passed, including state, histories, shared cells, RNG and zero JIT in measured windows. The final candidate will run against the same two controls on AC power with the machine available.

Linux Intel Granite Rapids, 4,160 days Build composite Prepare simulation Continuous Growth days Ordinary days
Main 8d1f8484c 5.28 ms 39.06 ms 9.657 s 6.787 s 2.940 s
Historical fast engine cd5517551 3.65 ms 35.57 ms 3.951 s 2.472 s 1.553 s
Earlier PR 8ddcf6984 3.59 ms 41.63 ms 3.834 s 2.459 s 1.497 s
PR 32cdff2c5 3.69 ms 43.38 ms 3.925 s 2.463 s 1.486 s

All 32 scientific reports matched the Linux baseline, including 1,190 organs and 4,430 retained samples. The 24 warm timing records had zero JIT, swap and CPU steal. The PR arms apply the frozen XPalm patch required to declare the input fields of newborn organs. The two controls use the original XPalm source. Granite Rapids raw data · Zen 4 · Zen 3 · Later revision on Linux

A second matched run on Linux (AMD Zen 3, Julia 1.13.3) measured continuous execution at 12.868 s on main, 5.750 s on the historical engine, 5.457 s on 32cdff2c5 and 5.433 s on 30b9a080e. The last revision spent 52.40 ms in warm simulation preparation, 4.027 s on growth days and 1.798 s on ordinary days. Relative to the preceding revision on that same runner, growth took 7.1% longer and ordinary days took 1.3% less time. All 32 scientific records matched within the run. The 24 timed records had zero JIT, swap or CPU steal. Four-way comparison and raw data

On a further Linux Zen 4 runner, continuous medians were 13.841 s (main), 6.364 s (historical), 5.389 s (30b9a080e) and 5.233 s (bda0b8192). For the last two revisions on that runner, warm preparation was 47.84 and 47.64 ms, growth 3.803 and 3.972 s, and ordinary days 1.471 and 1.436 s. The same 32 scientific comparisons and 24 clean measurement windows passed. Zen 4 comparison

First use in ordinary Julia is expensive. On Granite Rapids, the first construction, preparation and execution together took 3 min 05 s on main, 20 min 58 s on the historical engine and 26 min 24 s on 32cdff2c5. The PR spent 1,056 s preparing and 522 s executing that first run. Julia attributed 1,056 s and 517 s respectively to JIT compilation. These are single observations per fresh process, excluding package loading. The warmed preparation and execution medians above answer a different question. Phase timings and compiler counters

A second Granite Rapids job compared four revisions on the same runner. Main took 9.799 s, the historical fast engine 4.187 s, bda0b8192 4.106 s and f746e9343 4.369 s for continuous execution. This last revision was 4.3% slower than the historical engine and 6.4% slower than bda0b8192. In the separate day-by-day measurements, growth improved from 2.815 s to 2.593 s and ordinary days took 1.592 s and 1.589 s. Warm preparation of the last two revisions took 44.67 ms and 45.95 ms. All 32 scientific records matched. The 24 warmed measurement windows had zero JIT, swap or CPU steal. Matched measurements

A separate, fresh process on that runner reproduced the same scientific result while tracing compilation. The largest named compilation record for _compile_consumer_input_recipe! was 145.7 s during preparation and 147.9 s during the first trajectory. The largest preparation record (462.9 s) had no method name. These are individual inclusive compiler observations. First-use trace and original data

Changes covered by regression tests

  • A failed birth can be retried. If a new leaf lacks the raw status field required by an existing reader, two calls to step! report the missing field. After removing the incomplete leaf and supplying the field on a replacement, the day advances exactly once and the history contains the expected values 2 and 6. A stock JuliaC 0.3.12 executable reproduced the refusal and repair twice, and also supplied 30 existing leaves when a new producer appeared. The final allocation change passed 325 focused checks on Julia 1.13.3. On scenes with zero or 100 existing leaves, the ordinary step allocated 64 bytes both before and after the change (five warmed measurements per case). At birth the extra cost was 224 bytes with an explicit producer and 1,616 bytes when reading the raw status. Engine fix · Native regression

  • Growth and initial construction share output-destination indexes. On 10,000 leaves, constructing, preparing and first writing two distributed outputs took 129.13 ms after the fix, 41.4 s before it and 117.06 ms on main. All leaves received the expected values. Three-way comparison

  • Existing leaves reconnect when a new producer appears. Tests cover temporal reads, application-specific producers, scopes, object movement, removal and rollback of a rejected MTG organ with an existing child. The MTG dependency change for the full XPalm rollback case has been exercised locally.

  • A retained hard call follows its current declaration after a binding refresh. A regression redirects a call from object 1 to object 2 and exercises the old context. The same public source-generation regression passed 60 assertions on Julia 1.10.12 and 1.13.3 with PSE as the consumer’s only package dependency.

  • Newborn organ defaults copy arrays of interned symbols, including partially initialized arrays. Model-owned deep copies still run for user-defined types. Refreshed distributed inputs and calls retain their declared types. The focused host run passed 1,339 assertions. These fixes are on the PR at f746e9343.

  • Replacing a local environment provider now reconciles its plan once and preserves the expected handles (784 focused checks). Newborn and existing organs share temporal input materialization (502 checks including a restored history and allocation checks). Newborn selections own their ordered cache keys, and distributed outputs select among typed declarations (1,898 checks across five test files). These changes are on the PR at b138aad57. Its four downstream integrations passed. Integration CI

  • Shared binding preparation and publication retain types during organ growth. On the full XPalm state, the verifier went from 89 to 76 unresolved calls after fixing retained-call lookup. This is a compiler diagnostic. The scientific executable has a separate qualification above. Earlier matched run after compiler changes

At def1cca92, binding an input cell with an ObjectId uses one lookup in the owning model's registry (1,745 checks). A hard call that admits at most one organ rebuilds its target when that organ changes (1,962 checks). Errors for unknown calls and unsupported temporal inputs preserve Julia’s spelling of declared names, including quoted symbols. The combined call and diagnostic suite passed 1,458 checks. All six checks of the public Linux safe example passed on this revision. The job took 7 min 31 s, including compilation and relocation. Manual JuliaC job

The independent current-XPalm synthetic control on Mac passed 29 checks. Continuous and daily execution on main agreed on the final state, including 1,299 objects and 6,064 retained samples. The daily run recorded all 4,161 object counts, with 583 growth days and 3,577 ordinary days. These counts qualify the modern workload separately from the older 485-growth-day workload. Paired Linux campaigns

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark Results (Julia v1.12.1)

Time benchmarks
main f0bde54... main / f0bde54...
bench_linux/PSE 8.45 s 2.7 ± 0.12 s 3.13
bench_linux/PSE_assign_outputs_broadcast_exact_10 0.411 ± 0.04 μs 0.491 ± 0.08 μs 0.837 ± 0.16
bench_linux/PSE_assign_outputs_broadcast_exact_1000 1.58 ± 0.15 μs 1.61 ± 0.16 μs 0.981 ± 0.14
bench_linux/PSE_assign_outputs_broadcast_exact_10000 17.4 ± 2.5 μs 13.9 ± 2 μs 1.25 ± 0.25
bench_linux/PSE_assign_outputs_columns_19columns_exact_1000 25.1 ± 1.4 μs 26 ± 1.9 μs 0.968 ± 0.09
bench_linux/PSE_assign_outputs_columns_2columns_exact_10 0.652 ± 0.05 μs 0.521 ± 0.07 μs 1.25 ± 0.19
bench_linux/PSE_assign_outputs_columns_2columns_exact_1000 3.02 ± 0.22 μs 3.22 ± 0.51 μs 0.936 ± 0.16
bench_linux/PSE_assign_outputs_columns_2columns_exact_10000 0.0527 ± 0.0062 ms 0.0485 ± 0.0066 ms 1.09 ± 0.2
bench_linux/PSE_assign_outputs_columns_2columns_permuted_10 0.601 ± 0.04 μs 0.611 ± 0.06 μs 0.984 ± 0.12
bench_linux/PSE_assign_outputs_columns_2columns_permuted_1000 5.65 ± 0.39 μs 5.61 ± 0.35 μs 1.01 ± 0.094
bench_linux/PSE_assign_outputs_columns_2columns_permuted_10000 0.0607 ± 0.0048 ms 0.0631 ± 0.0055 ms 0.962 ± 0.11
bench_linux/PSE_assign_outputs_columns_7columns_exact_1000 8.66 ± 0.53 μs 8.17 ± 0.4 μs 1.06 ± 0.084
bench_linux/PSE_assign_outputs_columns_exact_10 0.531 ± 0.05 μs 0.48 ± 0.05 μs 1.11 ± 0.16
bench_linux/PSE_assign_outputs_columns_exact_1000 1.84 ± 0.16 μs 1.63 ± 0.18 μs 1.13 ± 0.16
bench_linux/PSE_assign_outputs_columns_exact_10000 18.4 ± 3.3 μs 13.5 ± 0.59 μs 1.36 ± 0.25
bench_linux/PSE_assign_outputs_columns_heterogeneous_exact_10 0.912 ± 0.07 μs 0.712 ± 0.089 μs 1.28 ± 0.19
bench_linux/PSE_assign_outputs_columns_heterogeneous_exact_1000 0.0378 ± 0.0018 ms 2.71 ± 0.3 μs 14 ± 1.7
bench_linux/PSE_assign_outputs_columns_heterogeneous_exact_10000 0.386 ± 0.14 ms 26.9 ± 1.6 μs 14.4 ± 5.2
bench_linux/PSE_assign_outputs_columns_permuted_10 0.521 ± 0.051 μs 0.481 ± 0.06 μs 1.08 ± 0.17
bench_linux/PSE_assign_outputs_columns_permuted_1000 3.18 ± 0.25 μs 3.01 ± 0.35 μs 1.06 ± 0.15
bench_linux/PSE_assign_outputs_columns_permuted_10000 26.4 ± 1.2 μs 24.7 ± 0.75 μs 1.07 ± 0.059
bench_linux/PSE_assign_outputs_control_10 0.36 ± 0.03 μs 0.431 ± 0.08 μs 0.835 ± 0.17
bench_linux/PSE_assign_outputs_control_1000 0.501 ± 0.1 μs 0.541 ± 0.12 μs 0.926 ± 0.28
bench_linux/PSE_assign_outputs_control_10000 1.1 ± 0.26 μs 1.26 ± 0.57 μs 0.873 ± 0.44
bench_linux/PSE_assign_outputs_ref_loop_2columns_exact_10 0.541 ± 0.04 μs 0.561 ± 0.081 μs 0.964 ± 0.16
bench_linux/PSE_assign_outputs_ref_loop_2columns_exact_1000 2.87 ± 0.2 μs 2.9 ± 0.22 μs 0.989 ± 0.1
bench_linux/PSE_assign_outputs_ref_loop_2columns_exact_10000 0.0513 ± 0.0086 ms 0.0446 ± 0.0021 ms 1.15 ± 0.2
bench_linux/PSE_assign_outputs_ref_loop_exact_10 0.49 ± 0.05 μs 0.421 ± 0.081 μs 1.16 ± 0.25
bench_linux/PSE_assign_outputs_ref_loop_exact_1000 1.74 ± 0.19 μs 1.62 ± 0.25 μs 1.07 ± 0.2
bench_linux/PSE_assign_outputs_ref_loop_exact_10000 16.9 ± 0.97 μs 13.3 ± 0.56 μs 1.27 ± 0.09
bench_linux/PSE_assign_outputs_ref_loop_heterogeneous_exact_10 0.722 ± 0.07 μs 0.541 ± 0.05 μs 1.33 ± 0.18
bench_linux/PSE_assign_outputs_ref_loop_heterogeneous_exact_1000 22 ± 1.4 μs 1.86 ± 0.21 μs 11.8 ± 1.5
bench_linux/PSE_assign_outputs_ref_loop_heterogeneous_exact_10000 0.211 ± 0.068 ms 20.7 ± 1.9 μs 10.2 ± 3.4
bench_linux/PSE_assign_outputs_table_2columns_exact_10 0.691 ± 0.06 μs 0.55 ± 0.1 μs 1.26 ± 0.25
bench_linux/PSE_assign_outputs_table_2columns_exact_1000 3.32 ± 0.33 μs 3.14 ± 0.24 μs 1.06 ± 0.13
bench_linux/PSE_assign_outputs_table_2columns_exact_10000 0.0525 ± 0.0016 ms 0.0482 ± 0.00094 ms 1.09 ± 0.039
bench_linux/PSE_assign_outputs_table_2columns_permuted_10 0.701 ± 0.069 μs 0.541 ± 0.09 μs 1.3 ± 0.25
bench_linux/PSE_assign_outputs_table_2columns_permuted_1000 5.7 ± 0.38 μs 5.77 ± 0.45 μs 0.988 ± 0.1
bench_linux/PSE_assign_outputs_table_2columns_permuted_10000 0.0607 ± 0.0018 ms 0.0621 ± 0.0044 ms 0.977 ± 0.076
bench_linux/PSE_assign_outputs_table_exact_10 0.591 ± 0.07 μs 0.53 ± 0.05 μs 1.12 ± 0.17
bench_linux/PSE_assign_outputs_table_exact_1000 1.93 ± 0.18 μs 1.78 ± 0.35 μs 1.08 ± 0.23
bench_linux/PSE_assign_outputs_table_exact_10000 18.2 ± 2 μs 13.7 ± 1.5 μs 1.33 ± 0.2
bench_linux/PSE_assign_outputs_table_permuted_10 0.581 ± 0.07 μs 0.591 ± 0.06 μs 0.983 ± 0.15
bench_linux/PSE_assign_outputs_table_permuted_1000 3.23 ± 0.29 μs 3.08 ± 0.29 μs 1.05 ± 0.14
bench_linux/PSE_assign_outputs_table_permuted_10000 26.5 ± 2.2 μs 24 ± 1.1 μs 1.11 ± 0.11
bench_linux/PSE_bound_many_input_steps_1000 0.104 ± 0.00082 ms 0.106 ± 0.002 ms 0.984 ± 0.02
bench_linux/PSE_bound_many_sum_1000 1.6 ± 0.3 μs 1.67 ± 0.32 μs 0.958 ± 0.25
bench_linux/PSE_bound_many_sum_100000 0.373 ± 0.067 ms 0.462 ± 0.066 ms 0.807 ± 0.19
bench_linux/PSE_bound_objectref_sum_1000 19.7 ± 1.1 μs 19.3 ± 4.7 μs 1.02 ± 0.25
bench_linux/PSE_bound_objectref_sum_100000 2.36 ± 0.66 ms 2.05 ± 0.5 ms 1.15 ± 0.43
bench_linux/PSE_call_binding_signature_4096 0.961 ± 0.14 μs 1.22 ± 0.3 μs 0.786 ± 0.22
bench_linux/PSE_compiled_hard_call_heterogeneous 0.528 ± 0.045 ms 0.365 ± 0.026 ms 1.45 ± 0.16
bench_linux/PSE_compiled_hard_call_many 29.6 ± 1.1 ms 25.1 ± 1.2 ms 1.18 ± 0.072
bench_linux/PSE_compiled_hard_call_nested 0.504 ± 0.049 ms 0.423 ± 0.047 ms 1.19 ± 0.18
bench_linux/PSE_compiled_hard_call_nested_transient_environment 0.574 ± 0.057 ms 1.27 ± 0.053 ms 0.453 ± 0.049
bench_linux/PSE_compiled_hard_call_published 0.376 ± 0.035 ms 0.281 ± 0.04 ms 1.34 ± 0.23
bench_linux/PSE_compiled_hard_call_repeated 0.457 ± 0.042 ms 0.316 ± 0.023 ms 1.44 ± 0.17
bench_linux/PSE_compiled_hard_call_sampled_environment 0.367 ± 0.039 ms 0.279 ± 0.035 ms 1.31 ± 0.21
bench_linux/PSE_compiled_hard_call_singular 0.372 ± 0.036 ms 0.281 ± 0.036 ms 1.32 ± 0.21
bench_linux/PSE_compiled_hard_call_transient_environment 0.44 ± 0.038 ms 0.28 ± 0.022 ms 1.57 ± 0.18
bench_linux/PSE_distributed_assign_broadcast_10 0.07 ± 0.01 μs 0.071 ± 0.01 μs 0.986 ± 0.2
bench_linux/PSE_distributed_assign_broadcast_1000 1.09 ± 0.25 μs 1.07 ± 0.22 μs 1.02 ± 0.31
bench_linux/PSE_distributed_assign_broadcast_10000 13.7 ± 2.8 μs 12.4 ± 1.5 μs 1.1 ± 0.26
bench_linux/PSE_distributed_assign_columns_10 0.07 ± 0.009 μs 0.07 ± 0.001 μs 1 ± 0.13
bench_linux/PSE_distributed_assign_columns_1000 1.57 ± 0.24 μs 1.77 ± 0.28 μs 0.887 ± 0.2
bench_linux/PSE_distributed_assign_columns_10000 19.9 ± 5.8 μs 20.4 ± 2.7 μs 0.973 ± 0.31
bench_linux/PSE_distributed_assign_exact_10 0.061 ± 0.01 μs 0.06 ± 0.01 μs 1.02 ± 0.24
bench_linux/PSE_distributed_assign_exact_1000 0.912 ± 0.13 μs 0.972 ± 0.16 μs 0.938 ± 0.2
bench_linux/PSE_distributed_assign_exact_10000 11.3 ± 1.8 μs 11.1 ± 1.3 μs 1.01 ± 0.2
bench_linux/PSE_distributed_assign_exact_100000 0.126 ± 0.0096 ms 0.127 ± 0.011 ms 0.993 ± 0.12
bench_linux/PSE_distributed_assign_heterogeneous_10 0.331 ± 0.011 μs 0.341 ± 0.011 μs 0.971 ± 0.045
bench_linux/PSE_distributed_assign_heterogeneous_1000 22.8 ± 1.1 μs 22.4 ± 1 μs 1.02 ± 0.067
bench_linux/PSE_distributed_assign_heterogeneous_10000 0.224 ± 0.0095 ms 0.222 ± 0.013 ms 1.01 ± 0.072
bench_linux/PSE_distributed_assign_permuted_10 0.07 ± 0.002 μs 0.06 ± 0.01 μs 1.17 ± 0.2
bench_linux/PSE_distributed_assign_permuted_1000 1.6 ± 0.18 μs 1.68 ± 0.19 μs 0.952 ± 0.15
bench_linux/PSE_distributed_assign_permuted_10000 15 ± 2 μs 15.3 ± 1.4 μs 0.983 ± 0.16
bench_linux/PSE_distributed_assign_permuted_100000 0.194 ± 0.053 ms 0.169 ± 0.017 ms 1.15 ± 0.34
bench_linux/PSE_distributed_assign_sparse_10 0.06 ± 0.01 μs 0.06 ± 0.001 μs 1 ± 0.17
bench_linux/PSE_distributed_assign_sparse_1000 0.531 ± 0.07 μs 0.451 ± 0.051 μs 1.18 ± 0.2
bench_linux/PSE_distributed_assign_sparse_10000 3.91 ± 0.85 μs 4.07 ± 0.85 μs 0.961 ± 0.29
bench_linux/PSE_distributed_assign_status_10 0.07 ± 0.01 μs 0.07 ± 0.001 μs 1 ± 0.14
bench_linux/PSE_distributed_assign_status_1000 1.09 ± 0.26 μs 1.13 ± 0.26 μs 0.965 ± 0.32
bench_linux/PSE_distributed_assign_status_10000 13.7 ± 4.2 μs 13.9 ± 2.2 μs 0.987 ± 0.34
bench_linux/PSE_distributed_compile_active_1000 4.07 ± 0.2 ms 3.83 ± 0.29 ms 1.06 ± 0.097
bench_linux/PSE_distributed_compile_none_1000 0.147 ± 0.015 ms 0.0819 ± 0.0067 ms 1.79 ± 0.24
bench_linux/PSE_distributed_compile_permutation_1000 0.0871 ± 0.0038 ms 0.0872 ± 0.0044 ms 0.998 ± 0.067
bench_linux/PSE_distributed_lifecycle_add_1000 2.47 ± 0.14 ms 1.29 ± 0.17 ms 1.91 ± 0.28
bench_linux/PSE_distributed_mapping_refresh_10 0.842 ± 0.1 μs 0.871 ± 0.099 μs 0.967 ± 0.16
bench_linux/PSE_distributed_mapping_refresh_1000 0.0882 ± 0.004 ms 0.089 ± 0.0044 ms 0.99 ± 0.066
bench_linux/PSE_distributed_mapping_refresh_10000 0.971 ± 0.021 ms 0.967 ± 0.024 ms 1 ± 0.033
bench_linux/PSE_hard_calls_dense 0.164 ± 0.021 s 0.147 ± 0.0067 s 1.11 ± 0.15
bench_linux/PSE_hard_calls_sparse 0.0335 ± 0.0021 s 21 ± 1.4 ms 1.6 ± 0.15
bench_linux/PSE_hard_calls_zero 0.0359 ± 0.0027 s 31.2 ± 1.7 ms 1.15 ± 0.11
bench_linux/PSE_immutable_scenario_all 3.27 ± 0.23 ms 3.35 ± 0.25 ms 0.975 ± 0.1
bench_linux/PSE_immutable_scenario_none 3.23 ± 0.061 ms 3.29 ± 0.025 ms 0.983 ± 0.02
bench_linux/PSE_immutable_scenario_requests 3.28 ± 0.078 ms 3.37 ± 0.088 ms 0.974 ± 0.034
bench_linux/PSE_lifecycle_immediate_hard_call 1.45 ± 0.28 ms 2.24 ± 0.26 ms 0.648 ± 0.14
bench_linux/PSE_lifecycle_large 0.881 ± 0.35 ms 0.563 ± 0.096 ms 1.56 ± 0.68
bench_linux/PSE_lifecycle_small 0.172 ± 0.022 ms 0.117 ± 0.013 ms 1.47 ± 0.25
bench_linux/PSE_many_cadence_schedule 1.79 ± 0.018 ms 0.616 ± 0.014 ms 2.91 ± 0.073
bench_linux/PSE_multirate_no_output_run 0.202 ± 0.022 s 0.214 ± 0.03 s 0.948 ± 0.17
bench_linux/PSE_multirate_output_request_run 0.216 ± 0.049 s 0.209 ± 0.029 s 1.03 ± 0.28
bench_linux/PSE_multirate_retain_all_run 0.198 ± 0.034 s 0.201 ± 0.031 s 0.982 ± 0.23
bench_linux/PSE_objectref_sum_1000 19.7 ± 0.74 μs 18.2 ± 5.1 μs 1.08 ± 0.31
bench_linux/PSE_objectref_sum_100000 2.15 ± 0.38 ms 2.01 ± 0.64 ms 1.07 ± 0.39
bench_linux/PSE_organ_adaptation_1024 3.54 ± 0.053 ms 8.87 ± 0.5 ms 0.4 ± 0.023
bench_linux/PSE_organ_adaptation_256 0.808 ± 0.013 ms 2.27 ± 0.26 ms 0.355 ± 0.042
bench_linux/PSE_organ_adaptation_32 0.128 ± 0.011 ms 0.483 ± 0.04 ms 0.265 ± 0.032
bench_linux/PSE_organ_add_1024 17.7 ± 1.7 μs 13.9 ± 1.6 μs 1.28 ± 0.19
bench_linux/PSE_organ_add_256 14.2 ± 1.6 μs 12.5 ± 1.3 μs 1.14 ± 0.17
bench_linux/PSE_organ_add_32 11.7 ± 2.5 μs 11.9 ± 2.4 μs 0.988 ± 0.29
bench_linux/PSE_organ_add_continue_1024 0.707 ± 0.12 ms 0.103 ± 0.02 ms 6.89 ± 1.8
bench_linux/PSE_organ_add_continue_256 0.272 ± 0.036 ms 0.0746 ± 0.007 ms 3.64 ± 0.59
bench_linux/PSE_organ_add_continue_32 0.134 ± 0.019 ms 0.0628 ± 0.0096 ms 2.14 ± 0.44
bench_linux/PSE_organ_add_refresh_1024 0.0891 ± 0.029 ms 0.0403 ± 0.0077 ms 2.21 ± 0.83
bench_linux/PSE_organ_add_refresh_256 0.0801 ± 0.0078 ms 0.0352 ± 0.0037 ms 2.28 ± 0.32
bench_linux/PSE_organ_add_refresh_32 0.0683 ± 0.011 ms 0.0359 ± 0.009 ms 1.9 ± 0.56
bench_linux/PSE_organ_refresh_1024 0.0712 ± 0.016 ms 26.1 ± 5.3 μs 2.73 ± 0.81
bench_linux/PSE_organ_refresh_256 0.0613 ± 0.0069 ms 23.6 ± 3.3 μs 2.6 ± 0.47
bench_linux/PSE_organ_refresh_32 0.0523 ± 0.008 ms 22.9 ± 6 μs 2.29 ± 0.7
bench_linux/PSE_organ_status_recipe_refresh_1024 0.597 ± 0.022 ms 0.312 ± 0.063 ms 1.91 ± 0.39
bench_linux/PSE_organ_status_recipe_refresh_256 0.531 ± 0.028 ms 0.28 ± 0.07 ms 1.89 ± 0.49
bench_linux/PSE_organ_status_recipe_refresh_32 0.37 ± 0.047 ms 0.179 ± 0.024 ms 2.07 ± 0.38
bench_linux/PSE_refvector_sum_1000 1.61 ± 0.27 μs 1.67 ± 0.3 μs 0.964 ± 0.24
bench_linux/PSE_refvector_sum_100000 0.457 ± 0.18 ms 0.432 ± 0.023 ms 1.06 ± 0.42
bench_linux/PSE_selector_subtree_root_2048 2.82 ± 0.24 ms 2.56 ± 0.11 ms 1.1 ± 0.1
bench_linux/PSE_selector_subtree_tip_2048 25.4 ± 1.4 μs 17.7 ± 0.86 μs 1.44 ± 0.11
bench_linux/PSE_status_many_input_steps_1000 0.105 ± 0.00087 ms 0.107 ± 0.0015 ms 0.987 ± 0.016
bench_linux/PSE_status_read_write 30 ± 0 ns 30 ± 0 ns 1 ± 0
bench_linux/PSE_status_registry_lookup_1024 0.551 ± 0.12 μs 0.821 ± 0.2 μs 0.671 ± 0.22
bench_linux/PSE_status_registry_lookup_256 0.321 ± 0.051 μs 0.491 ± 0.09 μs 0.654 ± 0.16
bench_linux/PSE_status_registry_lookup_32 0.201 ± 0.03 μs 0.411 ± 0.08 μs 0.489 ± 0.12
bench_linux/PSE_status_registry_sweep_1024 0.0986 ± 0.0028 ms 0.0745 ± 0.0027 ms 1.32 ± 0.061
bench_linux/PSE_status_registry_sweep_256 23.6 ± 0.72 μs 15.3 ± 0.43 μs 1.54 ± 0.064
bench_linux/PSE_status_registry_sweep_32 3.24 ± 0.21 μs 2.4 ± 0.25 μs 1.35 ± 0.17
time_to_load 2.35 ± 0.0097 s 2.35 ± 0.003 s 1 ± 0.0043
Memory benchmarks
main f0bde54... main / f0bde54...
bench_linux/PSE 0.0693 G allocs: 4.53 GB 19.1 M allocs: 0.844 GB 5.37
bench_linux/PSE_assign_outputs_broadcast_exact_10 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_broadcast_exact_1000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_broadcast_exact_10000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_columns_19columns_exact_1000 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_columns_2columns_exact_10 2 allocs: 32 B 1 allocs: 32 B 1
bench_linux/PSE_assign_outputs_columns_2columns_exact_1000 3 allocs: 0.0469 kB 2 allocs: 0.0469 kB 1
bench_linux/PSE_assign_outputs_columns_2columns_exact_10000 3 allocs: 0.0469 kB 2 allocs: 0.0469 kB 1
bench_linux/PSE_assign_outputs_columns_2columns_permuted_10 2 allocs: 32 B 1 allocs: 32 B 1
bench_linux/PSE_assign_outputs_columns_2columns_permuted_1000 3 allocs: 0.0469 kB 2 allocs: 0.0469 kB 1
bench_linux/PSE_assign_outputs_columns_2columns_permuted_10000 3 allocs: 0.0469 kB 2 allocs: 0.0469 kB 1
bench_linux/PSE_assign_outputs_columns_7columns_exact_1000 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_columns_exact_10 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_columns_exact_1000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_columns_exact_10000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_columns_heterogeneous_exact_10 20 allocs: 0.312 kB 1 allocs: 32 B 10
bench_linux/PSE_assign_outputs_columns_heterogeneous_exact_1000 2 k allocs: 31.3 kB 2 allocs: 0.0469 kB 667
bench_linux/PSE_assign_outputs_columns_heterogeneous_exact_10000 20 k allocs: 0.305 MB 2 allocs: 0.0469 kB 6.67e+03
bench_linux/PSE_assign_outputs_columns_permuted_10 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_columns_permuted_1000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_columns_permuted_10000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_control_10 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_control_1000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_control_10000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_ref_loop_2columns_exact_10 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_ref_loop_2columns_exact_1000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_ref_loop_2columns_exact_10000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_ref_loop_exact_10 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_ref_loop_exact_1000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_ref_loop_exact_10000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_ref_loop_heterogeneous_exact_10 10 allocs: 0.156 kB 1 allocs: 32 B 5
bench_linux/PSE_assign_outputs_ref_loop_heterogeneous_exact_1000 1 k allocs: 15.6 kB 2 allocs: 0.0469 kB 334
bench_linux/PSE_assign_outputs_ref_loop_heterogeneous_exact_10000 10 k allocs: 0.153 MB 2 allocs: 0.0469 kB 3.33e+03
bench_linux/PSE_assign_outputs_table_2columns_exact_10 2 allocs: 32 B 1 allocs: 32 B 1
bench_linux/PSE_assign_outputs_table_2columns_exact_1000 3 allocs: 0.0469 kB 2 allocs: 0.0469 kB 1
bench_linux/PSE_assign_outputs_table_2columns_exact_10000 3 allocs: 0.0469 kB 2 allocs: 0.0469 kB 1
bench_linux/PSE_assign_outputs_table_2columns_permuted_10 2 allocs: 32 B 1 allocs: 32 B 1
bench_linux/PSE_assign_outputs_table_2columns_permuted_1000 3 allocs: 0.0469 kB 2 allocs: 0.0469 kB 1
bench_linux/PSE_assign_outputs_table_2columns_permuted_10000 3 allocs: 0.0469 kB 2 allocs: 0.0469 kB 1
bench_linux/PSE_assign_outputs_table_exact_10 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_table_exact_1000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_table_exact_10000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_table_permuted_10 0 allocs: 0 B 1 allocs: 32 B 0
bench_linux/PSE_assign_outputs_table_permuted_1000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_assign_outputs_table_permuted_10000 1 allocs: 16 B 2 allocs: 0.0469 kB 0.333
bench_linux/PSE_bound_many_input_steps_1000 0 allocs: 0 B 0.1 k allocs: 3.12 kB 0
bench_linux/PSE_bound_many_sum_1000 2 allocs: 32 B 2 allocs: 32 B 1
bench_linux/PSE_bound_many_sum_100000 2 allocs: 32 B 2 allocs: 32 B 1
bench_linux/PSE_bound_objectref_sum_1000 1 k allocs: 15.6 kB 1 k allocs: 15.6 kB 1
bench_linux/PSE_bound_objectref_sum_100000 0.1 M allocs: 1.53 MB 0.1 M allocs: 1.53 MB 1
bench_linux/PSE_call_binding_signature_4096 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_compiled_hard_call_heterogeneous 1.5 k allocs: 0.112 MB 1.5 k allocs: 0.129 MB 0.87
bench_linux/PSE_compiled_hard_call_many 0.148 M allocs: 7.1 MB 0.182 M allocs: 8.59 MB 0.827
bench_linux/PSE_compiled_hard_call_nested 1.72 k allocs: 0.131 MB 1.59 k allocs: 0.146 MB 0.897
bench_linux/PSE_compiled_hard_call_nested_transient_environment 2.18 k allocs: 0.153 MB 3.06 k allocs: 0.225 MB 0.68
bench_linux/PSE_compiled_hard_call_published 1.24 k allocs: 0.0913 MB 1.19 k allocs: 0.0977 MB 0.934
bench_linux/PSE_compiled_hard_call_repeated 1.24 k allocs: 0.0913 MB 1.19 k allocs: 0.0977 MB 0.934
bench_linux/PSE_compiled_hard_call_sampled_environment 1.29 k allocs: 0.0926 MB 1.22 k allocs: 0.0986 MB 0.939
bench_linux/PSE_compiled_hard_call_singular 1.24 k allocs: 0.0913 MB 1.19 k allocs: 0.0977 MB 0.934
bench_linux/PSE_compiled_hard_call_transient_environment 1.31 k allocs: 0.0946 MB 1.22 k allocs: 0.0997 MB 0.948
bench_linux/PSE_distributed_assign_broadcast_10 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_distributed_assign_broadcast_1000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_broadcast_10000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_columns_10 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_distributed_assign_columns_1000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_columns_10000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_exact_10 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_distributed_assign_exact_1000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_exact_10000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_exact_100000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_heterogeneous_10 13 allocs: 0.203 kB 13 allocs: 0.203 kB 1
bench_linux/PSE_distributed_assign_heterogeneous_1000 1.33 k allocs: 20.8 kB 1.33 k allocs: 20.8 kB 1
bench_linux/PSE_distributed_assign_heterogeneous_10000 13.3 k allocs: 0.203 MB 13.3 k allocs: 0.203 MB 1
bench_linux/PSE_distributed_assign_permuted_10 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_distributed_assign_permuted_1000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_permuted_10000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_permuted_100000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_sparse_10 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_distributed_assign_sparse_1000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_sparse_10000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_status_10 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_distributed_assign_status_1000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_assign_status_10000 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_distributed_compile_active_1000 0.0451 M allocs: 2.22 MB 0.062 M allocs: 2.29 MB 0.969
bench_linux/PSE_distributed_compile_none_1000 0.463 k allocs: 29.6 kB 0.369 k allocs: 23.7 kB 1.25
bench_linux/PSE_distributed_compile_permutation_1000 13 allocs: 0.0413 MB 13 allocs: 0.0413 MB 1
bench_linux/PSE_distributed_lifecycle_add_1000 23.7 k allocs: 1.27 MB 11.7 k allocs: 0.805 MB 1.58
bench_linux/PSE_distributed_mapping_refresh_10 9 allocs: 0.938 kB 9 allocs: 0.938 kB 1
bench_linux/PSE_distributed_mapping_refresh_1000 14 allocs: 0.0414 MB 14 allocs: 0.0414 MB 1
bench_linux/PSE_distributed_mapping_refresh_10000 14 allocs: 0.344 MB 14 allocs: 0.344 MB 1
bench_linux/PSE_hard_calls_dense 0.987 M allocs: 0.0831 GB 1.07 M allocs: 0.0725 GB 1.15
bench_linux/PSE_hard_calls_sparse 0.193 M allocs: 9.74 MB 0.188 M allocs: 8.78 MB 1.11
bench_linux/PSE_hard_calls_zero 0.217 M allocs: 11.2 MB 0.22 M allocs: 10.9 MB 1.02
bench_linux/PSE_immutable_scenario_all 1.02 k allocs: 0.725 MB 1.07 k allocs: 0.726 MB 0.998
bench_linux/PSE_immutable_scenario_none 0 allocs: 0 B 0.05 k allocs: 1.56 kB 0
bench_linux/PSE_immutable_scenario_requests 1.02 k allocs: 0.725 MB 1.07 k allocs: 0.726 MB 0.998
bench_linux/PSE_lifecycle_immediate_hard_call 9.95 k allocs: 0.954 MB 6.9 k allocs: 0.567 MB 1.68
bench_linux/PSE_lifecycle_large 10.7 k allocs: 0.952 MB 0.576 k allocs: 30 kB 32.5
bench_linux/PSE_lifecycle_small 0.727 k allocs: 0.0416 MB 0.53 k allocs: 29.3 kB 1.46
bench_linux/PSE_many_cadence_schedule 0.076 k allocs: 16.1 kB 4.81 k allocs: 0.16 MB 0.0979
bench_linux/PSE_multirate_no_output_run 2.97 M allocs: 0.187 GB 2.97 M allocs: 0.187 GB 1
bench_linux/PSE_multirate_output_request_run 3.04 M allocs: 0.21 GB 3 M allocs: 0.209 GB 1.01
bench_linux/PSE_multirate_retain_all_run 2.97 M allocs: 0.207 GB 2.97 M allocs: 0.207 GB 1
bench_linux/PSE_objectref_sum_1000 1 k allocs: 15.6 kB 1 k allocs: 15.6 kB 1
bench_linux/PSE_objectref_sum_100000 0.1 M allocs: 1.53 MB 0.1 M allocs: 1.53 MB 1
bench_linux/PSE_organ_adaptation_1024 0.0332 M allocs: 1.84 MB 0.0927 M allocs: 3.93 MB 0.468
bench_linux/PSE_organ_adaptation_256 8.56 k allocs: 0.471 MB 23.5 k allocs: 1.02 MB 0.46
bench_linux/PSE_organ_adaptation_32 1.28 k allocs: 0.0549 MB 3.59 k allocs: 0.136 MB 0.402
bench_linux/PSE_organ_add_1024 0.054 k allocs: 2.16 kB 0.056 k allocs: 1.89 kB 1.14
bench_linux/PSE_organ_add_256 0.053 k allocs: 2.15 kB 0.055 k allocs: 1.88 kB 1.15
bench_linux/PSE_organ_add_32 0.055 k allocs: 4.43 kB 0.058 k allocs: 5.3 kB 0.836
bench_linux/PSE_organ_add_continue_1024 10.2 k allocs: 0.407 MB 0.368 k allocs: 21.3 kB 19.5
bench_linux/PSE_organ_add_continue_256 2.28 k allocs: 0.113 MB 0.361 k allocs: 21.2 kB 5.47
bench_linux/PSE_organ_add_continue_32 0.707 k allocs: 0.0396 MB 0.358 k allocs: 24.6 kB 1.65
bench_linux/PSE_organ_add_refresh_1024 0.303 k allocs: 16.8 kB 0.24 k allocs: 15 kB 1.12
bench_linux/PSE_organ_add_refresh_256 0.299 k allocs: 16.7 kB 0.236 k allocs: 15 kB 1.12
bench_linux/PSE_organ_add_refresh_32 0.298 k allocs: 19 kB 0.236 k allocs: 18.4 kB 1.03
bench_linux/PSE_organ_refresh_1024 0.25 k allocs: 14.6 kB 0.185 k allocs: 13.2 kB 1.11
bench_linux/PSE_organ_refresh_256 0.246 k allocs: 14.6 kB 0.181 k allocs: 13.1 kB 1.11
bench_linux/PSE_organ_refresh_32 0.243 k allocs: 14.5 kB 0.178 k allocs: 13.1 kB 1.11
bench_linux/PSE_organ_status_recipe_refresh_1024 2.08 k allocs: 0.138 MB 1.33 k allocs: 0.251 MB 0.551
bench_linux/PSE_organ_status_recipe_refresh_256 2.07 k allocs: 0.133 MB 1.33 k allocs: 0.199 MB 0.667
bench_linux/PSE_organ_status_recipe_refresh_32 2.07 k allocs: 0.131 MB 1.33 k allocs: 0.183 MB 0.714
bench_linux/PSE_refvector_sum_1000 2 allocs: 32 B 2 allocs: 32 B 1
bench_linux/PSE_refvector_sum_100000 2 allocs: 32 B 2 allocs: 32 B 1
bench_linux/PSE_selector_subtree_root_2048 8.26 k allocs: 0.441 MB 6.21 k allocs: 0.347 MB 1.27
bench_linux/PSE_selector_subtree_tip_2048 19 allocs: 0.594 kB 19 allocs: 0.547 kB 1.09
bench_linux/PSE_status_many_input_steps_1000 0 allocs: 0 B 0.1 k allocs: 3.12 kB 0
bench_linux/PSE_status_read_write 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_status_registry_lookup_1024 1 allocs: 16 B 1 allocs: 16 B 1
bench_linux/PSE_status_registry_lookup_256 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_status_registry_lookup_32 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_status_registry_sweep_1024 2 allocs: 32 B 2 allocs: 32 B 1
bench_linux/PSE_status_registry_sweep_256 0 allocs: 0 B 0 allocs: 0 B
bench_linux/PSE_status_registry_sweep_32 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.149 k allocs: 11.1 kB 0.149 k allocs: 11.1 kB 1

VEZY added 29 commits November 11, 2026 17:58
Retain the context environment schema when resolving current-topology calls, inline the finite environment-plan admission boundary, and admit output IDs through the registry identity schema. Six whole maintained files pass: 1774 assertions, including closed cohorts, prepared calls/growth and environment-owner refresh. Full scientific JuliaC qualification remains pending.
Resolve raw, projected and window sampling once in the environment plan, preserving a raw row type witness and the shared weather sampler. Reuse one sampling worker and remove the former runtime selector and its unused application argument. Refresh same-type recipe values correctly and preserve reducer factories versus mutable instances.

Validation: 1815 assertions in nine whole maintained files, including new Weather inference, shared cadence, same-type rebind and reducer-state regressions. Source/input guards and process termination pass. Full XPalm native parity and updated performance remain pending.
Construct the global variable-name set with an explicit Symbol element type so closed input validation can resolve membership and collection operations. Verify the public environment query inference on real Weather alongside the maintained backend and prepared-input checks (354 assertions).
Format a missing-input location and its available variable names as bounded strings, replacing the large mixed vararg call and runtime-sized tuple. Preserve application, object, process, target and source details. Three whole maintained files pass 355 assertions, including a public missing-source regression.
Fill the Symbol set directly so weather column names with runtime tuple length do not require broadcast result inference. Preserve Symbol conversion and the existing variable inventory. Three whole maintained files pass 355 assertions with source/input guards and process termination verified.
VEZY added 30 commits November 21, 2026 04:55
Reuse the concrete owner type on prepared call collections and read the lifecycle generation before storing the snapshot in its reusable frame. The exact accepted model owner and all stale-token checks are preserved.
Keep the prepared backend and handle concrete through validation and commit or capture. The same resolved binding, publication permission, and errors apply to immediate and deferred publication.
Use the known destination identity type and validate each named source column directly. Render declared symbols through the existing formatter while preserving mixed identifiers, error order, and atomic assignment.
Visit each concrete output slot once, using the same order for publication and for capturing a pending evaluation. Both operations retain their existing history and ownership semantics.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant