Skip to content

Release v0.12.0: cubic B-splines, threading, three-mass backgrounds and growth - #100

Open
marcobonici wants to merge 57 commits into
mainfrom
develop
Open

marcobonici wants to merge 57 commits into
mainfrom
develop

Conversation

@marcobonici

@marcobonici marcobonici commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

v0.12.0 release candidate (develop → main)

Matrix natural-cubic spline gradients (89dfdfa): The reverse rule now reads column views instead of copying six slices per curve. In two local runs the complete prepared Mooncake gradient allocated 35–37% fewer bytes across three matrix sizes. At 1,024 knots × 256 curves this was 34.06 MB → 21.37 MB and 4,786 → 178 allocations. GC-inclusive mean runtime fell at all three sizes in both runs, although one median was mixed. Spline values, scalar losses, and gradients of both knot positions and curve values were bit-identical on the tested inputs, including A→B→A preparation reuse. Small Float32/64 gradients agreed with ForwardDiff. All 38 focused interpolation and AD tests passed locally. No API or forward-solver change.

Migration: the two old registry keys are removed, not aliases. The dictionary exposes 16 new scalar models. Rebuild inputs from each model’s ordered metadata and select outputs by label (7 → 11). The old flat nine-vector ended Mnu, w0, wa; the new flat one-mass, default-helium vector ends w0, wa, Neff. One-mass models fix (0.06, 0, 0) eV; degenerate models take a mass sum. sigma8 keys denote total matter at z=0.

Analytic API: pass three physical masses, not a scalar. Hybrid is the default: temperature rescaling below Neff=3.044, radiation at and above the switch, using the radiation-side derivative at equality in Float32 and Float64. Pass temperature explicitly to recover the previous convention. Cold+baryon growth and approximate matter growth are distinct; the latter is not full scale-dependent perturbation growth. Reusable cubic B-spline plans include banded construction and local evaluation.

Validation: matched CLASS fixtures check analytic expansion and distances; separate growth-ODE and CAMB background checks are not independent tests of all 11 neural outputs. Registry checks establish loading and inference, not full-domain accuracy. The archives report internal errors and some nonpositive distance predictions. Independent 10k evaluation and amplitude round trips remain pending. Use the Checks tab for current-head CI; historical counts below apply only to the revisions named. No merge or tag is part of this update.

Historical release notes and validation at earlier revisions (superseded where inconsistent)

v0.12.0 release candidate (develop → main)

Changes for callers

  • The analytic background and growth API takes a w0waCDMCosmology. Pass three physical neutrino masses in eV (zeros allowed); scalar masses, including scalar zero, are no longer accepted. Emulator input conventions and shipped weights are separate and unchanged by this PR.
  • neutrino_prescription=:temperature remains the default. :radiation fixes the neutrino temperature; :hybrid uses temperature scaling below Neff=3.044 and radiation at and above it. The hybrid value is continuous; its derivative at the switch uses the radiation side.
  • Flat-curvature distance derivatives and derivatives with respect to growth query coordinates are repaired. Growth queries must satisfy 1/139 ≤ a ≤ 1.01. CBGrowth() and MatterGrowthApprox() are distinct; the latter is not scale-dependent perturbation growth.
  • Not-a-knot cubic B-splines support reusable plans, vector/matrix values, and AD. Host plans use banded solves and local stencils. Reactant plans have a 64 MiB dense-operator limit. set_threads controls new FFTW plans and host spline solves; it replaces set_fft_threads.
  • Native Mooncake input gradients cover supported frozen Lux Dense chains. Other architectures retain the documented fallback. The optional integration requires Mooncake 0.5.67 or later in the 0.5 series. Zygote is a weak dependency and test extra, not a mandatory direct dependency.
  • Regression fixture payloads are restored from the pinned v4 Zenodo archive. Manifests and checksum/restoration tests stay in git.

Validation and release gate

See the checks on the current head. At a32c9ba, both lower-bound and coverage checks passed; both Julia 1.12/macOS jobs timed out. The follow-up preserves the full matrix and numerical cases, times each top-level suite file, and runs the consolidated Akima edge test in a fresh Julia process on the macOS 1.12 PR lane versus in-process on push. Only this matrix cell has a longer test budget. A timeout is not a passing test. No blanket performance nonregression is claimed.

Package and dependency compatibility, a completed macOS run, and the repository's required approval must be checked before merge. This PR does not create a tag or GitHub release.

Historical review notes and performance evidence (earlier commits, superseded where inconsistent)

Current release scope — updated 2026-11-11

Merge develop into main for v0.12.0. Project.toml is already at 0.12.0.
Current source head: 7a48a98d836ba617f88c111f7ba3a9f2f3c1b612. This PR follows develop, including the B-spline merge from PR #97 and the native Mooncake/frozen-inference changes below. The earlier B-spline scope audit was at c5f9ca06d1cd00a6b224ea505bb36f612477004e; it is not a full audit of every later change.

No tag or GitHub release is created by this PR. Release tagging remains a separate, explicitly authorized action from merged main.

Cubic B-splines and threading

  • Not-a-knot cubic B-spline interpolation through cubic_b_spline_interpolation, CubicBSpline and CubicBSplinePlan: vector/matrix ordinates, scalar/vector evaluation queries, and :clamp / :throw / :zero extrapolation. Plans take a fixed vector query grid. High-level constructors derive their knot vector from the sites; they do not accept custom knots.
  • Public lower-level CubicBSplineBasis, knot/domain/support accessors, basis_row, basis_stencil, basis_matrix, bspline_basis and bspline_coefficients. The low-level basis supports explicit custom knot vectors; basis_matrix currently supports dense storage only.
  • Plain Julia plans store a band factorization and four-entry query stencils rather than a dense query-by-site interpolation operator. Host coefficient solves and pullbacks include guarded specialized solves and parallel handling of large dense Float32/Float64 batches.
  • ForwardDiff, Zygote and Mooncake support derivatives through values, sites and query coordinates. The raw factorization storage is structural, not a differentiable public input.
  • Reactant uses a prepared dense plan operator with a 64 MiB limit. One-shot compiled interpolation supports fixed host sites and dynamic device values/queries, not fully dynamic device sites. Dynamic compiled :throw is unsupported; host-validated fixed plans can use it.
  • set_threads(n) controls FFTW plans created afterwards and the task budget for host B-spline solves/pullbacks. The Julia pool must be provisioned at startup. set_fft_threads is deprecated and forwards to set_threads.

Background/growth changes and compatibility

  • Analytic neutrino backgrounds and growth require exactly three explicit physical masses in eV, including zeros. The legacy scalar analytic mass mode has been removed, including scalar zero. Omitted masses use the explicit massless triple. Earlier text claiming scalar mode is retained is historical and superseded.
  • Differentiable Neff with the explicit temperature/radiation prescriptions and typed CBGrowth() / MatterGrowthApprox() sources. These are intentional thermal prescriptions, not a claim to reproduce CAMB's default hybrid prescription.
  • Growth queries are restricted to the integration interval 1/139 ≤ a ≤ 1.01. Default production ODE tolerances and raw initial-condition growth normalization remain unchanged.
  • Emulator total-mass inputs, trained weights and historical label conventions remain separate from the analytic API. No datasets were regenerated and no emulators retrained.
  • The compiled Akima edge-gradient repair in 5421f07 keeps inactive denominators positive independently of the final selection mask, with unconditional vector/matrix forward and AD regressions.

Native Mooncake input gradients and frozen inference

  • d764e83 adds an explicit input-only reverse rule for stateless, nonempty Lux Dense chains with identity, tanh, or tanh_fast, CPU vectors/matrices and Float32/Float64 inputs/weights. The supported native path does not call ForwardDiff internally. Unsupported architectures retain the explicitly documented legacy ForwardDiff-backed bridge.
  • Prepared inference reuses frozen reverse weights without scanning their contents on every evaluation. Matching-precision weights are borrowed; mixed-precision copies are made once per parameter-identity binding. Activation tapes and cotangents remain invocation-local, and copied preparations have independent bindings. Direct rrule!! retains per-call owned reverse weights.
  • Weights, model and inference states are frozen. Training remains a separate Lux.apply/Lux.Training or SimpleChains API; this rule does not suppress training parameter gradients. Retraining should create a new inference emulator/preparation. In-place mutation of weights under a live preparation, including aliasing an optimizer's writable parameters, is unsupported.
  • Forward evaluation still uses Lux's precision policy; reverse cotangents are projected at each layer, with stable mathematical tanh-tail derivatives. No inference parameters receive cotangents.
  • c1289ba fixes prepared-cache binding for abstractly declared parameter fields by retaining the direct native path, with direct/root/nested regression coverage and a no-ForwardDiff tripwire.
  • Compatibility change: the entire optional Mooncake integration now requires Mooncake ≥0.5.67, <0.6, not just the MLP rule. Its Julia requirements include 1.10.8+, 1.11.6+ and 1.12.1+ within those release series. ACE's base Julia compatibility is unchanged.
  • Added independent text reference fixtures, mixed-precision/preference subprocess tests, prepared root/debug/copy/replay checks, frozen-model identity tests, and training/inference separation checks. Tests run in the normal suite, not behind an environment-variable opt-in.

Lowest-compatible-dependency CI

  • 7a48a98 adds a separate Linux / Julia 1.12 lower-bound job, alongside the existing Julia 1.10/1.11/1.12 × Linux/Windows/macOS matrix.
  • Uses julia-actions/julia-downgrade-compat v2.7.0 pinned by commit, in alldeps mode, including weak/extension dependencies and test extras. No backend is excluded.
  • Runs the full package suite with allow_reresolve: false and force_latest_compatible_version: false, preventing test setup from silently upgrading away from the selected minimum environment. The resolved Project/Manifest are uploaded for diagnosis even when the job fails.
  • This tests a jointly compatible minimum dependency set, not every possible version combination or a claim that all individual minimum versions can coexist. It does not replace the normal CI matrix and does not upload lower-bound coverage into the main coverage report.
  • The new job is awaiting its first result; YAML/static validation is not an executed lower-bound test.

Native-rule validation and performance evidence

  • Narval Julia 1.12.5 full Pkg.test(): 12,863 package checks + 11 fixture checks passed for the frozen-rule candidate. That snapshot also contained unrelated local loader/export edits, so this is not an exact-clean-PR-head certification. An earlier one-hour run timed out; the unchanged two-hour retry passed. Both logs were retained.
  • Shipped-network validation: 2,334 checks over 32 Lux networks and public Capse TT/TE/EE/BB/PP plus aggregate paths, and Effort PyBird/LPT/REPT multipoles plus aggregate paths. A separate pilot passed 94 checks. Actual EmulatorsTrainer training/export/inference coexistence passed 9 checks; this was an API regression test, not training-accuracy certification.
  • Review-fix validation used clean archived d764e83 plus exactly the five repair files: reproduced the original abstract-parameter failure, then passed 1,266 native checks, four isolated precision-policy runs and 11 fixture checks. Those five file blobs match committed c1289ba.
  • Independent Astra High and Opus 5.5 High source reviews initially requested two fixes (abstract parameter binding and old-Mooncake test assumptions). After the repairs, Astra approved and Opus approved with nits, conditional on runtime validation and current-head CI. These are review findings, not formal GitHub merge approval or performance certification.

Matched ten-second BenchmarkTools blocks, four fresh A/B/B/A processes, one physical CPU and BLAS thread, prepared value-and-input-gradient calls, with all GC samples retained:

Workload Allocated bytes: old bridge → frozen native Allocation count Median time (ms) Mean including GC (ms)
Capse Lux TT 1,455,312 → 1,343,440 209 → 189 0.508 → 0.449 0.727 → 0.694
Effort PyBird monopole 709,952 → 317,152 542 → 482 0.350 → 0.184 0.443 → 0.224

Allocated bytes fell 7.7% / 55.3% versus the old bridge. Effort's median passed the stability gate; Capse's candidate median and both workloads' GC-inclusive means did not meet the predeclared 10% block-spread threshold. Mean-time nonregression remains inconclusive despite the favorable observations; no universal speedup is claimed. Effort D/bias were fixed, and these are not complete likelihood benchmarks. Capse's default SimpleChains backend is not optimized by this Lux-only rule.

Current CI status and companion Python scope

Current-head checks remain authoritative. The lower-bound CI addition has just been pushed; earlier passing checks do not certify 7a48a98. At the preceding c1289ba snapshot, both documentation jobs and Julia 1.10/1.11 benchmark jobs passed, while package-test results were still pending. Codecov gates failed: patch coverage 94.80% against a 99.13% target; project coverage 96.92% (−2.22 percentage points). The new lux_mlp.jl reported 98.92% coverage, one uncovered line; most uncovered changed lines belong to the broader release PR. Coverage thresholds have not been weakened. This PR is not claimed CI-green or merge-ready.

Companion Python release: jaxace #57, current head 368596b916ae11265883cfa5f8ce3d65f70693cf.

  • That PR provides the same high-level not-a-knot interpolation/spline/plan interfaces, vector/matrix values, extrapolation modes and JAX differentiation, but not the complete Julia low-level basis/stencil/coefficient API or compact host-plan implementation.
  • The pushed JAX implementation still uses dense construction and dense plan operators, with documented workspace/operator limits. Its local banded-construction candidate is uncommitted and not included in Mooncake support #57; even that candidate retains dense plan application and dense query-basis evaluation.
  • A bounded audit loaded the actual committed JAX source, not the modified working tree. All three public forward paths matched existing frozen Julia references at N=4,5,6,8,81 with rtol=atol=1e-12. Reused JIT plan construction/application and live value/site/query gradients were exercised on JAX 0.4.38. Those fixtures identify Julia 132a6e5 plus recorded local source hashes; this was not a fresh numerical rerun of the exact merge tree.

Outstanding qualifications

No blanket cross-language feature/performance parity or universal speedup is claimed. The historical review below records Zygote performance findings, an uncommitted positional-call optimization, and a transverse-distance derivative issue at exactly Ωk0=0. This B-spline scope audit does not revalidate those findings at the new head or claim they are fixed. User-local background/loader/test edits remain outside this PR.

Historical release review and measurements (older heads; superseded where noted above)

Release preparation

Merge develop into main for v0.12.0, following released v0.11.0. Project.toml is bumped to 0.12.0.

This is a pre-1.0 minor release. It adds public thermal and growth prescriptions and deliberately changes the explicit vector-mass convention. No tag or GitHub release is created by this PR. Tag the merged main commit later.

Reviewed head: 1ece493 (1ece4938d9814ea92b714708f5bd42825d5e7edd). Companion Python release: jaxace v0.8.0, CosmologicalEmulators/jaxace#57

Changes

  • Backgrounds for exactly three individual neutrino masses (zeros allowed). They use the CLASS thermal anchor and account for the massless remainder correctly.
  • Differentiable Neff with explicit :temperature / :radiation prescriptions across backgrounds, distances and growth.
  • Typed CBGrowth() (the unchanged default) and MatterGrowthApprox() growth sources, selected outside the numerical ODE parameter vector.
  • The legacy scalar-mν thermal model, default ODE tolerances and raw initial-condition growth normalisation are kept. Legacy scalar mν is intentionally a different model from (m, 0, 0).
  • Text fixtures from scalar, CLASS, CAMB, Julia and JAX references, with their generators. Focused tests run unconditionally in the standard suite.

Review fixes (4017d90, 1ece493)

  • The historical nine-argument positional w0waCDMCosmology constructor is restored, with the new thermal defaults and Dual-valued fields.
  • Growth domain. D_z, f_z and D_f_z now raise ArgumentError for queries outside the integration interval 1/139 ≤ a=1/(1+z) ≤ 1.01, including non-finite redshifts. Previously such queries depended on solver-specific saveat behaviour. The exact endpoints are accepted and tested. Background and distance functions are not restricted.
  • Prepared ForwardDiff and Mooncake gradients are reused at changed Ωcb, h, masses and Neff, and at zero masses, with componentwise comparisons. There are per-mass finite-difference checks for both sources and both prescriptions.
  • test/fixtures/neutrino_neff/ad_convergence.md is a forward-vs-reverse agreement report: 54 rows covering E, four distance integration orders and four growth tolerances, for both prescriptions. It is not an independent accuracy guarantee.

Compatibility and physics notes

  • The explicit mass-vector path now means three physical masses in eV, not a naive species sum. Previous vector-path outputs can change.
  • Nonstandard Neff requires the explicit three-mass path. The two thermal presets are intentional models, not CAMB's default hybrid prescription.
  • MatterGrowthApprox adds ρν(masses) − ρν(massless reference) for all species at the same temperature and Neff. It is neither ρν − 3pν nor scale-dependent total-matter perturbation growth.
  • Growth now rejects out-of-domain redshifts. This is a pre-1.0 behaviour change.
  • Trained emulator inputs are not extended. No datasets were regenerated and no emulators were retrained.

Validation

Immutable evidence. All 16 pre-existing ACE fixture files are byte-for-byte unchanged across the review follow-ups; the independent reviewer compared them. New references were added alongside them, not substituted.

Cross-language. 40 model combinations, 200 redshift rows. Maximum relative differences: E ~1.3e-12, raw D ~6.3e-11, f ~2.8e-10. The saved CLASS growth references check CLASS's background-growth ODE, not perturbation growth.

Full Pkg.test() at 1ece493, Julia 1.12.6.

Run Result
Independent reviewer, clean exact-tree checkout 3330 passed (14m09s)
Maintainer's local working copy 3332 passed. The two extra assertions come from unrelated, uncommitted local loader edits that are not part of this PR.

The reviewer also re-ran generate_ad_convergence.jl, and all 54 rows reproduced exactly.

Current-head CI at 1ece493: all 23 checks reported SUCCESS at snapshot 2026-10-04 21:35 UTC.

Performance (separate from correctness)

  1. Julia Zygote regression introduced by this PR (open). The PR benchmark job at 1ece493 compares main with the PR head. On the legacy scalar-mν functions, Mooncake, ForwardDiff and primal timings are unchanged. Zygote is slower:

    Benchmark (main / PR time ratio; lower means the PR is slower) Julia 1.10 Julia 1.11 Julia 1.12
    zygote_r_z (100 redshifts) 0.75 (10.5 → 13.9 ms) 0.62 (26.2 → 42.2 ms) 0.65 (32.7 → 50.5 ms)
    single_z/zygote_r_z 0.76 (0.141 → 0.187 ms) 0.70 0.74
    zygote_D_z, zygote_f_z (direct and DI) 0.93–0.94 0.80–0.86 0.84–0.87

    Distances: diagnosed, with an uncommitted local follow-up. Every internal keyword hop costs extra in Zygote's backward pass, and each extra keyword adds to that cost. This PR forwards Neff and neutrino_prescription through every r_z → r̃_z → E_a hop, once per redshift. Marking only the input validation as non-differentiable recovered about 3%, so validation is not the main cost.

    A local follow-up passes positional arguments on those internal hops. Public keyword signatures, validation, defaults and AD inputs are unchanged. On Julia 1.12.6 (laptop, one pinned core, two reps), direct Zygote r_z over 100 redshifts went from ~18 ms (main) and ~28 ms (1ece493) to ~4.5 ms. Values and Zygote/ForwardDiff gradients were string-identical across all three versions. Mooncake, ForwardDiff and primal timings did not change.

    This follow-up is not yet pushed or accepted. The CI results above do not cover it. It still needs independent review, a push and a fresh CI benchmark run. Local tests of that uncommitted tree:

    • focused test_args=["neutrino_neff"]: 1052/1052, including 250 new Zygote/ForwardDiff/Mooncake parity and validation assertions;
    • full Pkg.test(): 3582/3582, which is 3330 committed + 2 unrelated local loader assertions + 250 new ones.

    Growth: still regressed, not resolved. The D_z/f_z Zygote slowdown comes from code outside the ODE right-hand side. It shows up as about 1,000 more allocations in pullback construction plus a slower adjoint backward pass. Making the RHS calls positional changed nothing. The mechanism was not isolated within the time-boxed investigation, and maintainer acceptance or a follow-up is needed.

  2. JAX scalar reverse-mode growth tradeoff. This is a separate, disclosed accuracy/cost tradeoff in jaxace Mooncake support #57 and does not apply to this Julia package.

This PR makes no blanket "no performance regression" claim.

Known pre-existing issue (not introduced or fixed here)

At exactly Ωk0 = 0, gradients of the transverse distances (dM_z, dA_z, dL_z) are unreliable. ForwardDiff returns NaN, and Zygote (through the S_of_K rrule limit) and Mooncake disagree on ∂/∂Ωk0. All other components agree. The same behaviour occurs on main. It needs a separate fix. The new parity test uses Ωk0 = -0.01 only because of this singular point; that choice does not fix the issue.

Related release

jaxace v0.8.0 preparation: CosmologicalEmulators/jaxace#57. Its separate JAX scalar reverse-mode growth tradeoff is described there.

