Skip to content

[test] Inline merge-base baseline in CircleCI benchmark job#4618

Draft
Janpot wants to merge 13 commits intomui:masterfrom
Janpot:test/mui-public-1312-preview
Draft

[test] Inline merge-base baseline in CircleCI benchmark job#4618
Janpot wants to merge 13 commits intomui:masterfrom
Janpot:test/mui-public-1312-preview

Conversation

@Janpot
Copy link
Copy Markdown
Member

@Janpot Janpot commented Apr 15, 2026

Rework the CircleCI `test_benchmark` job to inline a baseline report into the head upload:

  • Compute the merge-base with `origin/master`.
  • Run benchmarks at that commit in a `git worktree` at `/tmp/base-worktree`.
  • Export `BENCHMARK_BASELINE_PATH` via `$BASH_ENV` so the head run picks it up automatically.
  • Short-circuit when `$CIRCLE_BRANCH == master`.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 15, 2026

commit: 2e625bb

@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented Apr 15, 2026

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

Total duration: 1,180.25 ms ▼-334.90 ms(-22.1%) | Renders: 53 (+0) | Paint: 1,848.53 ms ▼-497.42 ms(-21.2%)

Test Duration Renders
Popover mount (300 instances) 94.10 ms ▼-51.11 ms(-35.2%) 2 (+0)
Tooltip mount (300 contained roots) 57.89 ms ▼-30.42 ms(-34.5%) 2 (+0)
Slider mount (300 instances) 128.11 ms ▼-45.40 ms(-26.2%) 3 (+0)
Menu mount (300 instances) 121.35 ms ▼-41.32 ms(-25.4%) 2 (+0)
Tabs mount (200 instances) 220.05 ms ▼-74.43 ms(-25.3%) 4 (+0)

...and 7 more. View full report

Details of benchmark changes


Check out the code infra dashboard for more information about this PR.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 15, 2026

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 2e625bb
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69e6117b1a41d20009b5928e
😎 Deploy Preview https://deploy-preview-4618--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Janpot Janpot changed the title [test] Point benchmark upload at mui-public#1312 preview [test] Inline merge-base baseline in CircleCI benchmark job Apr 15, 2026
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 16, 2026
@Janpot Janpot force-pushed the test/mui-public-1312-preview branch from 796c112 to 1b53e0b Compare April 16, 2026 10:42
@github-actions github-actions Bot added PR: out-of-date The pull request has merge conflicts and can't be merged. and removed PR: out-of-date The pull request has merge conflicts and can't be merged. labels Apr 16, 2026
Janpot added 8 commits April 17, 2026 12:50
Install the pkg.pr.new preview build of @mui/internal-benchmark from
mui/mui-public#1312 in test/performance, and set CI_REPORT_API_URL on
the CircleCI test_benchmark job to the render.com preview of
code-infra-dashboard for that PR, so uploads exercise the new base-
field round-trip end-to-end.
Rebuild the workflow from mui/mui-public#1312 in base-ui's CircleCI
test_benchmark job: compute the merge-base with origin/master, run
benchmarks in a git worktree at that commit, then run head benchmarks
with BENCHMARK_BASELINE_PATH pointing at the baseline results file.
BASH_ENV carries the env var across steps so the head step stays a
plain pnpm test:benchmark. Master pipelines short-circuit before the
fetch. Also bumps the pkg.pr.new pin from 8776a83 to 8d6d2cc.
@Janpot Janpot force-pushed the test/mui-public-1312-preview branch from ecbc6ee to 74d176d Compare April 17, 2026 11:05
@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 17, 2026
@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant