Repository navigation
HF-150: advisory instruction-count workflow (prototype) - #1814
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… script Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
hyperformula-docs | ff3019a | Commit Preview URL Branch Preview URL |
Nov 10 2026, 07:58 AM |
Performance comparison of head (ff3019a) vs base (b3f2f68) with the tests at f9f0e41
Threshold of an unmarked scenario = max(5%, 3 x the standard error of the difference of the two medians). † = the band of changes observed on identical code in earlier runs, instead of that rule. ‡ = a fixed threshold for a scenario that guards against a change of complexity class. This check is advisory: it reports regressions but does not fail the build. |
A paired hyperformula-tests branch without performance/run-instructions.ts made the count steps stop with a module-not-found error. The job now checks for the runner and, when it is missing, skips the counts and the comparison with a notice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
The description has no AI assistance section, though it says the PR was generated with Claude Code
blocking: The description doesn't have the template's "AI assistance" section, though it ends with "Generated with Claude Code". Could you add it, naming the tool and the parts it wrote here and in the paired tests PR?
Tobiadefami
left a comment
There was a problem hiding this comment.
blocking: The description still needs the template's "AI assistance" section, which the Definition of Done requires (see my earlier comment, now labelled blocking).
….yml uses setup-node v7.1.0 and checkout v7.0.1, each with its version comment, for all four steps, including the hyperformula-tests checkout, which had a pin without a comment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The AI assistance section is in this description, after "How did you test your changes?", and hyperformula-tests#91 now has one as well. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/hf-150-perf-gate #1814 +/- ##
========================================================
Coverage ? 97.36%
========================================================
Files ? 209
Lines ? 16524
Branches ? 3670
========================================================
Hits ? 16089
Misses ? 435
Partials ? 0 🚀 New features to boost your workflow:
|
Tobiadefami
left a comment
There was a problem hiding this comment.
Thanks, the earlier points are fixed.
Context
The PR adds an advisory workflow that compares base and head by the CPU instructions each performance scenario executes, instead of by time.
.github/workflows/performance-instructions.yml: installs valgrind, counts the instructions of every scenario for base and head (one after the other, from the same build directory), writes the comparison to the job summary and prints the raw counts into the log. Paths follow the monorepo layout.continue-on-error) and posts no comment.performance.ymlis unchanged.performance/run-instructions.ts, the job skips the counts and the comparison with a notice instead of failing with module-not-found.hyperformula/dev-docs/PERFORMANCE.md: one sentence about this workflow.How did you test your changes?
feat/hf-150-instruction-countinhyperformula-tests.performance.ymland the zero-count check (ff3019a, tests f9f0e41)setCellContentsmoved every scenario that calls it by +0.06% to +3.97%, and every other scenario by at most 0.013%.developandfeat/hf-150-perf-gate(no runner) print the notice and set no output, so the three guarded steps skip;feat/hf-150-instruction-countsetspresent=true.AI assistance
Claude Code co-authored 5 of the 7 non-merge commits on this branch (the workflow) and 7 of the 8 on the paired
hyperformula-testsbranch (the instruction-count runner), as theCo-Authored-By: Claudetrailers record. The other 2 and 1 commits carry no such trailer.Compatibility with Excel and Google Sheets
Not applicable.
Public API changes
None.
Out of scope and follow-ups
Types of changes
CI tooling only, plus one sentence in
dev-docs/.Related issues
Checklist
dev-docs/pages this change affects – or none needed it.🤖 Generated with Claude Code
Note
Low Risk
CI-only addition with read permissions and no PR gating; engine code and public APIs are unchanged.
Overview
Adds a prototype GitHub Actions workflow (
Performance (instruction count)) that runs on pull requests alongside the existing wall-clock Performance job, without changing that workflow.The new job checks out base and head, shares the paired hyperformula-tests suite (including valgrind-based runners when present), runs
run-instructions.tssequentially for each side, compares results withcompare-instructions.ts, and appends the report to the job summary. It usescontinue-on-error, does not comment on the PR, and skips counting with a notice ifperformance/run-instructions.tsis missing on the tests branch.hyperformula/dev-docs/PERFORMANCE.mdgains one sentence describing this advisory instruction-count check.Reviewed by Cursor Bugbot for commit ff3019a. Bugbot is set up for automated code reviews on this repo. Configure here.