marcobonici and others added 13 commits August 6, 2026 18:48
Add traced vector and matrix B-spline evaluation, preserve extrapolation semantics, and update stencil AD rules and regression coverage.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Add 12 tests covering: Reactant Enzyme gradient through
CubicBSplinePlan (vector + matrix), Reactant Enzyme
gradient through stencil evaluation, Float32 and ForwardDiff
Dual plan support, matrix plan extrapolation policies,
and Reactant CubicBSpline with non-uniform knots.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Replace scalar band substitution with an affine scan so Reactant plans remain dynamic and differentiable while substantially reducing vector execution cost. Add deterministic solve, shape, Float32, and Enzyme regression coverage plus the performance investigation record.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Register the existing B-spline ChainRules rules with Mooncake and add
plan-specific Akima and cubic-spline pullbacks. This removes large generic
reverse-mode tapes from prepared vector and matrix plans. Add dense-plan,
plain-Julia benchmark, JET, and DifferentiationInterface coverage.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Prepare fixed-grid Reactant B-spline plans as a single dense interpolation
operator instead of silently falling back to the affine scan. This cuts
matrix runtime and compilation substantially while retaining the scan for
direct coefficient solves and guarding excessive operator storage.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Derive the not-a-knot basis exclusively from interpolation sites and make
endpoint clamping the default extrapolation behavior. Remove unsupported
custom-knot API branches, tests, and obsolete reference fixtures while
retaining explicit strict and zero extrapolation policies.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Keep host B-spline plans lean by constructing dense interpolation operators
only during Reactant adaptation. Remove the obsolete threshold and sentinel
state, and require dense-plan Enzyme gradients to pass without the old
failure fallback.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Advance the minor version for the new cubic B-spline interpolation API and
its Julia, AD, and Reactant support.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Ensure exported spline and plan helpers propagate site and query derivatives consistently across ChainRules, Mooncake, and Reactant while keeping dense-plan preparation bounded and tested.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Preserve scalar behavior, expose explicit thermal models and typed growth sources, and include solver and cross-language fixtures with forward/reverse AD checks.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Use a pre-1.0 minor release to signal the new prescriptions and changed explicit three-mass convention.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
@codecov

codecov Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.17835% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.37%. Comparing base (d02354d) to head (135b7e6).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
ext/MooncakeExt/MooncakeExt.jl 93.79% 8 Missing ⚠️
src/cubic_b_spline.jl 99.27% 4 Missing ⚠️
ext/BackgroundCosmologyExt/growth_queries.jl 97.50% 2 Missing ⚠️
ext/ExtReactant/reactant_splines.jl 99.51% 2 Missing ⚠️
ext/MooncakeExt/lux_mlp.jl 98.92% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   99.13%   99.37%   +0.24%     
==========================================
  Files          13       21       +8     
  Lines        1852     3708    +1856     
==========================================
+ Hits         1836     3685    +1849     
- Misses         16       23       +7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Benchmark Results (Julia v1.10)

