8000 Clarify benchmark guide wording (v2.x) by adityamukho · Pull Request #981 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions docs/BINDING_BENCHMARKS.md
Original file line number Diff line number Diff line change
@@ -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}/`:
Expand Down
Loading
0