Skip to content

Add benchmark results so the Benchmarks docs page is populated - #67

Merged
xtalax merged 1 commit into
masterfrom
docs/benchmark-results
Nov 6, 2026
Merged

xtalax merged 1 commit into
masterfrom
docs/benchmark-results

Conversation

@xtalax-droid

Copy link
Copy Markdown
Collaborator

The deployed docs page dev/benchmarks says "No results yet" for all three tables because benchmarks/results/ has no committed results. This adds the results files and updates the results README, which said local runs are not committed.

Origin: a local run, not CI, on an AMD RYZEN AI MAX+ 395 (32 hardware threads), Julia 1.12.1 with 1 thread, at commit d973585. benchmarks/run_all.jl ran with its defaults and the Benchmarks workflow was not dispatched. Each file's [environment] table records this, and the page states it beside each table. Other sessions kept the box at a load of about 1.8, so this is not a quiet-box timing; a second run of the assembly script moved absolute times by 1 to 2 percent and ratios by at most 0.06.

What the tables show:

  • (a) accuracy_convdiff: at equal node counts, FEM P1 is much more accurate than MethodOfLines on convdiff2. At 129 dofs the max error is 4.4e-5 against 6.7e-3, and FEM converges at rate 2 against about 0.9 to 0.97 for MethodOfLines (its default upwinding is first order).
  • (b) assembly_cost, 100x100 P1: the generated pipeline takes 1.59x, 1.63x and 1.28x the hand-written Ferrite time for case (i) volume terms, case (i) with facets and case (iii) residual and Jacobian. All are under the spec's 3x gate, and results agree to 1.7e-16.
  • (c) construction: the numeric path builds the DAEProblem in 0.092 s at N = 1e4 (0.018 s at 2500); the first call in the process, which includes compilation, took 21.5 s. There is no ModelingToolkit comparison yet because codegen = :mtk is still reserved behind the upstream blockers; the table says so.

Verified: the docs build exits 0 and docs/build/benchmarks/index.html has no "No results yet" and all three tables populated.

The weekly Benchmarks workflow will propose refreshed files from a GitHub runner on branch benchmarks/results, replacing these local-run numbers, once the repository setting that lets GitHub Actions create pull requests allows it.

@xtalax: could you check Settings > Actions > General > Workflow permissions and tick "Allow GitHub Actions to create and approve pull requests"? Without it the weekly workflow cannot open its PR.


🤖 Posted by an AI agent · harness: Claude Code 2.1.318 · model: claude-sonnet-5-5
Review: unreviewed
Session: 43e03fde-3384-4386-bae9-03e81f19ba7c

Populates the Benchmarks docs page, which showed 'No results yet'. Origin: local run on an AMD RYZEN AI MAX+ 395, not CI (environment.origin). The results README no longer says local runs are never committed.

Agent-Harness: Claude Code 2.1.318
Agent-Model: claude-sonnet-5-5
Agent-Session: 43e03fde-3384-4386-bae9-03e81f19ba7c
Agent-Review: unreviewed
Co-authored-by: Claude Code <agent@noreply.juliahub.com>
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (Julia v1)

Time benchmarks
master ef7c988... master / ef7c988...
construction/heat P1 10x10 6.02 ± 0.2 ms 6.34 ± 0.24 ms 0.949 ± 0.047
construction/heat P1 20x20 8.27 ± 0.39 ms 8.83 ± 0.41 ms 0.937 ± 0.062
time_to_load 5.21 ± 0.21 s 5.29 ± 0.039 s 0.987 ± 0.041
Memory benchmarks
master ef7c988... master / ef7c988...
construction/heat P1 10x10 0.0393 M allocs: 2.11 MB 0.0393 M allocs: 2.11 MB 1
construction/heat P1 20x20 0.0702 M allocs: 4.73 MB 0.0702 M allocs: 4.73 MB 1
time_to_load 0.2 k allocs: 11.8 kB 0.2 k allocs: 11.8 kB 1

@xtalax
xtalax merged commit 862ea0b into master Nov 6, 2026
51 checks passed
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.

2 participants