Time benchmarks
a90fa44... 135b7e6... a90fa44... / 135b7e6...
akima/components/coefficients_large 8.93 ± 1.7 μs 8.78 ± 0.94 μs 1.02 ± 0.22
akima/components/coefficients_medium 7.16 ± 5.2 μs 7.02 ± 1.9 μs 1.02 ± 0.79
akima/components/coefficients_small 0.661 ± 0.19 μs 2.31 ± 1.9 μs 0.286 ± 0.25
akima/components/slopes_large 3.04 ± 5.7 μs 1.74 ± 0.41 μs 1.75 ± 3.3
akima/components/slopes_medium 1.83 ± 1.4 μs 1.92 ± 0.14 μs 0.953 ± 0.71
akima/components/slopes_small 0.16 ± 0.03 μs 0.16 ± 0.05 μs 1 ± 0.36
akima/forward/matrix_medium 20.9 ± 1.2 μs 21.8 ± 13 μs 0.96 ± 0.58
akima/forward/matrix_small 5.89 ± 0.78 μs 11.1 ± 6.4 μs 0.533 ± 0.32
akima/forward/vector_large 27 ± 1.9 μs 26.7 ± 1.3 μs 1.01 ± 0.087
akima/forward/vector_medium 6.62 ± 6.4 μs 12.1 ± 6.2 μs 0.547 ± 0.6
akima/forward/vector_small 1.46 ± 1.6 μs 3.04 ± 1.7 μs 0.48 ± 0.58
akima/gradients/comparison/di_forwarddiff_medium 0.233 ± 0.01 ms 0.229 ± 0.0099 ms 1.02 ± 0.062
akima/gradients/comparison/di_mooncake_medium 17.7 ± 18 μs 0.0333 ± 0.011 ms 0.531 ± 0.56
akima/gradients/comparison/di_zygote_medium 18.1 ± 18 μs 0.0351 ± 0.0054 ms 0.516 ± 0.5
akima/gradients/comparison/forward_pass 7.15 ± 6.2 μs 12.1 ± 2 μs 0.591 ± 0.52
akima/gradients/comparison/forwarddiff_medium 0.232 ± 0.011 ms 0.228 ± 0.01 ms 1.02 ± 0.066
akima/gradients/comparison/zygote_medium 18.4 ± 18 μs 0.0353 ± 0.017 ms 0.522 ± 0.56
akima/gradients/di_forwarddiff/vector_medium 0.231 ± 0.01 ms 0.229 ± 0.012 ms 1.01 ± 0.07
akima/gradients/di_zygote/matrix_medium 0.0829 ± 0.0033 ms 0.127 ± 0.044 ms 0.655 ± 0.23
akima/gradients/di_zygote/vector_medium 0.0322 ± 0.018 ms 0.0354 ± 0.0041 ms 0.909 ± 0.51
akima/gradients/forwarddiff/matrix_medium 11.9 ± 0.51 ms 10.3 ± 2.7 ms 1.16 ± 0.31
akima/gradients/forwarddiff/matrix_small 0.564 ± 0.016 ms 0.559 ± 0.014 ms 1.01 ± 0.037
akima/gradients/forwarddiff/vector_large 5.49 ± 1.2 ms 4.46 ± 0.36 ms 1.23 ± 0.29
akima/gradients/forwarddiff/vector_medium 0.231 ± 0.012 ms 0.229 ± 0.009 ms 1.01 ± 0.064
akima/gradients/forwarddiff/vector_small 16.8 ± 22 μs 0.0355 ± 0.022 ms 0.473 ± 0.69
akima/gradients/mooncake/matrix_medium 0.0831 ± 0.0029 ms 0.0934 ± 0.044 ms 0.89 ± 0.42
akima/gradients/mooncake/matrix_small 23.2 ± 22 μs 0.0417 ± 0.02 ms 0.555 ± 0.59
akima/gradients/mooncake/vector_large 0.0708 ± 0.0022 ms 0.0707 ± 0.0027 ms 1 ± 0.05
akima/gradients/mooncake/vector_medium 18.3 ± 18 μs 0.0336 ± 0.017 ms 0.546 ± 0.61
akima/gradients/mooncake/vector_small 5.14 ± 5.7 μs 8.79 ± 6 μs 0.584 ± 0.76
akima/gradients/zygote/matrix_medium 0.0824 ± 0.003 ms 0.127 ± 0.046 ms 0.649 ± 0.23
akima/gradients/zygote/matrix_small 24.4 ± 19 μs 0.0471 ± 0.013 ms 0.519 ± 0.44
akima/gradients/zygote/vector_large 0.0701 ± 0.0033 ms 0.0714 ± 0.0028 ms 0.982 ± 0.06
akima/gradients/zygote/vector_medium 0.0318 ± 0.018 ms 0.0355 ± 0.0041 ms 0.895 ± 0.51
akima/gradients/zygote/vector_small 4.62 ± 4.9 μs 10.4 ± 6.3 μs 0.443 ± 0.54
akima/scaling/eval_10 7.91 ± 6.5 μs 8.87 ± 2.1 μs 0.892 ± 0.76
akima/scaling/eval_100 4.54 ± 6.6 μs 10.4 ± 0.9 μs 0.434 ± 0.63
akima/scaling/eval_1000 16.8 ± 6.6 μs 22.3 ± 2.2 μs 0.754 ± 0.3
akima/scaling/eval_250 11.5 ± 6.6 μs 12 ± 6.2 μs 0.953 ± 0.74
akima/scaling/eval_50 8.62 ± 6.6 μs 9.67 ± 2 μs 0.892 ± 0.71
akima/scaling/eval_500 10.4 ± 6.5 μs 15.7 ± 2 μs 0.666 ± 0.43
akima/scaling/nodes_10 3.31 ± 2.1 μs 2.08 ± 1.8 μs 1.59 ± 1.7
akima/scaling/nodes_100 10.3 ± 6.6 μs 10.3 ± 0.93 μs 0.999 ± 0.65
akima/scaling/nodes_200 7.53 ± 13 μs 18.9 ± 3.1 μs 0.399 ± 0.69
akima/scaling/nodes_25 3.83 ± 1.7 μs 2.3 ± 1.6 μs 1.66 ± 1.4
akima/scaling/nodes_50 5.46 ± 4.2 μs 6.68 ± 1.8 μs 0.817 ± 0.67
akima/scaling/nodes_500 12.5 ± 2.8 μs 11.7 ± 1.3 μs 1.07 ± 0.26
akima_spline/plan_512_to_8999 0.0609 ± 0.0021 ms 0.0609 ± 0.0021 ms 0.999 ± 0.05
akima_spline/plan_construct_512_to_8999 0.129 ± 0.0027 ms 0.129 ± 0.0092 ms 0.997 ± 0.074
akima_spline/pure_512_to_8999 0.163 ± 0.0029 ms 0.162 ± 0.0071 ms 1.01 ± 0.047
chebyshev/forward/matrix_medium 7.19 ± 0.47 μs 7.08 ± 2.9 μs 1.02 ± 0.42
chebyshev/forward/matrix_small 1.99 ± 0.05 μs 1.99 ± 0.05 μs 1 ± 0.035
chebyshev/forward/polynomials_medium 0.0571 ± 0.0037 ms 0.0467 ± 0.014 ms 1.22 ± 0.37
chebyshev/forward/polynomials_small 5.19 ± 3.6 μs 2.54 ± 0.43 μs 2.04 ± 1.4
chebyshev/forward/vector_large 22.2 ± 2.2 μs 21.4 ± 2.8 μs 1.03 ± 0.17
chebyshev/forward/vector_medium 0.851 ± 0.18 μs 0.862 ± 0.15 μs 0.987 ± 0.27
chebyshev/forward/vector_small 0.271 ± 0.01 μs 0.27 ± 0.001 μs 1 ± 0.037
chebyshev/gradients/forwarddiff/vector_medium 4.33 ± 0.4 ms 4.29 ± 0.056 ms 1.01 ± 0.094
chebyshev/gradients/forwarddiff/vector_small 0.174 ± 0.02 ms 0.172 ± 0.0034 ms 1.01 ± 0.12
chebyshev/gradients/mooncake/vector_medium 3.9 ± 2.8 μs 2.53 ± 0.42 μs 1.54 ± 1.1
chebyshev/gradients/mooncake/vector_small 0.881 ± 1.8 μs 0.891 ± 0.21 μs 0.989 ± 2
chebyshev/gradients/zygote/vector_medium 3.56 ± 1.8 μs 2.95 ± 0.56 μs 1.2 ± 0.64
chebyshev/gradients/zygote/vector_small 0.621 ± 1.8 μs 1.26 ± 0.22 μs 0.492 ± 1.4
chebyshev/multidim/forward_2d 3.08 ± 0.31 μs 2.94 ± 0.25 μs 1.04 ± 0.14
chebyshev/multidim/zygote_2d 10.5 ± 0.48 μs 7.69 ± 0.64 μs 1.36 ± 0.13
cubic/components/coefficients_large 17.3 ± 2.9 μs 16.9 ± 1.3 μs 1.02 ± 0.19
cubic/components/coefficients_medium 4.02 ± 0.59 μs 4.3 ± 4.8 μs 0.935 ± 1
cubic/components/coefficients_small 0.892 ± 0.1 μs 0.902 ± 0.17 μs 0.989 ± 0.22
cubic/components/eval_large 20.8 ± 0.28 μs 17.8 ± 0.17 μs 1.17 ± 0.019
cubic/components/eval_medium 3.87 ± 0.59 μs 3.88 ± 0.23 μs 0.997 ± 0.16
cubic/components/eval_small 0.621 ± 0.01 μs 0.641 ± 0.02 μs 0.969 ± 0.034
cubic/forward/matrix_medium 0.0339 ± 0.0014 ms 0.0339 ± 0.0012 ms 1 ± 0.055
cubic/forward/matrix_small 6.95 ± 2.1 μs 7.98 ± 2.9 μs 0.871 ± 0.41
cubic/forward/vector_large 0.0356 ± 0.0018 ms 0.0353 ± 0.0016 ms 1.01 ± 0.068
cubic/forward/vector_medium 8 ± 0.58 μs 8.23 ± 4.2 μs 0.972 ± 0.5
cubic/forward/vector_small 3.19 ± 1.9 μs 3.19 ± 2.1 μs 1 ± 0.89
cubic/gradients/comparison/forward_pass 8.28 ± 4 μs 8.27 ± 4 μs 1 ± 0.68
cubic/gradients/comparison/forwarddiff_medium 0.198 ± 0.0093 ms 0.198 ± 0.0094 ms 0.999 ± 0.067
cubic/gradients/comparison/mooncake_medium 19.4 ± 1.3 μs 19.4 ± 14 μs 0.997 ± 0.7
cubic/gradients/comparison/zygote_medium 21.7 ± 1.4 μs 22.6 ± 15 μs 0.96 ± 0.63
cubic/gradients/forwarddiff/matrix_medium 15 ± 0.73 ms 15 ± 0.89 ms 0.999 ± 0.077
cubic/gradients/forwarddiff/matrix_small 0.603 ± 0.014 ms 0.603 ± 0.011 ms 1 ± 0.03
cubic/gradients/forwarddiff/vector_large 3.72 ± 0.97 ms 3.72 ± 1.1 ms 0.999 ± 0.39
cubic/gradients/forwarddiff/vector_medium 0.199 ± 0.011 ms 0.198 ± 0.01 ms 1.01 ± 0.076
cubic/gradients/forwarddiff/vector_small 10.1 ± 0.63 μs 10.1 ± 7.2 μs 1 ± 0.71
cubic/gradients/mooncake/matrix_medium 0.0895 ± 0.0023 ms 0.0829 ± 0.002 ms 1.08 ± 0.038
cubic/gradients/mooncake/matrix_small 20.1 ± 1.1 μs 17.8 ± 4.8 μs 1.13 ± 0.31
cubic/gradients/mooncake/vector_large 0.0798 ± 0.0036 ms 0.0794 ± 0.0033 ms 1 ± 0.062
cubic/gradients/mooncake/vector_medium 19 ± 1.3 μs 19.2 ± 13 μs 0.99 ± 0.7
cubic/gradients/mooncake/vector_small 4.6 ± 3.4 μs 4.72 ± 3.4 μs 0.975 ± 1
cubic/gradients/zygote/matrix_medium 0.0907 ± 0.0024 ms 0.0851 ± 0.002 ms 1.07 ± 0.038
cubic/gradients/zygote/matrix_small 22.4 ± 1.2 μs 21.2 ± 1.5 μs 1.06 ± 0.092
cubic/gradients/zygote/vector_large 0.0817 ± 0.0036 ms 0.0827 ± 0.0027 ms 0.988 ± 0.055
cubic/gradients/zygote/vector_medium 21.5 ± 9 μs 22.7 ± 16 μs 0.948 ± 0.76
cubic/gradients/zygote/vector_small 7.69 ± 4.8 μs 12.1 ± 6.3 μs 0.636 ± 0.52
cubic/scaling/eval_10 4.1 ± 0.39 μs 4.3 ± 4.1 μs 0.953 ± 0.91
cubic/scaling/eval_100 5.43 ± 0.37 μs 8.99 ± 5.3 μs 0.604 ± 0.36
cubic/scaling/eval_1000 19.5 ± 3.2 μs 19.2 ± 7 μs 1.01 ± 0.4
cubic/scaling/eval_250 8.02 ± 0.43 μs 8.14 ± 3.9 μs 0.985 ± 0.47
cubic/scaling/eval_50 4.73 ± 0.4 μs 4.95 ± 4.9 μs 0.956 ± 0.96
cubic/scaling/eval_500 11.8 ± 0.57 μs 11.8 ± 3.6 μs 1.01 ± 0.31
cubic/scaling/nodes_10 3.31 ± 1.9 μs 3.21 ± 1.8 μs 1.03 ± 0.82
cubic/scaling/nodes_100 5.54 ± 4 μs 8.78 ± 5.1 μs 0.631 ± 0.59
cubic/scaling/nodes_200 9.2 ± 0.55 μs 9.38 ± 8.5 μs 0.981 ± 0.89
cubic/scaling/nodes_25 2.33 ± 1.8 μs 4.01 ± 1.6 μs 0.583 ± 0.49
cubic/scaling/nodes_50 3.25 ± 0.29 μs 3.46 ± 3.1 μs 0.937 ± 0.83
cubic/scaling/nodes_500 18.8 ± 1.6 μs 18.8 ± 1.7 μs 0.999 ± 0.12
cubic_spline/construct_512 19.4 ± 3.8 μs 17.1 ± 1.7 μs 1.14 ± 0.25
cubic_spline/plan_512_to_8999 0.109 ± 0.016 ms 0.102 ± 0.011 ms 1.07 ± 0.19
cubic_spline/plan_construct_512_to_8999 4.03 ± 0.041 ms 4.01 ± 0.034 ms 1 ± 0.013
cubic_spline/prepared_512_to_8999 0.161 ± 0.0021 ms 0.161 ± 0.0016 ms 1 ± 0.016
cubic_spline/pure_512_to_8999 0.183 ± 0.0065 ms 0.18 ± 0.0048 ms 1.02 ± 0.045
normalization/matrix 16.8 ± 1.1 μs 16.1 ± 0.82 μs 1.05 ± 0.087
normalization/vector 0.1 ± 0.021 μs 0.1 ± 0.01 μs 1 ± 0.23
running/lux 3.31 ± 0.29 μs 5.1 ± 1.6 μs 0.65 ± 0.21
running/simplechains 2.16 ± 0.02 μs 2.13 ± 0.02 μs 1.01 ± 0.013
gradients/single_z/forward_D_z 0.0419 ± 0.0031 ms
background/dA_z_struct 1.72 ± 0.13 μs
vectorization/E_z_comprehension 5.2 ± 0.02 μs
background/E_z_lowz 0.2 ± 0.01 μs
vectorization/dM_z_scalar_loop 0.0671 ± 0.0071 ms
cubic_b_spline/basis_row_preselected 0.04 ± 0.01 μs
vectorization/dL_z_vectorized 0.0384 ± 0.002 ms
vectorization/f_z_comprehension 1.36 ± 0.046 ms
gradients/forward_D_z 0.056 ± 0.008 ms
vectorization/dA_z_scalar_loop 0.0669 ± 0.016 ms
vectorization/dL_z_comprehension 0.0675 ± 0.0081 ms
vectorization/r_z_vectorized 0.0377 ± 0.0025 ms
vectorization/r_z_scalar_loop 0.0652 ± 0.0064 ms
cubic_b_spline/factorization_512 21.5 ± 0.45 μs
vectorization/dL_z_scalar_loop 0.0678 ± 0.0086 ms
gradients/di_zygote_f_z 0.688 ± 0.071 ms
gradients/single_z/forward_r_z 1.65 ± 0.11 μs
gradients/zygote_f_z 0.713 ± 0.089 ms
cubic_b_spline/solve_vector_512 4.82 ± 0.17 μs
gradients/scaling/forwarddiff_D_z_small 0.0926 ± 0.0066 ms
gradients/single_z/di_mooncake_r_z 13.5 ± 0.61 μs
vectorization/E_z_vectorized 2.85 ± 0.03 μs
vectorization/dM_z_comprehension 0.0674 ± 0.0076 ms
cubic_b_spline/basis_stencil_512_to_8999 0.228 ± 0.013 ms
gradients/di_zygote_D_z 0.705 ± 0.083 ms
vectorization/D_z_vectorized 0.0481 ± 0.0025 ms
background/D_f_z_struct 0.044 ± 0.0015 ms
vectorization/f_z_scalar_loop 1.36 ± 0.047 ms
background/E_z_struct 0.2 ± 0.01 μs
gradients/forward_r_z 0.107 ± 0.028 ms
cubic_b_spline/plan_apply_128 16 ± 0.97 μs
background/E_z_highz 0.2 ± 0.01 μs
gradients/forward_f_z 0.0581 ± 0.01 ms
vectorization/D_z_comprehension 1.35 ± 0.052 ms
vectorization/S_of_K_vectorized 0.24 ± 0.01 μs
gradients/single_z/forwarddiff_f_z 0.0891 ± 0.0037 ms
vectorization/f_z_vectorized 0.0486 ± 0.0033 ms
vectorization/S_of_K_scalar_loop 0.24 ± 0.01 μs
gradients/di_mooncake_f_z 0.44 ± 0.025 ms
vectorization/D_f_z_comprehension 1.36 ± 0.046 ms
gradients/single_z/forward_f_z 0.0417 ± 0.0015 ms
gradients/parameter_sensitivity/lcdm_D_z 0.114 ± 0.0031 ms
vectorization/D_z_scalar_loop 1.34 ± 0.051 ms
background/E_z_construct_struct 0.21 ± 0.001 μs
background/dL_z_lowz 1.72 ± 0.12 μs
gradients/zygote_D_z 0.671 ± 0.045 ms
vectorization/D_f_z_scalar_loop 1.34 ± 0.052 ms
background/dL_z_struct 1.72 ± 0.13 μs
gradients/parameter_sensitivity/w0wa_D_z 0.12 ± 0.0027 ms
gradients/forwarddiff_D_z 0.113 ± 0.0031 ms
gradients/zygote_r_z 0.0893 ± 0.0058 s
gradients/single_z/di_mooncake_f_z 0.251 ± 0.014 ms
gradients/single_z/forwarddiff_D_z 0.0886 ± 0.0038 ms
vectorization/dM_z_vectorized 0.0385 ± 0.0019 ms
background/r_z_struct 1.65 ± 0.12 μs
cubic_b_spline/construct_512 0.0327 ± 0.00085 ms
cubic_b_spline/plan_construct_3000 0.518 ± 0.031 ms
vectorization/D_f_z_vectorized 0.0505 ± 0.0035 ms
background/dL_z_vector 0.0668 ± 0.0074 ms
gradients/scaling/di_mooncake_D_z_small 0.285 ± 0.019 ms
gradients/scaling/zygote_D_z_large 1.34 ± 0.13 ms
gradients/parameter_sensitivity/curved_D_z 0.113 ± 0.0031 ms
gradients/scaling/forward_D_z_large 0.101 ± 0.0089 ms
vectorization/r_z_comprehension 0.0655 ± 0.0075 ms
background/dL_z_construct_struct 1.79 ± 0.2 μs
gradients/single_z/zygote_f_z 0.49 ± 0.021 ms
cubic_b_spline/eval_vector_8999 0.24 ± 0.015 ms
gradients/di_zygote_r_z 0.0908 ± 0.0098 s
cubic_b_spline/plan_construct_512_to_8999 0.257 ± 0.013 ms
gradients/forwarddiff_f_z 0.116 ± 0.0033 ms
cubic_b_spline/plan_512_to_8999 19.6 ± 0.84 μs
cubic_b_spline/plan_construct_128 0.219 ± 0.0091 ms
gradients/di_mooncake_r_z 0.989 ± 0.022 ms
gradients/single_z/zygote_D_z 0.491 ± 0.022 ms
background/D_z_struct 0.044 ± 0.0015 ms
cubic_b_spline/basis_row_search 0.06 ± 0.01 μs
vectorization/E_z_scalar_loop 5.25 ± 0.02 μs
cubic_b_spline/plan_apply_3000 0.0413 ± 0.0014 ms
gradients/di_forwarddiff_f_z 0.115 ± 0.0029 ms
gradients/scaling/di_mooncake_D_z_large 1.09 ± 0.063 ms
gradients/single_z/zygote_r_z 0.829 ± 0.039 ms
gradients/di_forwarddiff_r_z 0.24 ± 0.065 ms
background/E_z_vector 5.43 ± 0.03 μs
background/Ωma_struct 0.201 ± 0.01 μs
cubic_b_spline/eval_scalar 0.06 ± 0.01 μs
background/E_a_struct 0.2 ± 0.009 μs
cubic_b_spline/reactant_stencil 0.178 ± 0.0091 ms
gradients/scaling/forwarddiff_D_z_large 0.22 ± 0.0099 ms
background/D_z_construct_struct 0.0441 ± 0.0015 ms
gradients/single_z/forwarddiff_r_z 2.73 ± 0.25 μs
gradients/single_z/di_mooncake_D_z 0.251 ± 0.014 ms
vectorization/dA_z_comprehension 0.0677 ± 0.0083 ms
vectorization/dA_z_vectorized 0.0386 ± 0.0023 ms
background/f_z_struct 0.044 ± 0.0015 ms
gradients/scaling/forward_D_z_small 0.0435 ± 0.00099 ms
gradients/di_mooncake_D_z 0.437 ± 0.045 ms
background/dL_z_highz 1.72 ± 0.14 μs
vectorization/S_of_K_comprehension 0.24 ± 0.001 μs
gradients/di_forwarddiff_D_z 0.113 ± 0.0028 ms
gradients/forwarddiff_r_z 0.246 ± 0.073 ms
cubic_b_spline/solve_matrix_512x10 0.0421 ± 0.00035 ms
gradients/scaling/zygote_D_z_small 0.503 ± 0.02 ms
time_to_load 2.72 ± 0.023 s 2.45 ± 0.013 s 1.11 ± 0.011
Memory benchmarks
a90fa44... 135b7e6... a90fa44... / 135b7e6...
akima/components/coefficients_large 19 allocs: 0.0675 MB 19 allocs: 0.0675 MB 1
akima/components/coefficients_medium 19 allocs: 14.9 kB 19 allocs: 14.9 kB 1
akima/components/coefficients_small 19 allocs: 3.62 kB 19 allocs: 3.62 kB 1
akima/components/slopes_large 4 allocs: 16.2 kB 4 allocs: 16.2 kB 1
akima/components/slopes_medium 4 allocs: 3.5 kB 4 allocs: 3.5 kB 1
akima/components/slopes_small 4 allocs: 0.844 kB 4 allocs: 0.844 kB 1
akima/forward/matrix_medium 0.048 k allocs: 0.0862 MB 0.048 k allocs: 0.0862 MB 1
akima/forward/matrix_small 0.047 k allocs: 20.3 kB 0.047 k allocs: 20.3 kB 1
akima/forward/vector_large 25 allocs: 0.095 MB 24 allocs: 0.0911 MB 1.04
akima/forward/vector_medium 25 allocs: 21.3 kB 24 allocs: 20.5 kB 1.04
akima/forward/vector_small 25 allocs: 5.16 kB 24 allocs: 4.95 kB 1.04
akima/gradients/comparison/di_forwarddiff_medium 0.235 k allocs: 1.96 MB 0.226 k allocs: 1.96 MB 1
akima/gradients/comparison/di_mooncake_medium 0.07 k allocs: 0.0545 MB 0.07 k allocs: 0.0545 MB 1
akima/gradients/comparison/di_zygote_medium 0.071 k allocs: 0.0542 MB 0.087 k allocs: 0.0561 MB 0.966
akima/gradients/comparison/forward_pass 25 allocs: 21.3 kB 24 allocs: 20.5 kB 1.04
akima/gradients/comparison/forwarddiff_medium 0.235 k allocs: 1.96 MB 0.226 k allocs: 1.96 MB 1
akima/gradients/comparison/zygote_medium 0.071 k allocs: 0.0542 MB 0.087 k allocs: 0.0561 MB 0.966
akima/gradients/di_forwarddiff/vector_medium 0.235 k allocs: 1.96 MB 0.226 k allocs: 1.96 MB 1
akima/gradients/di_zygote/matrix_medium 0.203 k allocs: 0.251 MB 0.224 k allocs: 0.278 MB 0.904
akima/gradients/di_zygote/vector_medium 0.071 k allocs: 0.0542 MB 0.087 k allocs: 0.0561 MB 0.966
akima/gradients/forwarddiff/matrix_medium 4.45 k allocs: 0.0864 GB 4.45 k allocs: 0.0864 GB 1
akima/gradients/forwarddiff/matrix_small 0.902 k allocs: 3.7 MB 0.902 k allocs: 3.7 MB 1
akima/gradients/forwarddiff/vector_large 1.89 k allocs: 0.0432 GB 1.85 k allocs: 0.0431 GB 1
akima/gradients/forwarddiff/vector_medium 0.235 k allocs: 1.96 MB 0.226 k allocs: 1.96 MB 1
akima/gradients/forwarddiff/vector_small 0.051 k allocs: 0.0796 MB 0.049 k allocs: 0.0792 MB 1.01
akima/gradients/mooncake/matrix_medium 0.186 k allocs: 0.274 MB 0.186 k allocs: 0.274 MB 1
akima/gradients/mooncake/matrix_small 0.184 k allocs: 0.0644 MB 0.184 k allocs: 0.0644 MB 1
akima/gradients/mooncake/vector_large 0.071 k allocs: 0.25 MB 0.071 k allocs: 0.25 MB 1
akima/gradients/mooncake/vector_medium 0.07 k allocs: 0.0545 MB 0.07 k allocs: 0.0545 MB 1
akima/gradients/mooncake/vector_small 0.07 k allocs: 14 kB 0.07 k allocs: 14 kB 1
akima/gradients/zygote/matrix_medium 0.203 k allocs: 0.251 MB 0.224 k allocs: 0.278 MB 0.904
akima/gradients/zygote/matrix_small 0.201 k allocs: 0.0594 MB 0.222 k allocs: 0.0679 MB 0.876
akima/gradients/zygote/vector_large 0.072 k allocs: 0.25 MB 0.088 k allocs: 0.252 MB 0.992
akima/gradients/zygote/vector_medium 0.071 k allocs: 0.0542 MB 0.087 k allocs: 0.0561 MB 0.966
akima/gradients/zygote/vector_small 0.071 k allocs: 13.6 kB 0.087 k allocs: 15.5 kB 0.874
akima/scaling/eval_10 25 allocs: 19.4 kB 24 allocs: 18.5 kB 1.05
akima/scaling/eval_100 25 allocs: 20.1 kB 24 allocs: 19.3 kB 1.05
akima/scaling/eval_1000 25 allocs: 27.2 kB 24 allocs: 26.3 kB 1.03
akima/scaling/eval_250 25 allocs: 21.3 kB 24 allocs: 20.5 kB 1.04
akima/scaling/eval_50 25 allocs: 19.8 kB 24 allocs: 18.9 kB 1.05
akima/scaling/eval_500 25 allocs: 23.3 kB 24 allocs: 22.5 kB 1.04
akima/scaling/nodes_10 25 allocs: 3.83 kB 24 allocs: 3.7 kB 1.03
akima/scaling/nodes_100 25 allocs: 20.1 kB 24 allocs: 19.3 kB 1.05
akima/scaling/nodes_200 25 allocs: 0.0388 MB 24 allocs: 0.0371 MB 1.05
akima/scaling/nodes_25 25 allocs: 6.45 kB 24 allocs: 6.2 kB 1.04
akima/scaling/nodes_50 25 allocs: 10.9 kB 24 allocs: 10.5 kB 1.04
akima/scaling/nodes_500 25 allocs: 0.0882 MB 24 allocs: 0.0842 MB 1.05
akima_spline/plan_512_to_8999 0.033 k allocs: 0.428 MB 0.033 k allocs: 0.428 MB 1
akima_spline/plan_construct_512_to_8999 6 allocs: 0.206 MB 6 allocs: 0.206 MB 1
akima_spline/pure_512_to_8999 26 allocs: 0.158 MB 25 allocs: 0.154 MB 1.03
chebyshev/forward/matrix_medium 4 allocs: 8.91 kB 4 allocs: 8.91 kB 1
chebyshev/forward/matrix_small 4 allocs: 2.08 kB 4 allocs: 2.08 kB 1
chebyshev/forward/polynomials_medium 0.103 k allocs: 0.393 MB 0.103 k allocs: 0.393 MB 1
chebyshev/forward/polynomials_small 22 allocs: 17.8 kB 22 allocs: 17.8 kB 1
chebyshev/forward/vector_large 2 allocs: 8.12 kB 2 allocs: 8.12 kB 1
chebyshev/forward/vector_medium 2 allocs: 1.75 kB 2 allocs: 1.75 kB 1
chebyshev/forward/vector_small 2 allocs: 0.438 kB 2 allocs: 0.438 kB 1
chebyshev/gradients/forwarddiff/vector_medium 0.0372 M allocs: 1.85 MB 0.0372 M allocs: 1.85 MB 1
chebyshev/gradients/forwarddiff/vector_small 1.19 k allocs: 0.0681 MB 1.19 k allocs: 0.0681 MB 1
chebyshev/gradients/mooncake/vector_medium 14 allocs: 4.98 kB 14 allocs: 4.98 kB 1
chebyshev/gradients/mooncake/vector_small 11 allocs: 1.66 kB 11 allocs: 1.66 kB 1
chebyshev/gradients/zygote/vector_medium 7 allocs: 4.41 kB 25 allocs: 5.8 kB 0.76
chebyshev/gradients/zygote/vector_small 7 allocs: 1.12 kB 25 allocs: 2.52 kB 0.447
chebyshev/multidim/forward_2d 7 allocs: 2.69 kB 7 allocs: 2.69 kB 1
chebyshev/multidim/zygote_2d 16 allocs: 7.52 kB 0.035 k allocs: 9.64 kB 0.78
cubic/components/coefficients_large 19 allocs: 0.0636 MB 19 allocs: 0.0636 MB 1
cubic/components/coefficients_medium 19 allocs: 14.1 kB 19 allocs: 14.1 kB 1
cubic/components/coefficients_small 19 allocs: 3.52 kB 19 allocs: 3.52 kB 1
cubic/components/eval_large 1 allocs: 7.94 kB 1 allocs: 7.94 kB 1
cubic/components/eval_medium 1 allocs: 2.06 kB 1 allocs: 2.06 kB 1
cubic/components/eval_small 1 allocs: 0.484 kB 1 allocs: 0.484 kB 1
cubic/forward/matrix_medium 21 allocs: 0.0468 MB 21 allocs: 0.0468 MB 1
cubic/forward/matrix_small 20 allocs: 10.7 kB 20 allocs: 10.7 kB 1
cubic/forward/vector_large 20 allocs: 0.0714 MB 20 allocs: 0.0714 MB 1
cubic/forward/vector_medium 20 allocs: 16.2 kB 20 allocs: 16.2 kB 1
cubic/forward/vector_small 20 allocs: 4 kB 20 allocs: 4 kB 1
cubic/gradients/comparison/forward_pass 20 allocs: 16.2 kB 20 allocs: 16.2 kB 1
cubic/gradients/comparison/forwarddiff_medium 0.235 k allocs: 0.873 MB 0.235 k allocs: 0.873 MB 1
cubic/gradients/comparison/mooncake_medium 0.063 k allocs: 0.0473 MB 0.063 k allocs: 0.0473 MB 1
cubic/gradients/comparison/zygote_medium 0.084 k allocs: 0.0474 MB 0.102 k allocs: 0.0499 MB 0.95
cubic/gradients/forwarddiff/matrix_medium 2.44 k allocs: 0.0409 GB 2.44 k allocs: 0.0409 GB 1
cubic/gradients/forwarddiff/matrix_small 0.494 k allocs: 1.71 MB 0.494 k allocs: 1.71 MB 1
cubic/gradients/forwarddiff/vector_large 1.34 k allocs: 19 MB 1.34 k allocs: 19 MB 1
cubic/gradients/forwarddiff/vector_medium 0.235 k allocs: 0.873 MB 0.235 k allocs: 0.873 MB 1
cubic/gradients/forwarddiff/vector_small 0.051 k allocs: 0.0368 MB 0.051 k allocs: 0.0368 MB 1
cubic/gradients/mooncake/matrix_medium 0.121 k allocs: 0.178 MB 0.061 k allocs: 0.126 MB 1.41
cubic/gradients/mooncake/matrix_small 0.119 k allocs: 0.0412 MB 0.059 k allocs: 29.6 kB 1.42
cubic/gradients/mooncake/vector_large 0.063 k allocs: 0.211 MB 0.063 k allocs: 0.211 MB 1
cubic/gradients/mooncake/vector_medium 0.063 k allocs: 0.0473 MB 0.063 k allocs: 0.0473 MB 1
cubic/gradients/mooncake/vector_small 0.063 k allocs: 12.5 kB 0.063 k allocs: 12.5 kB 1
cubic/gradients/zygote/matrix_medium 0.141 k allocs: 0.178 MB 0.1 k allocs: 0.129 MB 1.38
cubic/gradients/zygote/matrix_small 0.139 k allocs: 0.0413 MB 0.098 k allocs: 0.0318 MB 1.3
cubic/gradients/zygote/vector_large 0.084 k allocs: 0.211 MB 0.102 k allocs: 0.213 MB 0.988
cubic/gradients/zygote/vector_medium 0.084 k allocs: 0.0474 MB 0.102 k allocs: 0.0499 MB 0.95
cubic/gradients/zygote/vector_small 0.084 k allocs: 12.6 kB 0.102 k allocs: 15.2 kB 0.831
cubic/scaling/eval_10 20 allocs: 14.3 kB 20 allocs: 14.3 kB 1
cubic/scaling/eval_100 20 allocs: 15 kB 20 allocs: 15 kB 1
cubic/scaling/eval_1000 20 allocs: 22.1 kB 20 allocs: 22.1 kB 1
cubic/scaling/eval_250 20 allocs: 16.2 kB 20 allocs: 16.2 kB 1
cubic/scaling/eval_50 20 allocs: 14.6 kB 20 allocs: 14.6 kB 1
cubic/scaling/eval_500 20 allocs: 18.2 kB 20 allocs: 18.2 kB 1
cubic/scaling/nodes_10 20 allocs: 3.14 kB 20 allocs: 3.14 kB 1
cubic/scaling/nodes_100 20 allocs: 15 kB 20 allocs: 15 kB 1
cubic/scaling/nodes_200 20 allocs: 29.3 kB 20 allocs: 29.3 kB 1
cubic/scaling/nodes_25 20 allocs: 4.98 kB 20 allocs: 4.98 kB 1
cubic/scaling/nodes_50 20 allocs: 8.39 kB 20 allocs: 8.39 kB 1
cubic/scaling/nodes_500 20 allocs: 0.0645 MB 20 allocs: 0.0645 MB 1
cubic_spline/construct_512 19 allocs: 0.0647 MB 19 allocs: 0.0647 MB 1
cubic_spline/plan_512_to_8999 15 allocs: 0.485 MB 15 allocs: 0.485 MB 1
cubic_spline/plan_construct_512_to_8999 0.058 k allocs: 7.09 MB 0.058 k allocs: 7.09 MB 1
cubic_spline/prepared_512_to_8999 2 allocs: 0.0687 MB 2 allocs: 0.0687 MB 1
cubic_spline/pure_512_to_8999 21 allocs: 0.133 MB 21 allocs: 0.133 MB 1
normalization/matrix 2 allocs: 0.229 MB 2 allocs: 0.229 MB 1
normalization/vector 1 allocs: 0.875 kB 1 allocs: 0.875 kB 1
running/lux 0.05 k allocs: 5.17 kB 0.05 k allocs: 5.17 kB 1
running/simplechains 0 allocs: 0 B 0 allocs: 0 B
gradients/single_z/forward_D_z 0.067 k allocs: 4.9 kB
background/dA_z_struct 13 allocs: 1.3 kB
vectorization/E_z_comprehension 1 allocs: 0.297 kB
background/E_z_lowz 0 allocs: 0 B
vectorization/dM_z_scalar_loop 0.391 k allocs: 0.0383 MB
cubic_b_spline/basis_row_preselected 0 allocs: 0 B
vectorization/dL_z_vectorized 0.192 k allocs: 22.3 kB
vectorization/f_z_comprehension 2.01 k allocs: 0.144 MB
gradients/forward_D_z 0.171 k allocs: 26.9 kB
vectorization/dA_z_scalar_loop 0.391 k allocs: 0.0383 MB
vectorization/dL_z_comprehension 0.391 k allocs: 0.0383 MB
vectorization/r_z_vectorized 0.19 k allocs: 21.7 kB
vectorization/r_z_scalar_loop 0.391 k allocs: 0.0383 MB
cubic_b_spline/factorization_512 2 allocs: 28 kB
vectorization/dL_z_scalar_loop 0.391 k allocs: 0.0383 MB
gradients/di_zygote_f_z 3.65 k allocs: 0.325 MB
gradients/single_z/forward_r_z 13 allocs: 1.3 kB
gradients/zygote_f_z 3.65 k allocs: 0.325 MB
cubic_b_spline/solve_vector_512 6 allocs: 4.34 kB
gradients/scaling/forwarddiff_D_z_small 0.081 k allocs: 18.3 kB
gradients/single_z/di_mooncake_r_z 0.051 k allocs: 6.11 kB
vectorization/E_z_vectorized 3 allocs: 0.641 kB
vectorization/dM_z_comprehension 0.391 k allocs: 0.0383 MB
cubic_b_spline/basis_stencil_512_to_8999 16 allocs: 0.55 MB
gradients/di_zygote_D_z 3.62 k allocs: 0.315 MB
vectorization/D_z_vectorized 0.099 k allocs: 11 kB
background/D_f_z_struct 0.067 k allocs: 4.9 kB
vectorization/f_z_scalar_loop 2.01 k allocs: 0.144 MB
background/E_z_struct 0 allocs: 0 B
gradients/forward_r_z 0.611 k allocs: 0.0689 MB
cubic_b_spline/plan_apply_128 8 allocs: 0.07 MB
background/E_z_highz 0 allocs: 0 B
gradients/forward_f_z 0.173 k allocs: 28.6 kB
vectorization/D_z_comprehension 2.01 k allocs: 0.144 MB
vectorization/S_of_K_vectorized 1 allocs: 0.219 kB
gradients/single_z/forwarddiff_f_z 0.068 k allocs: 9.96 kB
vectorization/f_z_vectorized 0.101 k allocs: 11.6 kB
vectorization/S_of_K_scalar_loop 1 allocs: 0.219 kB
gradients/di_mooncake_f_z 2.67 k allocs: 0.263 MB
vectorization/D_f_z_comprehension 2.01 k allocs: 0.144 MB
gradients/single_z/forward_f_z 0.067 k allocs: 4.9 kB
gradients/parameter_sensitivity/lcdm_D_z 0.172 k allocs: 0.086 MB
vectorization/D_z_scalar_loop 2.01 k allocs: 0.144 MB
background/E_z_construct_struct 1 allocs: 0.109 kB
background/dL_z_lowz 13 allocs: 1.3 kB
gradients/zygote_D_z 3.62 k allocs: 0.315 MB
vectorization/D_f_z_scalar_loop 2.01 k allocs: 0.144 MB
background/dL_z_struct 13 allocs: 1.3 kB
gradients/parameter_sensitivity/w0wa_D_z 0.172 k allocs: 0.086 MB
gradients/forwarddiff_D_z 0.172 k allocs: 0.086 MB
gradients/zygote_r_z 0.422 M allocs: 0.439 GB
gradients/single_z/di_mooncake_f_z 0.416 k allocs: 0.0352 MB
gradients/single_z/forwarddiff_D_z 0.068 k allocs: 9.96 kB
vectorization/dM_z_vectorized 0.191 k allocs: 22 kB
background/r_z_struct 13 allocs: 1.3 kB
cubic_b_spline/construct_512 14 allocs: 0.044 MB
cubic_b_spline/plan_construct_3000 29 allocs: 0.848 MB
vectorization/D_f_z_vectorized 0.101 k allocs: 11.6 kB
background/dL_z_vector 0.391 k allocs: 0.0383 MB
gradients/scaling/di_mooncake_D_z_small 0.948 k allocs: 0.0735 MB
gradients/scaling/zygote_D_z_large 11.2 k allocs: 1.13 MB
gradients/parameter_sensitivity/curved_D_z 0.172 k allocs: 0.086 MB
gradients/scaling/forward_D_z_large 0.572 k allocs: 0.108 MB
vectorization/r_z_comprehension 0.391 k allocs: 0.0383 MB
background/dL_z_construct_struct 14 allocs: 1.41 kB
gradients/single_z/zygote_f_z 1.7 k allocs: 0.107 MB
cubic_b_spline/eval_vector_8999 18 allocs: 0.618 MB
gradients/di_zygote_r_z 0.422 M allocs: 0.439 GB
cubic_b_spline/plan_construct_512_to_8999 26 allocs: 0.658 MB
gradients/forwarddiff_f_z 0.174 k allocs: 0.0969 MB
cubic_b_spline/plan_512_to_8999 8 allocs: 0.073 MB
cubic_b_spline/plan_construct_128 25 allocs: 0.629 MB
gradients/di_mooncake_r_z 3.04 k allocs: 0.34 MB
gradients/single_z/zygote_D_z 1.7 k allocs: 0.106 MB
background/D_z_struct 0.067 k allocs: 4.9 kB
cubic_b_spline/basis_row_search 0 allocs: 0 B
vectorization/E_z_scalar_loop 1 allocs: 0.297 kB
cubic_b_spline/plan_apply_3000 9 allocs: 0.0919 MB
gradients/di_forwarddiff_f_z 0.174 k allocs: 0.0969 MB
gradients/scaling/di_mooncake_D_z_large 10.3 k allocs: 1.08 MB
gradients/single_z/zygote_r_z 5.44 k allocs: 4.89 MB
gradients/di_forwarddiff_r_z 0.612 k allocs: 0.182 MB
background/E_z_vector 1 allocs: 0.297 kB
background/Ωma_struct 0 allocs: 0 B
cubic_b_spline/eval_scalar 0 allocs: 0 B
background/E_a_struct 0 allocs: 0 B
cubic_b_spline/reactant_stencil 19 allocs: 0.828 kB
gradients/scaling/forwarddiff_D_z_large 0.577 k allocs: 0.383 MB
background/D_z_construct_struct 0.067 k allocs: 4.9 kB
gradients/single_z/forwarddiff_r_z 14 allocs: 2.84 kB
gradients/single_z/di_mooncake_D_z 0.416 k allocs: 0.0352 MB
vectorization/dA_z_comprehension 0.391 k allocs: 0.0383 MB
vectorization/dA_z_vectorized 0.192 k allocs: 22.3 kB
background/f_z_struct 0.067 k allocs: 4.9 kB
gradients/scaling/forward_D_z_small 0.08 k allocs: 7.21 kB
gradients/di_mooncake_D_z 2.66 k allocs: 0.259 MB
background/dL_z_highz 13 allocs: 1.3 kB
vectorization/S_of_K_comprehension 1 allocs: 0.219 kB
gradients/di_forwarddiff_D_z 0.172 k allocs: 0.086 MB
gradients/forwarddiff_r_z 0.612 k allocs: 0.182 MB
cubic_b_spline/solve_matrix_512x10 3 allocs: 0.0391 MB
gradients/scaling/zygote_D_z_small 1.91 k allocs: 0.131 MB
time_to_load 0.153 k allocs: 14.5 kB 0.153 k allocs: 14.5 kB 1

