From 8870ec1f90396d205e4c220a3dcf78f22eb5ab33 Mon Sep 17 00:00:00 2001 From: Aditya Mukhopadhyay Date: Wed, 2 Dec 2026 22:07:59 +0530 Subject: [PATCH] Clarify benchmark guide wording --- docs/BINDING_BENCHMARKS.md | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/BINDING_BENCHMARKS.md b/docs/BINDING_BENCHMARKS.md index e06b4c99c0..7633a7a754 100644 --- a/docs/BINDING_BENCHMARKS.md +++ b/docs/BINDING_BENCHMARKS.md @@ -1,13 +1,20 @@ # Binding benchmarks (#776 P16) -These are foreign-runtime measurements, independent of native Criterion data. -The `bindings` matrix in `.github/workflows/bench.yml` selects the whole fixed -shortlist in each binding's `bench/nightly.*` entry point. Core and binding PRs -must land before enabling the default-v3 route. The default-main workflow needs -its identical companion; schedules then select v3 at 14:00 UTC. The 02:00 main -checkout skips all four jobs before building or uploading. Manual runs may use -`binding-ref` to select the common `bench/776-p16-bindings` PR branch during -phase B; no dispatch is part of phase A. +This page records the original four-binding benchmark design (#776 P16). +Those jobs measure the language bindings separately from the native Rust +Criterion benchmarks. The design uses the fixed case list in each binding's +`bench/nightly.*` entry point. + +The [current default-branch workflow](https://github.com/project-minigraf/minigraf/blob/main/.github/workflows/bench.yml) +measures 3.x (`main`) at 14:00 UTC and 2.x (`v2.x`) at 02:00 UTC. The binding +benchmarks run on the 3.x checkout only. The 2.x checkout skips them before +building the bindings and uploads no binding results. See the [3.x binding +benchmark guide](https://github.com/project-minigraf/minigraf/blob/main/docs/BINDING_BENCHMARKS.md) +for the current case list and manual run inputs. + +The old rollout plan below uses phases A and B. During phase B, manual runs +could select the shared `bench/776-p16-bindings` PR branch with `binding-ref`. +No manual runs were planned for phase A. All cases use 1,000 deterministic in-memory integer facts, plus one two-element set fact. The suffixes below expand under `binding/{python,browser,node,c}/`: