Repository navigation
⚡️ perf: add protocol and session CodSpeed hot-path benches - #406
Merged
Merged
Conversation
Merging this PR will not alter performance
Performance Changes
Comparing |
zrr1999
force-pushed
the
perf/codspeed-hotspots
branch
from
August 17, 2026 08:59
8e78456 to
309924a
Compare
Cover parse/project/normalize/trace and snapshot index/tail workloads in the existing Lens CodSpeed job. Co-authored-by: Cursor <cursoragent@cursor.com>
zrr1999
force-pushed
the
perf/codspeed-hotspots
branch
from
August 17, 2026 09:14
309924a to
e27d14b
Compare
CI1 removed the spark-node-setup composite; this layer still called it, so Lens Production Paths failed on checkout. Co-authored-by: Cursor <cursoragent@cursor.com>
zrr1999
added a commit
that referenced
this pull request
Aug 17, 2026
## 动机 Merge-gate jobs already live in two workflow files. Fine-grained per-job workflows and a shared Node composite added indirection without new policy: `needs` only works inside one workflow. ## 解决方案 Keep similar jobs in the existing files and add intra-lane `needs`: - `ci-static-checks.yml`: `Pre-commit Checks` → `Project Checks` and `Documentation Checks` - `ci-tests.yml`: `Source Tests` → `Process Tests`, `Repro Golden Journey (Ubuntu)`, and `Browser Tests` Setup stays inline. `ce-behavior.yml` stays one job. Do not rename `cd-publish.yml`. Job `name:` strings stay stable. There is still no static-to-runtime `needs` chain. ## 说明 Stacked under [stack #407](https://github.com/zendev-lab/spark/stack/407). This layer targets `main`. ## 后续工作 CodSpeed protocol/session hot-path benches land in #406. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
动机
CodSpeed currently measures Lens production paths only. Protocol parse/project/A2UI/trace and session snapshot index/tail are hotter and cheaper to pin as advisory benches.
解决方案
Add protocol and session CodSpeed cases (500-message parse/project, 500-component A2UI, 247-span traces, 10k snapshot index/tail) to the existing advisory
Lens Production Pathsjob. Correctness tests reuse the*-cases.tsfixtures.说明
Stacked on #405 (
ci/workflow-lanes). Benchmarks stay advisory; they are not a merge gate. The job still uses Node 24 only for CodSpeed's Linux addon.