@github-actions

github-actions Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Benchmark Results (Julia v1.11)

Time benchmarks
a90fa44... 135b7e6... a90fa44... / 135b7e6...
akima/components/coefficients_large 5.97 ± 0.92 μs 5.86 ± 0.87 μs 1.02 ± 0.22
akima/components/coefficients_medium 5.05 ± 1.3 μs 4.92 ± 1.2 μs 1.03 ± 0.36
akima/components/coefficients_small 1.47 ± 1.3 μs 0.621 ± 1.1 μs 2.37 ± 4.8
akima/components/slopes_large 5.53 ± 0.28 μs 1.24 ± 0.7 μs 4.45 ± 2.5
akima/components/slopes_medium 1.32 ± 1.3 μs 1.2 ± 1.1 μs 1.1 ± 1.4
akima/components/slopes_small 0.1 ± 0.03 μs 0.091 ± 0.021 μs 1.1 ± 0.42
akima/forward/matrix_medium 17.4 ± 10 μs 25 ± 3.3 μs 0.694 ± 0.42
akima/forward/matrix_small 9.26 ± 2.4 μs 8.83 ± 2.2 μs 1.05 ± 0.37
akima/forward/vector_large 17.7 ± 2.5 μs 18.9 ± 2.2 μs 0.937 ± 0.17
akima/forward/vector_medium 8.75 ± 5.4 μs 9.21 ± 1.8 μs 0.95 ± 0.62
akima/forward/vector_small 1.99 ± 1.6 μs 1.38 ± 1.3 μs 1.44 ± 1.8
akima/gradients/comparison/di_forwarddiff_medium 0.314 ± 0.05 ms 0.352 ± 0.027 ms 0.892 ± 0.16
akima/gradients/comparison/di_mooncake_medium 24.5 ± 14 μs 24.2 ± 3.5 μs 1.01 ± 0.6
akima/gradients/comparison/di_zygote_medium 24 ± 3.9 μs 25 ± 3.8 μs 0.96 ± 0.21
akima/gradients/comparison/forward_pass 8.88 ± 2.4 μs 8.75 ± 1.7 μs 1.01 ± 0.34
akima/gradients/comparison/forwarddiff_medium 0.299 ± 0.057 ms 0.358 ± 0.029 ms 0.835 ± 0.17
akima/gradients/comparison/zygote_medium 24.2 ± 5.3 μs 24.1 ± 3.7 μs 1 ± 0.27
akima/gradients/di_forwarddiff/vector_medium 0.332 ± 0.035 ms 0.338 ± 0.029 ms 0.984 ± 0.13
akima/gradients/di_zygote/matrix_medium 0.0658 ± 0.029 ms 0.0882 ± 0.021 ms 0.745 ± 0.38
akima/gradients/di_zygote/vector_medium 24 ± 3.9 μs 24.3 ± 3.7 μs 0.987 ± 0.22
akima/gradients/forwarddiff/matrix_medium 18.4 ± 4.3 ms 27.2 ± 3.7 ms 0.677 ± 0.18
akima/gradients/forwarddiff/matrix_small 0.517 ± 0.066 ms 0.625 ± 0.043 ms 0.827 ± 0.12
akima/gradients/forwarddiff/vector_large 7.89 ± 1.7 ms 10.7 ± 1.3 ms 0.734 ± 0.18
akima/gradients/forwarddiff/vector_medium 0.236 ± 0.079 ms 0.357 ± 0.03 ms 0.661 ± 0.23
akima/gradients/forwarddiff/vector_small 26.6 ± 13 μs 26.9 ± 3.6 μs 0.989 ± 0.5
akima/gradients/mooncake/matrix_medium 0.0647 ± 0.0053 ms 0.0669 ± 0.027 ms 0.967 ± 0.39
akima/gradients/mooncake/matrix_small 30.9 ± 5.3 μs 30.9 ± 3.9 μs 1 ± 0.21
akima/gradients/mooncake/vector_large 0.0472 ± 0.0061 ms 0.0481 ± 0.0063 ms 0.98 ± 0.18
akima/gradients/mooncake/vector_medium 24.9 ± 4 μs 24.3 ± 3.7 μs 1.03 ± 0.23
akima/gradients/mooncake/vector_small 5.34 ± 3.7 μs 6.31 ± 3.3 μs 0.847 ± 0.73
akima/gradients/zygote/matrix_medium 0.0656 ± 0.03 ms 0.0911 ± 0.025 ms 0.72 ± 0.38
akima/gradients/zygote/matrix_small 31.4 ± 4.9 μs 0.0325 ± 0.0042 ms 0.966 ± 0.2
akima/gradients/zygote/vector_large 0.0482 ± 0.0057 ms 0.0504 ± 0.0046 ms 0.956 ± 0.14
akima/gradients/zygote/vector_medium 24.7 ± 4 μs 24.6 ± 3.7 μs 1 ± 0.22
akima/gradients/zygote/vector_small 5.17 ± 3.8 μs 6.55 ± 2.1 μs 0.789 ± 0.63
akima/scaling/eval_10 6.08 ± 4.2 μs 5.98 ± 1.4 μs 1.02 ± 0.74
akima/scaling/eval_100 7.47 ± 1.9 μs 7.1 ± 1.6 μs 1.05 ± 0.35
akima/scaling/eval_1000 16.1 ± 6 μs 16.1 ± 1.3 μs 0.998 ± 0.38
akima/scaling/eval_250 8.64 ± 4.9 μs 8.58 ± 1.8 μs 1.01 ± 0.61
akima/scaling/eval_50 6.97 ± 1.5 μs 6.29 ± 1.4 μs 1.11 ± 0.34
akima/scaling/eval_500 10.9 ± 1.7 μs 10.8 ± 1.3 μs 1.01 ± 0.2
akima/scaling/nodes_10 1.14 ± 1.2 μs 1.32 ± 0.62 μs 0.863 ± 1
akima/scaling/nodes_100 7.53 ± 2 μs 7.54 ± 1.7 μs 0.999 ± 0.34
akima/scaling/nodes_200 12.8 ± 2.9 μs 12 ± 2.7 μs 1.07 ± 0.34
akima/scaling/nodes_25 1.38 ± 0.43 μs 2.6 ± 0.39 μs 0.531 ± 0.18
akima/scaling/nodes_50 3.76 ± 2.7 μs 4.05 ± 1.2 μs 0.928 ± 0.73
akima/scaling/nodes_500 8.57 ± 3.6 μs 8.36 ± 1.1 μs 1.03 ± 0.45
akima_spline/plan_512_to_8999 0.0443 ± 0.0032 ms 0.047 ± 0.0036 ms 0.942 ± 0.1
akima_spline/plan_construct_512_to_8999 0.0848 ± 0.0077 ms 0.0907 ± 0.0077 ms 0.935 ± 0.12
akima_spline/pure_512_to_8999 0.105 ± 0.0056 ms 0.121 ± 0.0092 ms 0.864 ± 0.08
chebyshev/forward/matrix_medium 5.46 ± 0.72 μs 4.98 ± 0.55 μs 1.1 ± 0.19
chebyshev/forward/matrix_small 1.52 ± 1.3 μs 1.46 ± 0.02 μs 1.04 ± 0.91
chebyshev/forward/polynomials_medium 22.5 ± 6.8 μs 22.8 ± 5.3 μs 0.989 ± 0.38
chebyshev/forward/polynomials_small 4.09 ± 1.3 μs 3.6 ± 0.97 μs 1.14 ± 0.47
chebyshev/forward/vector_large 17.3 ± 1.2 μs 16.8 ± 0.43 μs 1.03 ± 0.077
chebyshev/forward/vector_medium 0.611 ± 1.3 μs 0.51 ± 0.08 μs 1.2 ± 2.5
chebyshev/forward/vector_small 0.191 ± 0.01 μs 0.2 ± 0.01 μs 0.955 ± 0.069
chebyshev/gradients/forwarddiff/vector_medium 3.55 ± 0.51 ms 3.39 ± 0.31 ms 1.05 ± 0.18
chebyshev/gradients/forwarddiff/vector_small 0.151 ± 0.017 ms 0.156 ± 0.014 ms 0.967 ± 0.14
chebyshev/gradients/mooncake/vector_medium 2.96 ± 1.1 μs 2.77 ± 0.49 μs 1.07 ± 0.43
chebyshev/gradients/mooncake/vector_small 0.681 ± 1.4 μs 0.801 ± 0.45 μs 0.85 ± 1.8
chebyshev/gradients/zygote/vector_medium 2.52 ± 1.2 μs 4.08 ± 1.4 μs 0.619 ± 0.37
chebyshev/gradients/zygote/vector_small 0.45 ± 0.27 μs 1.17 ± 1.4 μs 0.384 ± 0.52
chebyshev/multidim/forward_2d 2.38 ± 0.42 μs 2.28 ± 0.45 μs 1.04 ± 0.28
chebyshev/multidim/zygote_2d 4.98 ± 0.63 μs 7.75 ± 1.4 μs 0.642 ± 0.14
cubic/components/coefficients_large 12.4 ± 1 μs 13 ± 2.2 μs 0.959 ± 0.18
cubic/components/coefficients_medium 5.36 ± 3.5 μs 6.45 ± 1.4 μs 0.831 ± 0.57
cubic/components/coefficients_small 0.947 ± 1.3 μs 1.8 ± 1.4 μs 0.525 ± 0.83
cubic/components/eval_large 11.2 ± 0.19 μs 12.7 ± 0.32 μs 0.881 ± 0.027
cubic/components/eval_medium 2.43 ± 1.2 μs 2.53 ± 1.2 μs 0.958 ± 0.66
cubic/components/eval_small 0.37 ± 0.01 μs 0.381 ± 0.011 μs 0.971 ± 0.038
cubic/forward/matrix_medium 23.1 ± 11 μs 23 ± 5.1 μs 1 ± 0.53
cubic/forward/matrix_small 5.39 ± 1.1 μs 5.63 ± 1.3 μs 0.957 ± 0.3
cubic/forward/vector_large 23.8 ± 3.4 μs 26 ± 2.4 μs 0.915 ± 0.16
cubic/forward/vector_medium 5.25 ± 3.7 μs 9.02 ± 2 μs 0.582 ± 0.43
cubic/forward/vector_small 0.922 ± 0.21 μs 0.961 ± 0.36 μs 0.959 ± 0.42
cubic/gradients/comparison/forward_pass 5.73 ± 3.8 μs 8.76 ± 4 μs 0.654 ± 0.53
cubic/gradients/comparison/forwarddiff_medium 0.107 ± 0.014 ms 0.123 ± 0.009 ms 0.871 ± 0.13
cubic/gradients/comparison/mooncake_medium 20.9 ± 11 μs 23.1 ± 11 μs 0.903 ± 0.63
cubic/gradients/comparison/zygote_medium 25.3 ± 7.2 μs 27.1 ± 4.6 μs 0.936 ± 0.31
cubic/gradients/forwarddiff/matrix_medium 8.17 ± 0.78 ms 8.63 ± 0.92 ms 0.946 ± 0.14
cubic/gradients/forwarddiff/matrix_small 0.337 ± 0.02 ms 0.337 ± 0.018 ms 0.998 ± 0.079
cubic/gradients/forwarddiff/vector_large 2.74 ± 0.4 ms 3.06 ± 0.88 ms 0.895 ± 0.29
cubic/gradients/forwarddiff/vector_medium 0.119 ± 0.012 ms 0.13 ± 0.011 ms 0.911 ± 0.12
cubic/gradients/forwarddiff/vector_small 10.8 ± 6.7 μs 12.4 ± 6.5 μs 0.874 ± 0.71
cubic/gradients/mooncake/matrix_medium 0.0655 ± 0.0043 ms 0.0618 ± 0.0032 ms 1.06 ± 0.089
cubic/gradients/mooncake/matrix_small 20.8 ± 7.8 μs 18.1 ± 2.5 μs 1.15 ± 0.46
cubic/gradients/mooncake/vector_large 0.0597 ± 0.0043 ms 0.0583 ± 0.0042 ms 1.02 ± 0.1
cubic/gradients/mooncake/vector_medium 23 ± 11 μs 24.6 ± 3.8 μs 0.937 ± 0.46
cubic/gradients/mooncake/vector_small 5.24 ± 3.2 μs 5.27 ± 3.3 μs 0.994 ± 0.87
cubic/gradients/zygote/matrix_medium 0.0688 ± 0.013 ms 0.066 ± 0.0091 ms 1.04 ± 0.25
cubic/gradients/zygote/matrix_small 23.1 ± 6.6 μs 21.3 ± 3 μs 1.09 ± 0.35
cubic/gradients/zygote/vector_large 0.0579 ± 0.0073 ms 0.0625 ± 0.0063 ms 0.926 ± 0.15
cubic/gradients/zygote/vector_medium 25.5 ± 4.3 μs 28.5 ± 3.8 μs 0.893 ± 0.19
cubic/gradients/zygote/vector_small 7.03 ± 3 μs 8.69 ± 4 μs 0.809 ± 0.51
cubic/scaling/eval_10 5.64 ± 3.6 μs 6.76 ± 1.4 μs 0.834 ± 0.55
cubic/scaling/eval_100 6.63 ± 3.6 μs 6.36 ± 3.5 μs 1.04 ± 0.8
cubic/scaling/eval_1000 15.3 ± 2.7 μs 15.1 ± 2.2 μs 1.01 ± 0.23
cubic/scaling/eval_250 8.4 ± 4 μs 8.84 ± 2 μs 0.95 ± 0.49
cubic/scaling/eval_50 5.86 ± 3.3 μs 6.87 ± 1.3 μs 0.853 ± 0.51
cubic/scaling/eval_500 10.5 ± 3.7 μs 10.9 ± 1.7 μs 0.965 ± 0.37
cubic/scaling/nodes_10 1.18 ± 1.2 μs 1.24 ± 1.3 μs 0.952 ± 1.4
cubic/scaling/nodes_100 6.37 ± 3.1 μs 7.41 ± 1.3 μs 0.859 ± 0.45
cubic/scaling/nodes_200 12 ± 1.8 μs 12.8 ± 2.1 μs 0.933 ± 0.21
cubic/scaling/nodes_25 1.38 ± 0.24 μs 2.64 ± 1.5 μs 0.523 ± 0.3
cubic/scaling/nodes_50 4.45 ± 1.7 μs 4.61 ± 0.28 μs 0.965 ± 0.38
cubic/scaling/nodes_500 13.8 ± 1.4 μs 13.9 ± 2.2 μs 0.993 ± 0.19
cubic_spline/construct_512 12.9 ± 4.7 μs 12.1 ± 3.4 μs 1.06 ± 0.49
cubic_spline/plan_512_to_8999 0.081 ± 0.026 ms 0.0709 ± 0.014 ms 1.14 ± 0.42
cubic_spline/plan_construct_512_to_8999 3.57 ± 1.7 ms 3.6 ± 1 ms 0.993 ± 0.56
cubic_spline/prepared_512_to_8999 0.107 ± 0.0059 ms 0.0992 ± 0.0056 ms 1.08 ± 0.085
cubic_spline/pure_512_to_8999 0.123 ± 0.0065 ms 0.115 ± 0.005 ms 1.07 ± 0.074
normalization/matrix 11.7 ± 0.97 μs 12.2 ± 1.2 μs 0.957 ± 0.13
normalization/vector 0.08 ± 0.011 μs 0.08 ± 0.02 μs 1 ± 0.29
running/lux 4.97 ± 0.31 μs 6.13 ± 1.4 μs 0.81 ± 0.19
running/simplechains 1.7 ± 0.02 μs 1.61 ± 0.021 μs 1.06 ± 0.019
gradients/single_z/forward_D_z 0.0396 ± 0.00051 ms
background/dA_z_struct 1.4 ± 0.06 μs
vectorization/E_z_comprehension 4.99 ± 0.031 μs
background/E_z_lowz 0.18 ± 0.009 μs
vectorization/dM_z_scalar_loop 0.05 ± 0.0034 ms
cubic_b_spline/basis_row_preselected 0.04 ± 0 μs
vectorization/dL_z_vectorized 0.0318 ± 0.0035 ms
vectorization/f_z_comprehension 1.26 ± 0.03 ms
gradients/forward_D_z 0.0513 ± 0.0044 ms
vectorization/dA_z_scalar_loop 0.0522 ± 0.0037 ms
vectorization/dL_z_comprehension 0.0514 ± 0.0034 ms
vectorization/r_z_vectorized 0.0322 ± 0.0047 ms
vectorization/r_z_scalar_loop 0.0483 ± 0.0032 ms
cubic_b_spline/factorization_512 27.2 ± 6.7 μs
vectorization/dL_z_scalar_loop 0.0515 ± 0.0035 ms
gradients/di_zygote_f_z 0.613 ± 0.093 ms
gradients/single_z/forward_r_z 1.34 ± 0.03 μs
gradients/zygote_f_z 0.636 ± 0.087 ms
cubic_b_spline/solve_vector_512 5.72 ± 0.26 μs
gradients/scaling/forwarddiff_D_z_small 0.0728 ± 0.0031 ms
gradients/single_z/di_mooncake_r_z 10 ± 0.81 μs
vectorization/E_z_vectorized 2.65 ± 0.02 μs
vectorization/dM_z_comprehension 0.0504 ± 0.0045 ms
cubic_b_spline/basis_stencil_512_to_8999 0.148 ± 0.0072 ms
gradients/di_zygote_D_z 0.624 ± 0.086 ms
vectorization/D_z_vectorized 0.0444 ± 0.0017 ms
background/D_f_z_struct 0.0416 ± 0.0008 ms
vectorization/f_z_scalar_loop 1.24 ± 0.049 ms
background/E_z_struct 0.18 ± 0.001 μs
gradients/forward_r_z 0.111 ± 0.0048 ms
cubic_b_spline/plan_apply_128 11.4 ± 0.59 μs
background/E_z_highz 0.18 ± 0.01 μs
gradients/forward_f_z 0.0521 ± 0.0047 ms
vectorization/D_z_comprehension 1.26 ± 0.035 ms
vectorization/S_of_K_vectorized 0.171 ± 0.01 μs
gradients/single_z/forwarddiff_f_z 0.0667 ± 0.001 ms
vectorization/f_z_vectorized 0.0443 ± 0.0019 ms
vectorization/S_of_K_scalar_loop 0.17 ± 0.01 μs
gradients/di_mooncake_f_z 0.321 ± 0.02 ms
vectorization/D_f_z_comprehension 1.26 ± 0.036 ms
gradients/single_z/forward_f_z 0.0401 ± 0.00054 ms
gradients/parameter_sensitivity/lcdm_D_z 0.0944 ± 0.0071 ms
vectorization/D_z_scalar_loop 1.23 ± 0.051 ms
background/E_z_construct_struct 0.181 ± 0.01 μs
background/dL_z_lowz 1.43 ± 0.05 μs
gradients/zygote_D_z 0.584 ± 0.086 ms
vectorization/D_f_z_scalar_loop 1.24 ± 0.043 ms
background/dL_z_struct 1.43 ± 0.06 μs
gradients/parameter_sensitivity/w0wa_D_z 0.104 ± 0.016 ms
gradients/forwarddiff_D_z 0.0936 ± 0.0088 ms
gradients/zygote_r_z 0.0517 ± 0.0061 s
gradients/single_z/di_mooncake_f_z 0.218 ± 0.0068 ms
gradients/single_z/forwarddiff_D_z 0.0698 ± 0.0025 ms
vectorization/dM_z_vectorized 0.0317 ± 0.005 ms
background/r_z_struct 1.3 ± 0.04 μs
cubic_b_spline/construct_512 0.0335 ± 0.0018 ms
cubic_b_spline/plan_construct_3000 0.5 ± 0.018 ms
vectorization/D_f_z_vectorized 0.045 ± 0.0017 ms
background/dL_z_vector 0.0523 ± 0.0092 ms
gradients/scaling/di_mooncake_D_z_small 0.228 ± 0.013 ms
gradients/scaling/zygote_D_z_large 1.04 ± 0.16 ms
gradients/parameter_sensitivity/curved_D_z 0.0921 ± 0.017 ms
gradients/scaling/forward_D_z_large 0.0789 ± 0.0079 ms
vectorization/r_z_comprehension 0.0509 ± 0.0038 ms
background/dL_z_construct_struct 1.39 ± 0.07 μs
gradients/single_z/zygote_f_z 0.477 ± 0.024 ms
cubic_b_spline/eval_vector_8999 0.156 ± 0.0063 ms
gradients/di_zygote_r_z 0.0549 ± 0.016 s
cubic_b_spline/plan_construct_512_to_8999 0.179 ± 0.0079 ms
gradients/forwarddiff_f_z 0.0953 ± 0.0096 ms
cubic_b_spline/plan_512_to_8999 15.6 ± 0.72 μs
cubic_b_spline/plan_construct_128 0.148 ± 0.0065 ms
gradients/di_mooncake_r_z 0.742 ± 0.017 ms
gradients/single_z/zygote_D_z 0.465 ± 0.039 ms
background/D_z_struct 0.042 ± 0.00064 ms
cubic_b_spline/basis_row_search 0.05 ± 0.01 μs
vectorization/E_z_scalar_loop 5 ± 0.059 μs
cubic_b_spline/plan_apply_3000 0.0449 ± 0.0026 ms
gradients/di_forwarddiff_f_z 0.0952 ± 0.0093 ms
gradients/scaling/di_mooncake_D_z_large 0.773 ± 0.037 ms
gradients/single_z/zygote_r_z 0.529 ± 0.056 ms
gradients/di_forwarddiff_r_z 0.203 ± 0.0099 ms
background/E_z_vector 5.36 ± 0.06 μs
background/Ωma_struct 0.19 ± 0.009 μs
cubic_b_spline/eval_scalar 0.05 ± 0 μs
background/E_a_struct 0.18 ± 0.009 μs
cubic_b_spline/reactant_stencil 0.176 ± 0.038 ms
gradients/scaling/forwarddiff_D_z_large 0.159 ± 0.0079 ms
background/D_z_construct_struct 0.0406 ± 0.0014 ms
gradients/single_z/forwarddiff_r_z 2.29 ± 0.29 μs
gradients/single_z/di_mooncake_D_z 0.219 ± 0.0075 ms
vectorization/dA_z_comprehension 0.052 ± 0.0049 ms
vectorization/dA_z_vectorized 0.032 ± 0.0047 ms
background/f_z_struct 0.0421 ± 0.00062 ms
gradients/scaling/forward_D_z_small 0.0403 ± 0.0013 ms
gradients/di_mooncake_D_z 0.327 ± 0.048 ms
background/dL_z_highz 1.42 ± 0.05 μs
vectorization/S_of_K_comprehension 0.18 ± 0.001 μs
gradients/di_forwarddiff_D_z 0.089 ± 0.016 ms
gradients/forwarddiff_r_z 0.195 ± 0.014 ms
cubic_b_spline/solve_matrix_512x10 0.0481 ± 0.0021 ms
gradients/scaling/zygote_D_z_small 0.482 ± 0.055 ms
time_to_load 3.9 ± 0.015 s 3.62 ± 0.11 s 1.08 ± 0.034
Memory benchmarks
a90fa44... 135b7e6... a90fa44... / 135b7e6...
akima/components/coefficients_large 0.051 k allocs: 0.0665 MB 0.051 k allocs: 0.0665 MB 1
akima/components/coefficients_medium 0.034 k allocs: 14.7 kB 0.034 k allocs: 14.7 kB 1
akima/components/coefficients_small 0.034 k allocs: 3.61 kB 0.034 k allocs: 3.61 kB 1
akima/components/slopes_large 12 allocs: 16 kB 12 allocs: 16 kB 1
akima/components/slopes_medium 8 allocs: 3.39 kB 8 allocs: 3.39 kB 1
akima/components/slopes_small 8 allocs: 0.844 kB 8 allocs: 0.844 kB 1
akima/forward/matrix_medium 0.099 k allocs: 0.0864 MB 0.099 k allocs: 0.0864 MB 1
akima/forward/matrix_small 0.095 k allocs: 20.3 kB 0.095 k allocs: 20.3 kB 1
akima/forward/vector_large 0.069 k allocs: 0.0938 MB 0.066 k allocs: 0.0899 MB 1.04
akima/forward/vector_medium 0.046 k allocs: 20.9 kB 0.044 k allocs: 20.1 kB 1.04
akima/forward/vector_small 0.046 k allocs: 5.12 kB 0.044 k allocs: 4.92 kB 1.04
akima/gradients/comparison/di_forwarddiff_medium 0.595 k allocs: 1.95 MB 0.577 k allocs: 1.95 MB 1
akima/gradients/comparison/di_mooncake_medium 0.126 k allocs: 0.0535 MB 0.126 k allocs: 0.0535 MB 1
akima/gradients/comparison/di_zygote_medium 0.122 k allocs: 0.0531 MB 0.141 k allocs: 0.055 MB 0.964
akima/gradients/comparison/forward_pass 0.046 k allocs: 20.9 kB 0.044 k allocs: 20.1 kB 1.04
akima/gradients/comparison/forwarddiff_medium 0.595 k allocs: 1.95 MB 0.577 k allocs: 1.95 MB 1
akima/gradients/comparison/zygote_medium 0.122 k allocs: 0.0531 MB 0.141 k allocs: 0.055 MB 0.964
akima/gradients/di_forwarddiff/vector_medium 0.595 k allocs: 1.95 MB 0.577 k allocs: 1.95 MB 1
akima/gradients/di_zygote/matrix_medium 0.337 k allocs: 0.251 MB 0.346 k allocs: 0.274 MB 0.916
akima/gradients/di_zygote/vector_medium 0.122 k allocs: 0.0531 MB 0.141 k allocs: 0.055 MB 0.964
akima/gradients/forwarddiff/matrix_medium 11.8 k allocs: 0.0862 GB 11.8 k allocs: 0.0862 GB 1
akima/gradients/forwarddiff/matrix_small 2.21 k allocs: 3.68 MB 2.21 k allocs: 3.68 MB 1
akima/gradients/forwarddiff/vector_large 2.9 k allocs: 0.0433 GB 2.77 k allocs: 0.0431 GB 1
akima/gradients/forwarddiff/vector_medium 0.595 k allocs: 1.95 MB 0.577 k allocs: 1.95 MB 1
akima/gradients/forwarddiff/vector_small 0.097 k allocs: 0.0779 MB 0.093 k allocs: 0.0775 MB 1.01
akima/gradients/mooncake/matrix_medium 0.325 k allocs: 0.274 MB 0.325 k allocs: 0.274 MB 1
akima/gradients/mooncake/matrix_small 0.31 k allocs: 0.0635 MB 0.31 k allocs: 0.0635 MB 1
akima/gradients/mooncake/vector_large 0.185 k allocs: 0.243 MB 0.185 k allocs: 0.243 MB 1
akima/gradients/mooncake/vector_medium 0.126 k allocs: 0.0535 MB 0.126 k allocs: 0.0535 MB 1
akima/gradients/mooncake/vector_small 0.126 k allocs: 13.8 kB 0.126 k allocs: 13.8 kB 1
akima/gradients/zygote/matrix_medium 0.337 k allocs: 0.251 MB 0.346 k allocs: 0.274 MB 0.916
akima/gradients/zygote/matrix_small 0.325 k allocs: 0.0584 MB 0.331 k allocs: 0.0632 MB 0.924
akima/gradients/zygote/vector_large 0.181 k allocs: 0.242 MB 0.2 k allocs: 0.244 MB 0.992
akima/gradients/zygote/vector_medium 0.122 k allocs: 0.0531 MB 0.141 k allocs: 0.055 MB 0.964
akima/gradients/zygote/vector_small 0.122 k allocs: 13.4 kB 0.141 k allocs: 15.4 kB 0.869
akima/scaling/eval_10 0.046 k allocs: 19.1 kB 0.044 k allocs: 18.2 kB 1.05
akima/scaling/eval_100 0.046 k allocs: 19.8 kB 0.044 k allocs: 19 kB 1.04
akima/scaling/eval_1000 0.047 k allocs: 26.8 kB 0.045 k allocs: 26 kB 1.03
akima/scaling/eval_250 0.046 k allocs: 20.9 kB 0.044 k allocs: 20.1 kB 1.04
akima/scaling/eval_50 0.046 k allocs: 19.4 kB 0.044 k allocs: 18.6 kB 1.04
akima/scaling/eval_500 0.047 k allocs: 22.9 kB 0.045 k allocs: 22.1 kB 1.04
akima/scaling/nodes_10 0.046 k allocs: 3.84 kB 0.044 k allocs: 3.72 kB 1.03
akima/scaling/nodes_100 0.046 k allocs: 19.8 kB 0.044 k allocs: 19 kB 1.04
akima/scaling/nodes_200 0.046 k allocs: 0.0363 MB 0.044 k allocs: 0.0347 MB 1.05
akima/scaling/nodes_25 0.046 k allocs: 6.47 kB 0.044 k allocs: 6.22 kB 1.04
akima/scaling/nodes_50 0.046 k allocs: 11.2 kB 0.044 k allocs: 10.8 kB 1.04
akima/scaling/nodes_500 0.068 k allocs: 0.087 MB 0.065 k allocs: 0.0831 MB 1.05
akima_spline/plan_512_to_8999 0.078 k allocs: 0.427 MB 0.078 k allocs: 0.427 MB 1
akima_spline/plan_construct_512_to_8999 9 allocs: 0.206 MB 9 allocs: 0.206 MB 1
akima_spline/pure_512_to_8999 0.069 k allocs: 0.156 MB 0.066 k allocs: 0.152 MB 1.03
chebyshev/forward/matrix_medium 6 allocs: 8.85 kB 6 allocs: 8.85 kB 1
chebyshev/forward/matrix_small 5 allocs: 1.91 kB 5 allocs: 1.91 kB 1
chebyshev/forward/polynomials_medium 0.205 k allocs: 0.389 MB 0.205 k allocs: 0.389 MB 1
chebyshev/forward/polynomials_small 0.045 k allocs: 17.5 kB 0.045 k allocs: 17.5 kB 1
chebyshev/forward/vector_large 6 allocs: 8.02 kB 6 allocs: 8.02 kB 1
chebyshev/forward/vector_medium 4 allocs: 1.81 kB 4 allocs: 1.81 kB 1
chebyshev/forward/vector_small 4 allocs: 0.438 kB 4 allocs: 0.438 kB 1
chebyshev/gradients/forwarddiff/vector_medium 0.0384 M allocs: 1.86 MB 0.0384 M allocs: 1.86 MB 1
chebyshev/gradients/forwarddiff/vector_small 1.24 k allocs: 0.0673 MB 1.24 k allocs: 0.0673 MB 1
chebyshev/gradients/mooncake/vector_medium 16 allocs: 5.06 kB 16 allocs: 5.06 kB 1
chebyshev/gradients/mooncake/vector_small 16 allocs: 1.62 kB 16 allocs: 1.62 kB 1
chebyshev/gradients/zygote/vector_medium 12 allocs: 4.56 kB 30 allocs: 5.95 kB 0.766
chebyshev/gradients/zygote/vector_small 12 allocs: 1.12 kB 30 allocs: 2.52 kB 0.447
chebyshev/multidim/forward_2d 9 allocs: 2.55 kB 9 allocs: 2.55 kB 1
chebyshev/multidim/zygote_2d 23 allocs: 7.23 kB 0.041 k allocs: 9.34 kB 0.774
cubic/components/coefficients_large 0.051 k allocs: 0.0628 MB 0.051 k allocs: 0.0628 MB 1
cubic/components/coefficients_medium 0.035 k allocs: 14 kB 0.035 k allocs: 14 kB 1
cubic/components/coefficients_small 0.035 k allocs: 3.52 kB 0.035 k allocs: 3.52 kB 1
cubic/components/eval_large 3 allocs: 7.88 kB 3 allocs: 7.88 kB 1
cubic/components/eval_medium 2 allocs: 2.02 kB 2 allocs: 2.02 kB 1
cubic/components/eval_small 2 allocs: 0.469 kB 2 allocs: 0.469 kB 1
cubic/forward/matrix_medium 0.04 k allocs: 0.0465 MB 0.04 k allocs: 0.0465 MB 1
cubic/forward/matrix_small 0.038 k allocs: 10.4 kB 0.038 k allocs: 10.4 kB 1
cubic/forward/vector_large 0.054 k allocs: 0.0705 MB 0.054 k allocs: 0.0705 MB 1
cubic/forward/vector_medium 0.037 k allocs: 16 kB 0.037 k allocs: 16 kB 1
cubic/forward/vector_small 0.037 k allocs: 3.98 kB 0.037 k allocs: 3.98 kB 1
cubic/gradients/comparison/forward_pass 0.037 k allocs: 16 kB 0.037 k allocs: 16 kB 1
cubic/gradients/comparison/forwarddiff_medium 0.478 k allocs: 0.869 MB 0.478 k allocs: 0.869 MB 1
cubic/gradients/comparison/mooncake_medium 0.113 k allocs: 0.0467 MB 0.113 k allocs: 0.0467 MB 1
cubic/gradients/comparison/zygote_medium 0.134 k allocs: 0.0469 MB 0.152 k allocs: 0.0494 MB 0.949
cubic/gradients/forwarddiff/matrix_medium 4.54 k allocs: 0.0409 GB 4.54 k allocs: 0.0409 GB 1
cubic/gradients/forwarddiff/matrix_small 0.868 k allocs: 1.71 MB 0.868 k allocs: 1.71 MB 1
cubic/gradients/forwarddiff/vector_large 2.81 k allocs: 19 MB 2.81 k allocs: 19 MB 1
cubic/gradients/forwarddiff/vector_medium 0.478 k allocs: 0.869 MB 0.478 k allocs: 0.869 MB 1
cubic/gradients/forwarddiff/vector_small 0.095 k allocs: 0.0354 MB 0.095 k allocs: 0.0354 MB 1
cubic/gradients/mooncake/matrix_medium 0.234 k allocs: 0.176 MB 0.114 k allocs: 0.126 MB 1.4
cubic/gradients/mooncake/matrix_small 0.227 k allocs: 0.0402 MB 0.107 k allocs: 28.6 kB 1.44
cubic/gradients/mooncake/vector_large 0.163 k allocs: 0.208 MB 0.163 k allocs: 0.208 MB 1
cubic/gradients/mooncake/vector_medium 0.113 k allocs: 0.0467 MB 0.113 k allocs: 0.0467 MB 1
cubic/gradients/mooncake/vector_small 0.113 k allocs: 12.4 kB 0.113 k allocs: 12.4 kB 1
cubic/gradients/zygote/matrix_medium 0.255 k allocs: 0.176 MB 0.153 k allocs: 0.129 MB 1.37
cubic/gradients/zygote/matrix_small 0.248 k allocs: 0.0403 MB 0.146 k allocs: 31.6 kB 1.31
cubic/gradients/zygote/vector_large 0.184 k allocs: 0.208 MB 0.202 k allocs: 0.211 MB 0.988
cubic/gradients/zygote/vector_medium 0.134 k allocs: 0.0469 MB 0.152 k allocs: 0.0494 MB 0.949
cubic/gradients/zygote/vector_small 0.134 k allocs: 12.6 kB 0.152 k allocs: 15.1 kB 0.831
cubic/scaling/eval_10 0.037 k allocs: 14.2 kB 0.037 k allocs: 14.2 kB 1
cubic/scaling/eval_100 0.037 k allocs: 14.9 kB 0.037 k allocs: 14.9 kB 1
cubic/scaling/eval_1000 0.038 k allocs: 21.9 kB 0.038 k allocs: 21.9 kB 1
cubic/scaling/eval_250 0.037 k allocs: 16 kB 0.037 k allocs: 16 kB 1
cubic/scaling/eval_50 0.037 k allocs: 14.5 kB 0.037 k allocs: 14.5 kB 1
cubic/scaling/eval_500 0.038 k allocs: 18 kB 0.038 k allocs: 18 kB 1
cubic/scaling/nodes_10 0.037 k allocs: 3.17 kB 0.037 k allocs: 3.17 kB 1
cubic/scaling/nodes_100 0.037 k allocs: 14.9 kB 0.037 k allocs: 14.9 kB 1
cubic/scaling/nodes_200 0.037 k allocs: 27 kB 0.037 k allocs: 27 kB 1
cubic/scaling/nodes_25 0.037 k allocs: 5.02 kB 0.037 k allocs: 5.02 kB 1
cubic/scaling/nodes_50 0.037 k allocs: 8.55 kB 0.037 k allocs: 8.55 kB 1
cubic/scaling/nodes_500 0.053 k allocs: 0.0636 MB 0.053 k allocs: 0.0636 MB 1
cubic_spline/construct_512 0.051 k allocs: 0.0638 MB 0.051 k allocs: 0.0638 MB 1
cubic_spline/plan_512_to_8999 24 allocs: 0.485 MB 24 allocs: 0.485 MB 1
cubic_spline/plan_construct_512_to_8999 0.102 k allocs: 7.09 MB 0.102 k allocs: 7.09 MB 1
cubic_spline/prepared_512_to_8999 3 allocs: 0.0687 MB 3 allocs: 0.0687 MB 1
cubic_spline/pure_512_to_8999 0.054 k allocs: 0.133 MB 0.054 k allocs: 0.133 MB 1
normalization/matrix 3 allocs: 0.229 MB 3 allocs: 0.229 MB 1
normalization/vector 2 allocs: 0.906 kB 2 allocs: 0.906 kB 1
running/lux 0.034 k allocs: 4.23 kB 0.034 k allocs: 4.23 kB 1
running/simplechains 0 allocs: 0 B 0 allocs: 0 B
gradients/single_z/forward_D_z 0.086 k allocs: 4.62 kB
background/dA_z_struct 21 allocs: 1.25 kB
vectorization/E_z_comprehension 2 allocs: 0.297 kB
background/E_z_lowz 0 allocs: 0 B
vectorization/dM_z_scalar_loop 0.632 k allocs: 0.0369 MB
cubic_b_spline/basis_row_preselected 0 allocs: 0 B
vectorization/dL_z_vectorized 0.321 k allocs: 20.9 kB
vectorization/f_z_comprehension 2.58 k allocs: 0.136 MB
gradients/forward_D_z 0.294 k allocs: 26.6 kB
vectorization/dA_z_scalar_loop 0.632 k allocs: 0.0369 MB
vectorization/dL_z_comprehension 0.632 k allocs: 0.0369 MB
vectorization/r_z_vectorized 0.317 k allocs: 20.3 kB
vectorization/r_z_scalar_loop 0.632 k allocs: 0.0369 MB
cubic_b_spline/factorization_512 3 allocs: 28.1 kB
vectorization/dL_z_scalar_loop 0.632 k allocs: 0.0369 MB
gradients/di_zygote_f_z 7.5 k allocs: 0.472 MB
gradients/single_z/forward_r_z 21 allocs: 1.25 kB
gradients/zygote_f_z 7.5 k allocs: 0.472 MB
cubic_b_spline/solve_vector_512 6 allocs: 4.2 kB
gradients/scaling/forwarddiff_D_z_small 0.118 k allocs: 18.1 kB
gradients/single_z/di_mooncake_r_z 0.058 k allocs: 3.22 kB
vectorization/E_z_vectorized 4 allocs: 0.594 kB
vectorization/dM_z_comprehension 0.632 k allocs: 0.0369 MB
cubic_b_spline/basis_stencil_512_to_8999 24 allocs: 0.55 MB
gradients/di_zygote_D_z 7.46 k allocs: 0.462 MB
vectorization/D_z_vectorized 0.152 k allocs: 10.9 kB
background/D_f_z_struct 0.086 k allocs: 4.62 kB
vectorization/f_z_scalar_loop 2.58 k allocs: 0.136 MB
background/E_z_struct 0 allocs: 0 B
gradients/forward_r_z 1.02 k allocs: 0.0644 MB
cubic_b_spline/plan_apply_128 8 allocs: 0.0699 MB
background/E_z_highz 0 allocs: 0 B
gradients/forward_f_z 0.298 k allocs: 28.4 kB
vectorization/D_z_comprehension 2.58 k allocs: 0.136 MB
vectorization/S_of_K_vectorized 2 allocs: 0.219 kB
gradients/single_z/forwarddiff_f_z 0.09 k allocs: 9.84 kB
vectorization/f_z_vectorized 0.156 k allocs: 11.4 kB
vectorization/S_of_K_scalar_loop 2 allocs: 0.219 kB
gradients/di_mooncake_f_z 4.04 k allocs: 0.263 MB
vectorization/D_f_z_comprehension 2.58 k allocs: 0.136 MB
gradients/single_z/forward_f_z 0.086 k allocs: 4.62 kB
gradients/parameter_sensitivity/lcdm_D_z 0.305 k allocs: 0.0858 MB
vectorization/D_z_scalar_loop 2.58 k allocs: 0.136 MB
background/E_z_construct_struct 1 allocs: 0.109 kB
background/dL_z_lowz 21 allocs: 1.25 kB
gradients/zygote_D_z 7.46 k allocs: 0.462 MB
vectorization/D_f_z_scalar_loop 2.58 k allocs: 0.136 MB
background/dL_z_struct 21 allocs: 1.25 kB
gradients/parameter_sensitivity/w0wa_D_z 0.305 k allocs: 0.0858 MB
gradients/forwarddiff_D_z 0.305 k allocs: 0.0858 MB
gradients/zygote_r_z 0.348 M allocs: 0.402 GB
gradients/single_z/di_mooncake_f_z 0.81 k allocs: 0.0489 MB
gradients/single_z/forwarddiff_D_z 0.09 k allocs: 9.84 kB
vectorization/dM_z_vectorized 0.319 k allocs: 20.6 kB
background/r_z_struct 21 allocs: 1.25 kB
cubic_b_spline/construct_512 23 allocs: 0.0437 MB
cubic_b_spline/plan_construct_3000 0.044 k allocs: 0.848 MB
vectorization/D_f_z_vectorized 0.156 k allocs: 11.4 kB
background/dL_z_vector 0.632 k allocs: 0.0369 MB
gradients/scaling/di_mooncake_D_z_small 1.15 k allocs: 0.0693 MB
gradients/scaling/zygote_D_z_large 20.3 k allocs: 1.28 MB
gradients/parameter_sensitivity/curved_D_z 0.305 k allocs: 0.0858 MB
gradients/scaling/forward_D_z_large 1.11 k allocs: 0.108 MB
vectorization/r_z_comprehension 0.632 k allocs: 0.0369 MB
background/dL_z_construct_struct 22 allocs: 1.36 kB
gradients/single_z/zygote_f_z 4.24 k allocs: 0.25 MB
cubic_b_spline/eval_vector_8999 27 allocs: 0.619 MB
gradients/di_zygote_r_z 0.348 M allocs: 0.402 GB
cubic_b_spline/plan_construct_512_to_8999 0.044 k allocs: 0.658 MB
gradients/forwarddiff_f_z 0.311 k allocs: 0.0967 MB
cubic_b_spline/plan_512_to_8999 9 allocs: 0.0728 MB
cubic_b_spline/plan_construct_128 0.041 k allocs: 0.629 MB
gradients/di_mooncake_r_z 3.37 k allocs: 0.18 MB
gradients/single_z/zygote_D_z 4.24 k allocs: 0.249 MB
background/D_z_struct 0.086 k allocs: 4.62 kB
cubic_b_spline/basis_row_search 0 allocs: 0 B
vectorization/E_z_scalar_loop 2 allocs: 0.297 kB
cubic_b_spline/plan_apply_3000 9 allocs: 0.0918 MB
gradients/di_forwarddiff_f_z 0.311 k allocs: 0.0967 MB
gradients/scaling/di_mooncake_D_z_large 16.9 k allocs: 1.1 MB
gradients/single_z/zygote_r_z 5.94 k allocs: 4.55 MB
gradients/di_forwarddiff_r_z 1.02 k allocs: 0.164 MB
background/E_z_vector 2 allocs: 0.297 kB
background/Ωma_struct 0 allocs: 0 B
cubic_b_spline/eval_scalar 0 allocs: 0 B
background/E_a_struct 0 allocs: 0 B
cubic_b_spline/reactant_stencil 17 allocs: 0.531 kB
gradients/scaling/forwarddiff_D_z_large 1.11 k allocs: 0.383 MB
background/D_z_construct_struct 0.086 k allocs: 4.62 kB
gradients/single_z/forwarddiff_r_z 22 allocs: 2.66 kB
gradients/single_z/di_mooncake_D_z 0.81 k allocs: 0.0489 MB
vectorization/dA_z_comprehension 0.632 k allocs: 0.0369 MB
vectorization/dA_z_vectorized 0.321 k allocs: 20.9 kB
background/f_z_struct 0.086 k allocs: 4.62 kB
gradients/scaling/forward_D_z_small 0.113 k allocs: 6.96 kB
gradients/di_mooncake_D_z 4.03 k allocs: 0.26 MB
background/dL_z_highz 21 allocs: 1.25 kB
vectorization/S_of_K_comprehension 2 allocs: 0.219 kB
gradients/di_forwarddiff_D_z 0.305 k allocs: 0.0858 MB
gradients/forwarddiff_r_z 1.02 k allocs: 0.164 MB
cubic_b_spline/solve_matrix_512x10 4 allocs: 0.0392 MB
gradients/scaling/zygote_D_z_small 4.58 k allocs: 0.275 MB
time_to_load 0.159 k allocs: 11.2 kB 0.159 k allocs: 11.2 kB 1

@github-actions

github-actions Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Benchmark Results (Julia v1.12)

Time benchmarks
a90fa44... 135b7e6... a90fa44... / 135b7e6...
akima/components/coefficients_large 9.37 ± 3.6 μs 10.8 ± 32 μs 0.87 ± 2.6
akima/components/coefficients_medium 7.25 ± 6.9 μs 7.03 ± 6.7 μs 1.03 ± 1.4
akima/components/coefficients_small 0.535 ± 0.23 μs 0.581 ± 0.27 μs 0.922 ± 0.58
akima/components/slopes_large 1.78 ± 0.51 μs 2.18 ± 0.74 μs 0.817 ± 0.36
akima/components/slopes_medium 0.401 ± 0.2 μs 0.411 ± 0.24 μs 0.976 ± 0.75
akima/components/slopes_small 0.14 ± 0.02 μs 0.141 ± 0.03 μs 0.993 ± 0.25
akima/forward/matrix_medium 0.0389 ± 0.017 ms 0.0399 ± 0.016 ms 0.975 ± 0.58
akima/forward/matrix_small 11.9 ± 7.8 μs 10 ± 7.4 μs 1.19 ± 1.2
akima/forward/vector_large 29.5 ± 2.9 μs 30.5 ± 41 μs 0.967 ± 1.3
akima/forward/vector_medium 14.5 ± 9.8 μs 13.8 ± 8.6 μs 1.05 ± 0.97
akima/forward/vector_small 1.28 ± 0.29 μs 1.29 ± 0.35 μs 0.992 ± 0.35
akima/gradients/comparison/di_forwarddiff_medium 0.244 ± 0.021 ms 0.27 ± 0.022 ms 0.904 ± 0.11
akima/gradients/comparison/di_mooncake_medium 0.039 ± 0.0055 ms 0.0391 ± 0.0048 ms 0.995 ± 0.19
akima/gradients/comparison/di_zygote_medium 0.0415 ± 0.0063 ms 0.0432 ± 0.005 ms 0.961 ± 0.18
akima/gradients/comparison/forward_pass 14 ± 9.5 μs 13.7 ± 8.4 μs 1.02 ± 0.94
akima/gradients/comparison/forwarddiff_medium 0.244 ± 0.019 ms 0.27 ± 0.024 ms 0.903 ± 0.11
akima/gradients/comparison/zygote_medium 0.0418 ± 0.0068 ms 0.0428 ± 0.0048 ms 0.976 ± 0.19
akima/gradients/di_forwarddiff/vector_medium 0.24 ± 0.021 ms 0.261 ± 0.024 ms 0.919 ± 0.12
akima/gradients/di_zygote/matrix_medium 0.0982 ± 0.053 ms 0.154 ± 0.0076 ms 0.637 ± 0.35
akima/gradients/di_zygote/vector_medium 0.0419 ± 0.006 ms 0.0427 ± 0.0048 ms 0.981 ± 0.18
akima/gradients/forwarddiff/matrix_medium 14.8 ± 1.7 ms 17.4 ± 4.3 ms 0.853 ± 0.23
akima/gradients/forwarddiff/matrix_small 0.596 ± 0.046 ms 0.668 ± 0.049 ms 0.892 ± 0.095
akima/gradients/forwarddiff/vector_large 6.26 ± 1.2 ms 9.58 ± 4.3 ms 0.653 ± 0.32
akima/gradients/forwarddiff/vector_medium 0.236 ± 0.021 ms 0.269 ± 0.023 ms 0.879 ± 0.11
akima/gradients/forwarddiff/vector_small 0.0428 ± 0.006 ms 0.039 ± 0.005 ms 1.1 ± 0.21
akima/gradients/mooncake/matrix_medium 0.0984 ± 0.0065 ms 0.109 ± 0.05 ms 0.905 ± 0.42
akima/gradients/mooncake/matrix_small 0.0477 ± 0.026 ms 0.0496 ± 0.0052 ms 0.963 ± 0.53
akima/gradients/mooncake/vector_large 0.0693 ± 0.0054 ms 0.0724 ± 0.009 ms 0.958 ± 0.14
akima/gradients/mooncake/vector_medium 0.0386 ± 0.0061 ms 0.0386 ± 0.0048 ms 1 ± 0.2
akima/gradients/mooncake/vector_small 8.29 ± 6.2 μs 8.72 ± 5.9 μs 0.951 ± 0.96
akima/gradients/zygote/matrix_medium 0.0986 ± 0.053 ms 0.154 ± 0.0083 ms 0.642 ± 0.35
akima/gradients/zygote/matrix_small 0.0488 ± 0.025 ms 0.0544 ± 0.0051 ms 0.897 ± 0.46
akima/gradients/zygote/vector_large 0.0727 ± 0.0056 ms 0.074 ± 0.01 ms 0.982 ± 0.15
akima/gradients/zygote/vector_medium 0.0417 ± 0.0058 ms 0.0432 ± 0.0048 ms 0.965 ± 0.17
akima/gradients/zygote/vector_small 12.2 ± 7.2 μs 9.06 ± 6.3 μs 1.34 ± 1.2
akima/scaling/eval_10 9.84 ± 7.9 μs 9.12 ± 7.9 μs 1.08 ± 1.3
akima/scaling/eval_100 11.9 ± 8.8 μs 10.9 ± 8.5 μs 1.1 ± 1.2
akima/scaling/eval_1000 17.8 ± 8.8 μs 23.2 ± 7.5 μs 0.765 ± 0.45
akima/scaling/eval_250 14.7 ± 10 μs 14.2 ± 9.9 μs 1.03 ± 1
akima/scaling/eval_50 10.7 ± 8.5 μs 9.38 ± 7.3 μs 1.14 ± 1.3
akima/scaling/eval_500 16.8 ± 8.7 μs 16.5 ± 8 μs 1.02 ± 0.73
akima/scaling/nodes_10 1.54 ± 0.26 μs 1.53 ± 0.22 μs 1.01 ± 0.22
akima/scaling/nodes_100 12.1 ± 8.8 μs 10.7 ± 8.3 μs 1.13 ± 1.2
akima/scaling/nodes_200 21.1 ± 16 μs 19.5 ± 3.7 μs 1.08 ± 0.86
akima/scaling/nodes_25 1.94 ± 0.37 μs 1.97 ± 0.33 μs 0.985 ± 0.25
akima/scaling/nodes_50 5.96 ± 5.4 μs 2.81 ± 3.7 μs 2.12 ± 3.4
akima/scaling/nodes_500 13.2 ± 3.1 μs 14.7 ± 38 μs 0.899 ± 2.3
akima_spline/plan_512_to_8999 0.0602 ± 0.006 ms 0.063 ± 0.0065 ms 0.956 ± 0.14
akima_spline/plan_construct_512_to_8999 0.141 ± 0.005 ms 0.141 ± 0.011 ms 0.998 ± 0.089
akima_spline/pure_512_to_8999 0.175 ± 0.009 ms 0.176 ± 0.013 ms 0.992 ± 0.089
chebyshev/forward/matrix_medium 8.74 ± 0.5 μs 8.72 ± 0.53 μs 1 ± 0.084
chebyshev/forward/matrix_small 2.42 ± 0.061 μs 2.44 ± 0.06 μs 0.992 ± 0.035
chebyshev/forward/polynomials_medium 0.0354 ± 0.084 ms 0.0335 ± 0.074 ms 1.06 ± 3.4
chebyshev/forward/polynomials_small 2.6 ± 3.5 μs 2.84 ± 3.2 μs 0.916 ± 1.6
chebyshev/forward/vector_large 26.1 ± 0.94 μs 30.5 ± 0.66 μs 0.857 ± 0.036
chebyshev/forward/vector_medium 0.982 ± 0.15 μs 1.07 ± 0.19 μs 0.916 ± 0.21
chebyshev/forward/vector_small 0.481 ± 0.02 μs 0.311 ± 0.01 μs 1.55 ± 0.081
chebyshev/gradients/forwarddiff/vector_medium 5.89 ± 0.65 ms 7.34 ± 0.66 ms 0.802 ± 0.11
chebyshev/gradients/forwarddiff/vector_small 0.216 ± 0.027 ms 0.33 ± 0.021 ms 0.653 ± 0.091
chebyshev/gradients/mooncake/vector_medium 4.66 ± 3.9 μs 4.78 ± 2.3 μs 0.975 ± 0.95
chebyshev/gradients/mooncake/vector_small 0.992 ± 0.16 μs 0.982 ± 0.13 μs 1.01 ± 0.21
chebyshev/gradients/zygote/vector_medium 2.51 ± 1.9 μs 3.81 ± 2 μs 0.661 ± 0.6
chebyshev/gradients/zygote/vector_small 0.671 ± 0.04 μs 2.07 ± 0.21 μs 0.324 ± 0.038
chebyshev/multidim/forward_2d 3.66 ± 0.28 μs 3.59 ± 0.25 μs 1.02 ± 0.11
chebyshev/multidim/zygote_2d 8.28 ± 0.43 μs 10.3 ± 0.55 μs 0.804 ± 0.06
cubic/components/coefficients_large 19.9 ± 1 μs 20.6 ± 2.7 μs 0.97 ± 0.14
cubic/components/coefficients_medium 4.14 ± 5.2 μs 8.66 ± 6.4 μs 0.477 ± 0.7
cubic/components/coefficients_small 0.911 ± 0.15 μs 0.912 ± 0.15 μs 0.999 ± 0.23
cubic/components/eval_large 18.3 ± 0.14 μs 18.6 ± 0.18 μs 0.986 ± 0.012
cubic/components/eval_medium 3.78 ± 0.02 μs 3.8 ± 0.029 μs 0.995 ± 0.0092
cubic/components/eval_small 0.651 ± 0.01 μs 0.661 ± 0 μs 0.985 ± 0.015
cubic/forward/matrix_medium 29 ± 15 μs 29.3 ± 1.9 μs 0.99 ± 0.51
cubic/forward/matrix_small 7.48 ± 2.2 μs 5.87 ± 0.53 μs 1.28 ± 0.39
cubic/forward/vector_large 0.0385 ± 0.0012 ms 0.0394 ± 0.0027 ms 0.978 ± 0.073
cubic/forward/vector_medium 7.93 ± 6.7 μs 13.4 ± 7.3 μs 0.591 ± 0.59
cubic/forward/vector_small 1.52 ± 0.17 μs 1.53 ± 0.18 μs 0.994 ± 0.16
cubic/gradients/comparison/forward_pass 13.8 ± 7.2 μs 13.4 ± 7.4 μs 1.02 ± 0.78
cubic/gradients/comparison/forwarddiff_medium 0.194 ± 0.012 ms 0.209 ± 0.013 ms 0.928 ± 0.083
cubic/gradients/comparison/mooncake_medium 19.2 ± 20 μs 0.0397 ± 0.0056 ms 0.483 ± 0.52
cubic/gradients/comparison/zygote_medium 0.0421 ± 0.022 ms 0.0451 ± 0.0064 ms 0.935 ± 0.51
cubic/gradients/forwarddiff/matrix_medium 15 ± 0.81 ms 15.9 ± 1.6 ms 0.942 ± 0.11
cubic/gradients/forwarddiff/matrix_small 0.566 ± 0.021 ms 0.627 ± 0.036 ms 0.903 ± 0.062
cubic/gradients/forwarddiff/vector_large 4.54 ± 0.74 ms 4.33 ± 1.6 ms 1.05 ± 0.43
cubic/gradients/forwarddiff/vector_medium 0.188 ± 0.014 ms 0.208 ± 0.013 ms 0.903 ± 0.088
cubic/gradients/forwarddiff/vector_small 20.9 ± 13 μs 21.3 ± 13 μs 0.979 ± 0.85
cubic/gradients/mooncake/matrix_medium 0.0927 ± 0.0051 ms 0.0885 ± 0.004 ms 1.05 ± 0.075
cubic/gradients/mooncake/matrix_small 0.0331 ± 0.015 ms 27.2 ± 9.5 μs 1.22 ± 0.69
cubic/gradients/mooncake/vector_large 0.0915 ± 0.0065 ms 0.0931 ± 0.007 ms 0.983 ± 0.1
cubic/gradients/mooncake/vector_medium 0.0394 ± 0.012 ms 0.0399 ± 0.0054 ms 0.985 ± 0.33
cubic/gradients/mooncake/vector_small 8.89 ± 5.9 μs 8.86 ± 5.6 μs 1 ± 0.93
cubic/gradients/zygote/matrix_medium 0.0977 ± 0.036 ms 0.0905 ± 0.014 ms 1.08 ± 0.44
cubic/gradients/zygote/matrix_small 0.0363 ± 0.016 ms 30.8 ± 11 μs 1.18 ± 0.66
cubic/gradients/zygote/vector_large 0.0931 ± 0.0055 ms 0.0959 ± 0.0075 ms 0.971 ± 0.095
cubic/gradients/zygote/vector_medium 0.0426 ± 0.0057 ms 0.0442 ± 0.0059 ms 0.962 ± 0.18
cubic/gradients/zygote/vector_small 11.8 ± 6.9 μs 13 ± 8.2 μs 0.914 ± 0.78
cubic/scaling/eval_10 4.3 ± 5.4 μs 9.21 ± 7 μs 0.466 ± 0.68
cubic/scaling/eval_100 5.62 ± 5.3 μs 10.8 ± 7.1 μs 0.52 ± 0.6
cubic/scaling/eval_1000 19.4 ± 5.2 μs 23.9 ± 6.6 μs 0.811 ± 0.31
cubic/scaling/eval_250 7.94 ± 7 μs 13.6 ± 7.5 μs 0.584 ± 0.61
cubic/scaling/eval_50 4.88 ± 5.2 μs 9.53 ± 6.5 μs 0.512 ± 0.64
cubic/scaling/eval_500 11.9 ± 5 μs 16.8 ± 6.6 μs 0.707 ± 0.41
cubic/scaling/nodes_10 1.69 ± 0.14 μs 1.7 ± 0.15 μs 0.994 ± 0.12
cubic/scaling/nodes_100 5.6 ± 5.3 μs 10.8 ± 7 μs 0.519 ± 0.59
cubic/scaling/nodes_200 18.9 ± 11 μs 19 ± 11 μs 0.995 ± 0.85
cubic/scaling/nodes_25 2.37 ± 0.22 μs 2.8 ± 0.25 μs 0.846 ± 0.11
cubic/scaling/nodes_50 3.68 ± 3.7 μs 3.62 ± 3.6 μs 1.02 ± 1.4
cubic/scaling/nodes_500 21.8 ± 1 μs 22.6 ± 2.6 μs 0.964 ± 0.12
cubic_spline/construct_512 19.4 ± 3 μs 21.3 ± 31 μs 0.912 ± 1.3
cubic_spline/plan_512_to_8999 0.107 ± 0.015 ms 0.113 ± 0.023 ms 0.944 ± 0.23
cubic_spline/plan_construct_512_to_8999 4.18 ± 0.11 ms 4.29 ± 2.2 ms 0.975 ± 0.51
cubic_spline/prepared_512_to_8999 0.17 ± 0.011 ms 0.169 ± 0.011 ms 1.01 ± 0.092
cubic_spline/pure_512_to_8999 0.191 ± 0.0099 ms 0.192 ± 0.011 ms 0.996 ± 0.077
normalization/matrix 16.2 ± 2 μs 16 ± 2.1 μs 1.01 ± 0.18
normalization/vector 0.09 ± 0.01 μs 0.09 ± 0.01 μs 1 ± 0.16
running/lux 6.85 ± 0.3 μs 6.95 ± 0.3 μs 0.986 ± 0.061
running/simplechains 2.91 ± 0.03 μs 2.88 ± 0.05 μs 1.01 ± 0.02
gradients/single_z/forward_D_z 0.0481 ± 0.0005 ms
background/dA_z_struct 1.99 ± 0.11 μs
vectorization/E_z_comprehension 6.22 ± 0.03 μs
background/E_z_lowz 0.24 ± 0.01 μs
vectorization/dM_z_scalar_loop 0.0734 ± 0.017 ms
cubic_b_spline/basis_row_preselected 0.07 ± 0.01 μs
vectorization/dL_z_vectorized 0.0394 ± 0.0083 ms
vectorization/f_z_comprehension 1.55 ± 0.042 ms
gradients/forward_D_z 0.0658 ± 0.0089 ms
vectorization/dA_z_scalar_loop 0.0738 ± 0.017 ms
vectorization/dL_z_comprehension 0.0743 ± 0.016 ms
vectorization/r_z_vectorized 0.0345 ± 0.008 ms
vectorization/r_z_scalar_loop 0.0733 ± 0.02 ms
cubic_b_spline/factorization_512 0.0346 ± 0.012 ms
vectorization/dL_z_scalar_loop 0.0734 ± 0.017 ms
gradients/di_zygote_f_z 1.18 ± 0.11 ms
gradients/single_z/forward_r_z 1.91 ± 0.1 μs
gradients/zygote_f_z 1.18 ± 0.11 ms
cubic_b_spline/solve_vector_512 5.81 ± 0.39 μs
gradients/scaling/forwarddiff_D_z_small 0.119 ± 0.0075 ms
gradients/single_z/di_mooncake_r_z 18.9 ± 1.2 μs
vectorization/E_z_vectorized 3.35 ± 0.03 μs
vectorization/dM_z_comprehension 0.074 ± 0.017 ms
cubic_b_spline/basis_stencil_512_to_8999 0.308 ± 0.013 ms
gradients/di_zygote_D_z 1.19 ± 0.17 ms
vectorization/D_z_vectorized 0.0556 ± 0.0008 ms
background/D_f_z_struct 0.0518 ± 0.00061 ms
vectorization/f_z_scalar_loop 1.55 ± 0.041 ms
background/E_z_struct 0.24 ± 0.01 μs
gradients/forward_r_z 0.133 ± 0.0063 ms
cubic_b_spline/plan_apply_128 19.4 ± 0.92 μs
background/E_z_highz 0.231 ± 0.01 μs
gradients/forward_f_z 0.0668 ± 0.0094 ms
vectorization/D_z_comprehension 1.56 ± 0.044 ms
vectorization/S_of_K_vectorized 0.291 ± 0.001 μs
gradients/single_z/forwarddiff_f_z 0.11 ± 0.0014 ms
vectorization/f_z_vectorized 0.0544 ± 0.00077 ms
vectorization/S_of_K_scalar_loop 0.291 ± 0.001 μs
gradients/di_mooncake_f_z 0.559 ± 0.099 ms
vectorization/D_f_z_comprehension 1.56 ± 0.042 ms
gradients/single_z/forward_f_z 0.0482 ± 0.00051 ms
gradients/parameter_sensitivity/lcdm_D_z 0.149 ± 0.0099 ms
vectorization/D_z_scalar_loop 1.56 ± 0.044 ms
background/E_z_construct_struct 0.251 ± 0.01 μs
background/dL_z_lowz 2.03 ± 0.1 μs
gradients/zygote_D_z 1.18 ± 0.1 ms
vectorization/D_f_z_scalar_loop 1.55 ± 0.043 ms
background/dL_z_struct 2 ± 0.11 μs
gradients/parameter_sensitivity/w0wa_D_z 0.16 ± 0.013 ms
gradients/forwarddiff_D_z 0.143 ± 0.0095 ms
gradients/zygote_r_z 0.147 ± 0.021 s
gradients/single_z/di_mooncake_f_z 0.335 ± 0.017 ms
gradients/single_z/forwarddiff_D_z 0.109 ± 0.0011 ms
vectorization/dM_z_vectorized 0.0368 ± 0.0083 ms
background/r_z_struct 1.91 ± 0.11 μs
cubic_b_spline/construct_512 0.0438 ± 0.001 ms
cubic_b_spline/plan_construct_3000 0.742 ± 0.02 ms
vectorization/D_f_z_vectorized 0.0545 ± 0.00077 ms
background/dL_z_vector 0.0737 ± 0.017 ms
gradients/scaling/di_mooncake_D_z_small 0.372 ± 0.024 ms
gradients/scaling/zygote_D_z_large 2.07 ± 0.37 ms
gradients/parameter_sensitivity/curved_D_z 0.153 ± 0.016 ms
gradients/scaling/forward_D_z_large 0.104 ± 0.011 ms
vectorization/r_z_comprehension 0.0712 ± 0.017 ms
background/dL_z_construct_struct 2.01 ± 0.13 μs
gradients/single_z/zygote_f_z 0.917 ± 0.096 ms
cubic_b_spline/eval_vector_8999 0.327 ± 0.014 ms
gradients/di_zygote_r_z 0.144 ± 0.014 s
cubic_b_spline/plan_construct_512_to_8999 0.356 ± 0.015 ms
gradients/forwarddiff_f_z 0.177 ± 0.014 ms
cubic_b_spline/plan_512_to_8999 24.6 ± 1.8 μs
cubic_b_spline/plan_construct_128 0.299 ± 0.013 ms
gradients/di_mooncake_r_z 1.41 ± 0.028 ms
gradients/single_z/zygote_D_z 0.914 ± 0.098 ms
background/D_z_struct 0.0523 ± 0.00056 ms
cubic_b_spline/basis_row_search 0.08 ± 0 μs
vectorization/E_z_scalar_loop 6.2 ± 0.04 μs
cubic_b_spline/plan_apply_3000 0.0534 ± 0.0042 ms
gradients/di_forwarddiff_f_z 0.145 ± 0.0047 ms
gradients/scaling/di_mooncake_D_z_large 1.39 ± 0.21 ms
gradients/single_z/zygote_r_z 1.36 ± 0.086 ms
gradients/di_forwarddiff_r_z 0.285 ± 0.013 ms
background/E_z_vector 6.43 ± 0.03 μs
background/Ωma_struct 0.241 ± 0.01 μs
cubic_b_spline/eval_scalar 0.11 ± 0.03 μs
background/E_a_struct 0.24 ± 0.01 μs
cubic_b_spline/reactant_stencil 0.24 ± 0.044 ms
gradients/scaling/forwarddiff_D_z_large 0.293 ± 0.016 ms
background/D_z_construct_struct 0.0526 ± 0.00064 ms
gradients/single_z/forwarddiff_r_z 3.4 ± 0.26 μs
gradients/single_z/di_mooncake_D_z 0.331 ± 0.017 ms
vectorization/dA_z_comprehension 0.0744 ± 0.016 ms
vectorization/dA_z_vectorized 0.0402 ± 0.0084 ms
background/f_z_struct 0.0512 ± 0.00055 ms
gradients/scaling/forward_D_z_small 0.0499 ± 0.0015 ms
gradients/di_mooncake_D_z 0.596 ± 0.045 ms
background/dL_z_highz 2.03 ± 0.15 μs
vectorization/S_of_K_comprehension 0.3 ± 0.001 μs
gradients/di_forwarddiff_D_z 0.155 ± 0.018 ms
gradients/forwarddiff_r_z 0.289 ± 0.01 ms
cubic_b_spline/solve_matrix_512x10 0.0499 ± 0.00041 ms
gradients/scaling/zygote_D_z_small 0.924 ± 0.095 ms
time_to_load 3.94 ± 0.036 s 3.7 ± 0.014 s 1.07 ± 0.01
Memory benchmarks
a90fa44... 135b7e6... a90fa44... / 135b7e6...
akima/components/coefficients_large 0.051 k allocs: 0.0665 MB 0.051 k allocs: 0.0665 MB 1
akima/components/coefficients_medium 0.034 k allocs: 14.7 kB 0.034 k allocs: 14.7 kB 1
akima/components/coefficients_small 0.034 k allocs: 3.61 kB 0.034 k allocs: 3.61 kB 1
akima/components/slopes_large 12 allocs: 16 kB 12 allocs: 16 kB 1
akima/components/slopes_medium 8 allocs: 3.39 kB 8 allocs: 3.39 kB 1
akima/components/slopes_small 8 allocs: 0.844 kB 8 allocs: 0.844 kB 1
akima/forward/matrix_medium 0.099 k allocs: 0.0864 MB 0.099 k allocs: 0.0864 MB 1
akima/forward/matrix_small 0.095 k allocs: 20.3 kB 0.095 k allocs: 20.3 kB 1
akima/forward/vector_large 0.069 k allocs: 0.0938 MB 0.066 k allocs: 0.0899 MB 1.04
akima/forward/vector_medium 0.046 k allocs: 20.9 kB 0.044 k allocs: 20.1 kB 1.04
akima/forward/vector_small 0.046 k allocs: 5.12 kB 0.044 k allocs: 4.92 kB 1.04
akima/gradients/comparison/di_forwarddiff_medium 0.595 k allocs: 1.95 MB 0.577 k allocs: 1.95 MB 1
akima/gradients/comparison/di_mooncake_medium 0.126 k allocs: 0.0535 MB 0.126 k allocs: 0.0535 MB 1
akima/gradients/comparison/di_zygote_medium 0.149 k allocs: 0.0553 MB 0.158 k allocs: 0.0566 MB 0.977
akima/gradients/comparison/forward_pass 0.046 k allocs: 20.9 kB 0.044 k allocs: 20.1 kB 1.04
akima/gradients/comparison/forwarddiff_medium 0.595 k allocs: 1.95 MB 0.577 k allocs: 1.95 MB 1
akima/gradients/comparison/zygote_medium 0.149 k allocs: 0.0553 MB 0.158 k allocs: 0.0566 MB 0.977
akima/gradients/di_forwarddiff/vector_medium 0.595 k allocs: 1.95 MB 0.577 k allocs: 1.95 MB 1
akima/gradients/di_zygote/matrix_medium 0.337 k allocs: 0.254 MB 0.355 k allocs: 0.28 MB 0.909
akima/gradients/di_zygote/vector_medium 0.149 k allocs: 0.0553 MB 0.158 k allocs: 0.0566 MB 0.977
akima/gradients/forwarddiff/matrix_medium 11.8 k allocs: 0.0862 GB 11.8 k allocs: 0.0862 GB 1
akima/gradients/forwarddiff/matrix_small 2.21 k allocs: 3.68 MB 2.21 k allocs: 3.68 MB 1
akima/gradients/forwarddiff/vector_large 2.9 k allocs: 0.0433 GB 2.77 k allocs: 0.0431 GB 1
akima/gradients/forwarddiff/vector_medium 0.595 k allocs: 1.95 MB 0.577 k allocs: 1.95 MB 1
akima/gradients/forwarddiff/vector_small 0.097 k allocs: 0.0779 MB 0.093 k allocs: 0.0775 MB 1.01
akima/gradients/mooncake/matrix_medium 0.325 k allocs: 0.274 MB 0.325 k allocs: 0.274 MB 1
akima/gradients/mooncake/matrix_small 0.31 k allocs: 0.0635 MB 0.31 k allocs: 0.0635 MB 1
akima/gradients/mooncake/vector_large 0.185 k allocs: 0.243 MB 0.185 k allocs: 0.243 MB 1
akima/gradients/mooncake/vector_medium 0.126 k allocs: 0.0535 MB 0.126 k allocs: 0.0535 MB 1
akima/gradients/mooncake/vector_small 0.126 k allocs: 13.8 kB 0.126 k allocs: 13.8 kB 1
akima/gradients/zygote/matrix_medium 0.337 k allocs: 0.254 MB 0.355 k allocs: 0.28 MB 0.909
akima/gradients/zygote/matrix_small 0.325 k allocs: 0.0616 MB 0.34 k allocs: 0.0688 MB 0.896
akima/gradients/zygote/vector_large 0.208 k allocs: 0.245 MB 0.217 k allocs: 0.246 MB 0.995
akima/gradients/zygote/vector_medium 0.149 k allocs: 0.0553 MB 0.158 k allocs: 0.0566 MB 0.977
akima/gradients/zygote/vector_small 0.149 k allocs: 15.6 kB 0.158 k allocs: 17 kB 0.921
akima/scaling/eval_10 0.046 k allocs: 19.1 kB 0.044 k allocs: 18.2 kB 1.05
akima/scaling/eval_100 0.046 k allocs: 19.8 kB 0.044 k allocs: 19 kB 1.04
akima/scaling/eval_1000 0.047 k allocs: 26.8 kB 0.045 k allocs: 26 kB 1.03
akima/scaling/eval_250 0.046 k allocs: 20.9 kB 0.044 k allocs: 20.1 kB 1.04
akima/scaling/eval_50 0.046 k allocs: 19.4 kB 0.044 k allocs: 18.6 kB 1.04
akima/scaling/eval_500 0.047 k allocs: 22.9 kB 0.045 k allocs: 22.1 kB 1.04
akima/scaling/nodes_10 0.046 k allocs: 3.84 kB 0.044 k allocs: 3.72 kB 1.03
akima/scaling/nodes_100 0.046 k allocs: 19.8 kB 0.044 k allocs: 19 kB 1.04
akima/scaling/nodes_200 0.046 k allocs: 0.0363 MB 0.044 k allocs: 0.0347 MB 1.05
akima/scaling/nodes_25 0.046 k allocs: 6.47 kB 0.044 k allocs: 6.22 kB 1.04
akima/scaling/nodes_50 0.046 k allocs: 11.2 kB 0.044 k allocs: 10.8 kB 1.04
akima/scaling/nodes_500 0.068 k allocs: 0.087 MB 0.065 k allocs: 0.0831 MB 1.05
akima_spline/plan_512_to_8999 0.078 k allocs: 0.427 MB 0.078 k allocs: 0.427 MB 1
akima_spline/plan_construct_512_to_8999 9 allocs: 0.206 MB 9 allocs: 0.206 MB 1
akima_spline/pure_512_to_8999 0.069 k allocs: 0.156 MB 0.066 k allocs: 0.152 MB 1.03
chebyshev/forward/matrix_medium 6 allocs: 8.85 kB 6 allocs: 8.85 kB 1
chebyshev/forward/matrix_small 5 allocs: 1.91 kB 5 allocs: 1.91 kB 1
chebyshev/forward/polynomials_medium 0.205 k allocs: 0.389 MB 0.205 k allocs: 0.389 MB 1
chebyshev/forward/polynomials_small 0.045 k allocs: 17.5 kB 0.045 k allocs: 17.5 kB 1
chebyshev/forward/vector_large 7 allocs: 8.05 kB 7 allocs: 8.05 kB 1
chebyshev/forward/vector_medium 5 allocs: 1.84 kB 5 allocs: 1.84 kB 1
chebyshev/forward/vector_small 5 allocs: 0.469 kB 5 allocs: 0.469 kB 1
chebyshev/gradients/forwarddiff/vector_medium 0.0348 M allocs: 1.71 MB 0.0348 M allocs: 1.71 MB 1
chebyshev/gradients/forwarddiff/vector_small 1.08 k allocs: 0.0607 MB 1.08 k allocs: 0.0607 MB 1
chebyshev/gradients/mooncake/vector_medium 18 allocs: 5.08 kB 18 allocs: 5.08 kB 1
chebyshev/gradients/mooncake/vector_small 18 allocs: 1.64 kB 18 allocs: 1.64 kB 1
chebyshev/gradients/zygote/vector_medium 14 allocs: 4.62 kB 0.032 k allocs: 6.02 kB 0.769
chebyshev/gradients/zygote/vector_small 14 allocs: 1.19 kB 0.032 k allocs: 2.58 kB 0.461
chebyshev/multidim/forward_2d 9 allocs: 2.55 kB 9 allocs: 2.55 kB 1
chebyshev/multidim/zygote_2d 23 allocs: 7.23 kB 0.041 k allocs: 9.34 kB 0.774
cubic/components/coefficients_large 0.051 k allocs: 0.0628 MB 0.051 k allocs: 0.0628 MB 1
cubic/components/coefficients_medium 0.035 k allocs: 14 kB 0.035 k allocs: 14 kB 1
cubic/components/coefficients_small 0.035 k allocs: 3.52 kB 0.035 k allocs: 3.52 kB 1
cubic/components/eval_large 3 allocs: 7.88 kB 3 allocs: 7.88 kB 1
cubic/components/eval_medium 2 allocs: 2.02 kB 2 allocs: 2.02 kB 1
cubic/components/eval_small 2 allocs: 0.469 kB 2 allocs: 0.469 kB 1
cubic/forward/matrix_medium 0.04 k allocs: 0.0465 MB 0.04 k allocs: 0.0465 MB 1
cubic/forward/matrix_small 0.038 k allocs: 10.4 kB 0.038 k allocs: 10.4 kB 1
cubic/forward/vector_large 0.054 k allocs: 0.0705 MB 0.054 k allocs: 0.0705 MB 1
cubic/forward/vector_medium 0.037 k allocs: 16 kB 0.037 k allocs: 16 kB 1
cubic/forward/vector_small 0.037 k allocs: 3.98 kB 0.037 k allocs: 3.98 kB 1
cubic/gradients/comparison/forward_pass 0.037 k allocs: 16 kB 0.037 k allocs: 16 kB 1
cubic/gradients/comparison/forwarddiff_medium 0.478 k allocs: 0.869 MB 0.478 k allocs: 0.869 MB 1
cubic/gradients/comparison/mooncake_medium 0.113 k allocs: 0.0467 MB 0.113 k allocs: 0.0467 MB 1
cubic/gradients/comparison/zygote_medium 0.134 k allocs: 0.0488 MB 0.143 k allocs: 0.0505 MB 0.967
cubic/gradients/forwarddiff/matrix_medium 4.54 k allocs: 0.0409 GB 4.54 k allocs: 0.0409 GB 1
cubic/gradients/forwarddiff/matrix_small 0.868 k allocs: 1.71 MB 0.868 k allocs: 1.71 MB 1
cubic/gradients/forwarddiff/vector_large 2.81 k allocs: 19 MB 2.81 k allocs: 19 MB 1
cubic/gradients/forwarddiff/vector_medium 0.478 k allocs: 0.869 MB 0.478 k allocs: 0.869 MB 1
cubic/gradients/forwarddiff/vector_small 0.095 k allocs: 0.0354 MB 0.095 k allocs: 0.0354 MB 1
cubic/gradients/mooncake/matrix_medium 0.234 k allocs: 0.176 MB 0.114 k allocs: 0.126 MB 1.4
cubic/gradients/mooncake/matrix_small 0.227 k allocs: 0.0401 MB 0.107 k allocs: 28.6 kB 1.44
cubic/gradients/mooncake/vector_large 0.163 k allocs: 0.208 MB 0.163 k allocs: 0.208 MB 1
cubic/gradients/mooncake/vector_medium 0.113 k allocs: 0.0467 MB 0.113 k allocs: 0.0467 MB 1
cubic/gradients/mooncake/vector_small 0.113 k allocs: 12.3 kB 0.113 k allocs: 12.3 kB 1
cubic/gradients/zygote/matrix_medium 0.255 k allocs: 0.178 MB 0.144 k allocs: 0.13 MB 1.37
cubic/gradients/zygote/matrix_small 0.248 k allocs: 0.0426 MB 0.137 k allocs: 0.0322 MB 1.32
cubic/gradients/zygote/vector_large 0.184 k allocs: 0.21 MB 0.193 k allocs: 0.212 MB 0.992
cubic/gradients/zygote/vector_medium 0.134 k allocs: 0.0488 MB 0.143 k allocs: 0.0505 MB 0.967
cubic/gradients/zygote/vector_small 0.134 k allocs: 14.5 kB 0.143 k allocs: 16.3 kB 0.894
cubic/scaling/eval_10 0.037 k allocs: 14.2 kB 0.037 k allocs: 14.2 kB 1
cubic/scaling/eval_100 0.037 k allocs: 14.9 kB 0.037 k allocs: 14.9 kB 1
cubic/scaling/eval_1000 0.038 k allocs: 21.9 kB 0.038 k allocs: 21.9 kB 1
cubic/scaling/eval_250 0.037 k allocs: 16 kB 0.037 k allocs: 16 kB 1
cubic/scaling/eval_50 0.037 k allocs: 14.5 kB 0.037 k allocs: 14.5 kB 1
cubic/scaling/eval_500 0.038 k allocs: 18 kB 0.038 k allocs: 18 kB 1
cubic/scaling/nodes_10 0.037 k allocs: 3.17 kB 0.037 k allocs: 3.17 kB 1
cubic/scaling/nodes_100 0.037 k allocs: 14.9 kB 0.037 k allocs: 14.9 kB 1
cubic/scaling/nodes_200 0.037 k allocs: 27 kB 0.037 k allocs: 27 kB 1
cubic/scaling/nodes_25 0.037 k allocs: 5.02 kB 0.037 k allocs: 5.02 kB 1
cubic/scaling/nodes_50 0.037 k allocs: 8.55 kB 0.037 k allocs: 8.55 kB 1
cubic/scaling/nodes_500 0.053 k allocs: 0.0636 MB 0.053 k allocs: 0.0636 MB 1
cubic_spline/construct_512 0.051 k allocs: 0.0638 MB 0.051 k allocs: 0.0638 MB 1
cubic_spline/plan_512_to_8999 24 allocs: 0.485 MB 24 allocs: 0.485 MB 1
cubic_spline/plan_construct_512_to_8999 0.102 k allocs: 7.09 MB 0.102 k allocs: 7.09 MB 1
cubic_spline/prepared_512_to_8999 3 allocs: 0.0687 MB 3 allocs: 0.0687 MB 1
cubic_spline/pure_512_to_8999 0.054 k allocs: 0.133 MB 0.054 k allocs: 0.133 MB 1
normalization/matrix 3 allocs: 0.229 MB 3 allocs: 0.229 MB 1
normalization/vector 2 allocs: 0.906 kB 2 allocs: 0.906 kB 1
running/lux 30 allocs: 4.11 kB 30 allocs: 4.11 kB 1
running/simplechains 0 allocs: 0 B 0 allocs: 0 B
gradients/single_z/forward_D_z 0.092 k allocs: 4.7 kB
background/dA_z_struct 21 allocs: 1.38 kB
vectorization/E_z_comprehension 2 allocs: 0.297 kB
background/E_z_lowz 0 allocs: 0 B
vectorization/dM_z_scalar_loop 0.632 k allocs: 0.0406 MB
cubic_b_spline/basis_row_preselected 0 allocs: 0 B
vectorization/dL_z_vectorized 0.321 k allocs: 21 kB
vectorization/f_z_comprehension 2.76 k allocs: 0.138 MB
gradients/forward_D_z 0.301 k allocs: 26.5 kB
vectorization/dA_z_scalar_loop 0.632 k allocs: 0.0406 MB
vectorization/dL_z_comprehension 0.632 k allocs: 0.0406 MB
vectorization/r_z_vectorized 0.317 k allocs: 20.4 kB
vectorization/r_z_scalar_loop 0.632 k allocs: 0.0406 MB
cubic_b_spline/factorization_512 3 allocs: 28.1 kB
vectorization/dL_z_scalar_loop 0.632 k allocs: 0.0406 MB
gradients/di_zygote_f_z 7.93 k allocs: 0.456 MB
gradients/single_z/forward_r_z 21 allocs: 1.38 kB
gradients/zygote_f_z 7.93 k allocs: 0.456 MB
cubic_b_spline/solve_vector_512 6 allocs: 4.2 kB
gradients/scaling/forwarddiff_D_z_small 0.122 k allocs: 17.9 kB
gradients/single_z/di_mooncake_r_z 0.058 k allocs: 3.47 kB
vectorization/E_z_vectorized 4 allocs: 0.594 kB
vectorization/dM_z_comprehension 0.632 k allocs: 0.0406 MB
cubic_b_spline/basis_stencil_512_to_8999 24 allocs: 0.55 MB
gradients/di_zygote_D_z 7.9 k allocs: 0.446 MB
vectorization/D_z_vectorized 0.159 k allocs: 11.1 kB
background/D_f_z_struct 0.092 k allocs: 4.7 kB
vectorization/f_z_scalar_loop 2.76 k allocs: 0.138 MB
background/E_z_struct 0 allocs: 0 B
gradients/forward_r_z 1.02 k allocs: 0.0645 MB
cubic_b_spline/plan_apply_128 8 allocs: 0.0699 MB
background/E_z_highz 0 allocs: 0 B
gradients/forward_f_z 0.305 k allocs: 28.3 kB
vectorization/D_z_comprehension 2.76 k allocs: 0.138 MB
vectorization/S_of_K_vectorized 2 allocs: 0.219 kB
gradients/single_z/forwarddiff_f_z 0.094 k allocs: 9.01 kB
vectorization/f_z_vectorized 0.163 k allocs: 11.7 kB
vectorization/S_of_K_scalar_loop 2 allocs: 0.219 kB
gradients/di_mooncake_f_z 4.16 k allocs: 0.271 MB
vectorization/D_f_z_comprehension 2.76 k allocs: 0.138 MB
gradients/single_z/forward_f_z 0.092 k allocs: 4.7 kB
gradients/parameter_sensitivity/lcdm_D_z 0.309 k allocs: 0.0835 MB
vectorization/D_z_scalar_loop 2.76 k allocs: 0.138 MB
background/E_z_construct_struct 1 allocs: 0.109 kB
background/dL_z_lowz 21 allocs: 1.38 kB
gradients/zygote_D_z 7.9 k allocs: 0.446 MB
vectorization/D_f_z_scalar_loop 2.76 k allocs: 0.138 MB
background/dL_z_struct 21 allocs: 1.38 kB
gradients/parameter_sensitivity/w0wa_D_z 0.309 k allocs: 0.0835 MB
gradients/forwarddiff_D_z 0.309 k allocs: 0.0835 MB
gradients/zygote_r_z 0.484 M allocs: 0.456 GB
gradients/single_z/di_mooncake_f_z 0.934 k allocs: 0.0532 MB
gradients/single_z/forwarddiff_D_z 0.094 k allocs: 9.01 kB
vectorization/dM_z_vectorized 0.319 k allocs: 20.7 kB
background/r_z_struct 21 allocs: 1.38 kB
cubic_b_spline/construct_512 23 allocs: 0.0437 MB
cubic_b_spline/plan_construct_3000 0.044 k allocs: 0.848 MB
vectorization/D_f_z_vectorized 0.163 k allocs: 11.7 kB
background/dL_z_vector 0.632 k allocs: 0.0406 MB
gradients/scaling/di_mooncake_D_z_small 1.27 k allocs: 0.0744 MB
gradients/scaling/zygote_D_z_large 20.7 k allocs: 1.28 MB
gradients/parameter_sensitivity/curved_D_z 0.309 k allocs: 0.0835 MB
gradients/scaling/forward_D_z_large 1.11 k allocs: 0.106 MB
vectorization/r_z_comprehension 0.632 k allocs: 0.0406 MB
background/dL_z_construct_struct 22 allocs: 1.48 kB
gradients/single_z/zygote_f_z 4.68 k allocs: 0.231 MB
cubic_b_spline/eval_vector_8999 27 allocs: 0.619 MB
gradients/di_zygote_r_z 0.484 M allocs: 0.456 GB
cubic_b_spline/plan_construct_512_to_8999 0.044 k allocs: 0.658 MB
gradients/forwarddiff_f_z 0.315 k allocs: 0.0944 MB
cubic_b_spline/plan_512_to_8999 9 allocs: 0.0728 MB
cubic_b_spline/plan_construct_128 0.041 k allocs: 0.629 MB
gradients/di_mooncake_r_z 3.37 k allocs: 0.18 MB
gradients/single_z/zygote_D_z 4.68 k allocs: 0.231 MB
background/D_z_struct 0.092 k allocs: 4.7 kB
cubic_b_spline/basis_row_search 0 allocs: 0 B
vectorization/E_z_scalar_loop 2 allocs: 0.297 kB
cubic_b_spline/plan_apply_3000 9 allocs: 0.0918 MB
gradients/di_forwarddiff_f_z 0.315 k allocs: 0.0944 MB
gradients/scaling/di_mooncake_D_z_large 17 k allocs: 1.11 MB
gradients/single_z/zygote_r_z 7.56 k allocs: 5.14 MB
gradients/di_forwarddiff_r_z 1.02 k allocs: 0.164 MB
background/E_z_vector 2 allocs: 0.297 kB
background/Ωma_struct 0 allocs: 0 B
cubic_b_spline/eval_scalar 0 allocs: 0 B
background/E_a_struct 0 allocs: 0 B
cubic_b_spline/reactant_stencil 16 allocs: 0.5 kB
gradients/scaling/forwarddiff_D_z_large 1.12 k allocs: 0.371 MB
background/D_z_construct_struct 0.092 k allocs: 4.7 kB
gradients/single_z/forwarddiff_r_z 22 allocs: 2.78 kB
gradients/single_z/di_mooncake_D_z 0.934 k allocs: 0.0532 MB
vectorization/dA_z_comprehension 0.632 k allocs: 0.0406 MB
vectorization/dA_z_vectorized 0.321 k allocs: 21 kB
background/f_z_struct 0.092 k allocs: 4.7 kB
gradients/scaling/forward_D_z_small 0.12 k allocs: 7.21 kB
gradients/di_mooncake_D_z 4.16 k allocs: 0.267 MB
background/dL_z_highz 21 allocs: 1.38 kB
vectorization/S_of_K_comprehension 2 allocs: 0.219 kB
gradients/di_forwarddiff_D_z 0.309 k allocs: 0.0835 MB
gradients/forwarddiff_r_z 1.02 k allocs: 0.164 MB
cubic_b_spline/solve_matrix_512x10 4 allocs: 0.0392 MB
gradients/scaling/zygote_D_z_small 5.02 k allocs: 0.257 MB
time_to_load 0.149 k allocs: 11.2 kB 0.149 k allocs: 11.2 kB 1

marcobonici and others added 2 commits October 4, 2026 12:32
Restore the historical positional constructor and enforce the supported growth interval, with reusable-cache and mass-sensitivity regressions.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Verify changed and zero-mass inputs with reused preparations and record componentwise forward/reverse convergence without changing the public API.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Distinguish the static Julia interpolation table from the JAX runtime quadrature without changing any numerical report values or production code.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
@marcobonici

Copy link
Copy Markdown
Member Author

Review follow-up published as 8633d82: correct the AD evidence report and its generator to identify Julia's static Akima F_three_mass_interpolant, not the JAX kernel's 128-node runtime quadrature.

All 54 numerical rows are preserved; only the six E-setting labels and explanatory text changed. Generator syntax and formatting checks passed. No production code, test-suite logic, dependency, or numerical fixture changed.

The Computer Scientist independently completed 3330/3330 tests on a pristine archive of parent 1ece493 using normal Pkg.test() resolution (DataInterpolations 9.5.0, Mooncake 0.5.63, DifferentiationInterface 0.7.21, ForwardDiff 1.4.6). That code/test tree is unchanged by this documentation-only follow-up. Current-head GitHub matrices are now running, and the reviewer has the exact new SHA for its final assessment.

The pre-existing local distance-performance candidate remains uncommitted and unaccepted. Its timings are not evidence about this PR, and this update makes no performance-regression acceptance claim. All unrelated local edits were preserved. PR remains open and unmerged.

@marcobonici

Copy link
Copy Markdown
Member Author

Independent Computer Scientist follow-up: correctness approved at 8633d82. Reviewer verified the label-only diff and independently passed 3330 tests on the identical production/test-suite parent tree. No newly introduced correctness blocker remains. Performance acceptance remains an explicit maintainer decision: existing prepared-Zygote CI evidence includes vector r_z 32.7→50.5 ms, D_z 1.43→1.70 ms, and f_z 1.50→1.73 ms on Julia 1.12. The local distance optimization candidate is uncommitted and not certified; no hidden performance acceptance is being made. New-head CI and required GitHub reviews remain separate gates. PR stays open and unmerged.

marcobonici and others added 4 commits October 12, 2026 23:36
AirspeedVelocity creates a separate environment and does not inherit benchmark/Project.toml, so its extra packages must include the imported Reactant dependency.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Restore complete plan cotangents, handle structured inputs and scalar activity, and correct affine scan composition. Add public-path regressions and repair benchmark baseline handling.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Remove temporary focused dispatch branches that conflict with develop while preserving every unconditional full-suite include.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
…owth.

Remove the scalar model and its lookup tables while preserving emulator total-mass inputs and historical labels. Validate the new API, constructor AD, and converged ODE gradients against unchanged scientific references.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
@marcobonici

Copy link
Copy Markdown
Member Author

Pushed 32a7f62 for Marco’s approved breaking analytic API change. Background/growth functions and cosmology constructors now require exactly three physical masses; scalar values (including zero) produce migration errors, with no implicit split. Omitted masses use the explicit massless triple. Emulator total-mass inputs and weights are unchanged.

Removed the historical scalar formulas and lookup tables. Existing three-mass CLASS/CAMB numerical fixtures are retained. Compatibility of the unchanged 300303 emulator labels is checked against a text reference frozen from the pre-retirement implementation, NOT against a newly chosen mass splitting; the old trained growth label and new three-species ODE differ by about 0.4% at the test point.

Independent validation: full normal Pkg.test passed 3167/3167; three-mass focused 1341/1341; Neff focused 802/802; artifact compatibility 16/16. Original strict gradient thresholds remain unchanged: a prepared-AD convergence sweep justified tightening ONLY the test solver tolerances, not production defaults. Fresh CI is running. Laptop timing measurements were rejected at 97–101 C, so no performance claim.

The coordinated JAX implementation is pushed at 368596b, with 326 local tests and fresh push/PR CI successful. Original unrelated working-tree edits were restored separately and are not part of this commit. No merge, tag, or release performed. The separate B-spline buffer-ownership finding in #97 remains outstanding.

…ase.

Retain common baseline benchmarks without executing the new physical model against scalar-only revisions. Keep all three-mass cases enabled on the head.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
@marcobonici

Copy link
Copy Markdown
Member Author

Benchmark-only follow-up pushed at 5c6f20a. AirspeedVelocity runs the head script against legacy main too; that implementation cannot execute the new explicit-three-mass cases, and the differing physical models are not like-for-like timing baselines. The script now retains all common interpolation benchmarks on legacy main and all background/gradient cases on the current head. Both baseline and head smoke checks executed successfully. No production or unit-test changes in this follow-up; the 3167-test validation remains applicable. Final-head CI is monitored; no merge performed.

…e regression.

Audit only genuine runtime dependencies after lower-bound CI promotions, and temporarily cap optional Zygote at 0.7.16 with exact public-caller regressions and documented compatibility consequences.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Comment thread .github/workflows/ci.yml Outdated
# Artifacts alone do not avoid the 20–36 minute dependency precompile
# seen on macOS. Preserve compiled packages separately; include the
# matrix and architecture, and leave cache deletion permissions off.
- uses: julia-actions/cache@d10a6fd8f31b12404a54613ebad242900567f2b9 # v2

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this specific cache version..?

Comment thread benchmark/OPTIMIZATION_REPORT.md Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this file should be removed...?

`w(a) = w0 + wa*(1-a)`; its present density is fixed by Friedmann closure.
`ln10Aₛ` and `nₛ` are stored parameters, not inputs to the background equations.

`mν` is a tuple or vector of exactly three individual masses in eV. Masses must

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure the choice of a tuple here is not causing some slowdowns and overhead?

const _NEFF_PER_FD_SPECIES = (_T_NCDM_OVER_T_CMB / (4 / 11)^(1 / 3))^4
const _N_UR_THREE_MASS = _NEFF_THREE_MASS - 3 * _NEFF_PER_FD_SPECIES

const _SCALAR_MASS_MESSAGE = "A scalar neutrino mass `mν` is no longer supported by the analytic " *

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When does this message show up?

Neutrinos enter the expansion separately; dark energy closes the density sum.
See [`w0waCDMCosmology`](@ref) for masses, units and Neff prescriptions.
"""
function E_a(a, Ωcb0, h; mν=(0.0, 0.0, 0.0), w0=-1.0, wa=0.0, Ωk0=0.0, Neff=3.044, neutrino_prescription=:temperature)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be better to remove these methods, the ones with MANY arguments here that have a corrsponding method that gets as an input a struct. In this way, we can likely avoid some issues I presume!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same applies to other similar methods...tell me which ones you would modify according to these new guidellines :)

Ωk0=0.0, order=9, Neff=3.044, neutrino_prescription=:temperature)

Line-of-sight comoving distance χ(z), in Mpc (not Mpc/h):
`χ(z) = c/H₀ * ∫₀ᶻ dz′/E(z′)`. Scalar input returns a scalar; use a redshift

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than the integral symbol here, I would rpefer the docstring to use latex :)

Comment thread ext/MooncakeExt/lux_mlp.jl Outdated
# Prepared frozen-inference rules reuse them instead; see `_FrozenMLPWeights`.
_reverse_weight(::Nothing, ::Int, weight, ::Type{T}) where {T} = T.(weight)

_linearize_mlp(::Tuple{}, ::Tuple{}, ::Tuple{}, input, frozen, i) = (input, ())

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the "linearize" name?

Comment thread test/Artifacts.toml
@@ -0,0 +1,7 @@
[reference_fixtures]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, in general: can we move all of the "fixutres" files we are introducing into a new object on zenodo? In this manner,w e can keep the repo clean.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be true as well for the files to generate the fixtures! Could we put them there as well?

Comment thread Project.toml
OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a"
Reactant = "3c362404-f566-11ee-1572-e11a4b42c853"
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait! We sure we want a dependency on Zygote? What is this necessary for? SHould that be in an extension?

@marcobonici marcobonici left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some comments I have left that are worth addressing before going ahead!

marcobonici and others added 7 commits November 13, 2026 14:56
… fixtures.

Remove duplicate public parameter-list interfaces while preserving numerical kernels, and restore frozen reference data from a verified Zenodo archive containing its generators and provenance. Address review naming, documentation, cache-version and pullback-coverage requests.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
…ntation.

Restore figure and network fixtures through separate checksum-verified manifests instead of tracking payloads, and explicitly attach the raw radial-distance docstring. Cover restoration boundaries, existing fixture consumers and public documentation bindings.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Preserve curvature dependence through the flat limit and differentiate fixed neutrino lookup queries without repeatedly clearing table cotangents. Add frozen-reference, public-gradient and import-order regressions.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
…ata.

Add explicit query-time pullbacks while retaining SciML parameter sensitivities, with endpoint and duplicate-query coverage and calibrated pre-repair references. Export the trained-emulator loader and retain empty metadata when a description is absent.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
…tives.

Preserve fixed masses and existing defaults while selecting cooling below Neff=3.044 and radiation at or above it. Cover prepared Mooncake reuse, ForwardDiff and Zygote agreement, one-sided derivatives, and independent CLASS background fixtures in the normal test suite.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Archive the independent CLASS references and generator alongside preserved historical fixtures, and validate their restoration through the normal Pkg.test bootstrap. Keep immutable archive and per-file checksums rather than tracked generated payloads.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Reuse gradient references and Reactant executables, remove tautological checks, and retain both curvature cases. Fingerprint the resolved test environment and bound cache saves so completed precompilation survives test timeouts.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Comment thread test/curvature_reference.tsv Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the tsv here? Shouldn't that be on zenodo?

Comment thread test/growth_query_reference.tsv Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

marcobonici and others added 10 commits November 19, 2026 13:38
Pin the v4 reference artifact and verify automatic restoration of the unchanged TSVs without tracking duplicate copies in git.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Retain the vector, matrix, plateau and replay cases. Time each full-suite file and give Julia 1.12 on macOS a longer test window. Run its PR edge regression in an isolated process while retaining the integrated push run.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Record the child exit as a test result so subsequent files still run. Restore the explicit forward finiteness check. Remove an unused print-only JET script, point fixture provenance at the archive, and document the existing Julia 1.11 Reactant spline limitation.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Use the shared physics-based dictionary keys, expose the thermal prescription in model metadata, and document registry lookup. Pin the published Zenodo archives and test the eleven-output contract.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Select temperature rescaling below Neff=3.044 and the radiation branch at and above the switch. Retain both explicit prescriptions and test the omitted setting on both sides and at equality.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
…ut precision.

Document the changed input ordering and eleven outputs, and cover the radiation-side derivative at the represented threshold in both float precisions.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Keep the ArgumentError contract for every scalar case and check the actionable three-mass guidance instead of requiring an unrelated emulator reference. Drop unused weight-index and stencil-size calculations.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Use read-only views when accumulating the three matrix bands. This preserves the accumulation order and saves 12.69 MB per prepared Mooncake gradient at 1024 knots and 256 curves.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
Use split Gauss–Legendre quadrature only at table initialization. Keep the existing Akima grid and runtime lookup unchanged. Remove the Integrals extension trigger and update the associated tests and examples.

Handle offset-indexed queries in matrix Akima evaluation and its pullback. Clarify loader exports, background examples, and automatic postprocessing.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
The lowest supported dependency set produced a relative norm difference
of about 1.1e-10 between Mooncake and ForwardDiff. Relax only this test
assertion; leave solver settings and independent references unchanged.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>

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