Skip to content

ci: speed up PR critical path in CI and Profile Performance - #1816

Merged
CPunisher merged 4 commits into
mainfrom
ci/split-conformance-cache-fixtures
Dec 4, 2026
Merged

CPunisher merged 4 commits into
mainfrom
ci/split-conformance-cache-fixtures

Conversation

@CPunisher

Copy link
Copy Markdown
Member

Motivation

Recent PR CI runs spend ~11m14s (P50) on the single Conformance job—which is the merge-blocking critical path on 100% of recent PRs—because Rust conformance (--profile conformance) and Node.js N-API release builds plus JS conformance run serially in one job, and external test fixtures are freshly cloned on every run (~1m02s). Across all unconditional PR workflows, Profile Performance finishes last on ~74% of PRs (~12m48s P50), spending time rebuilding gungraun-runner from source and transferring binaries between two ubuntu-24.04 jobs.

Changes

  • Split Conformance in .github/workflows/CI.yml: split into parallel Conformance (Rust) and Conformance (JavaScript) jobs so Rust conformance and Node.js release bindings + JS conformance/tests run concurrently with separate Rust build caches.
  • Cache conformance test fixtures in .github/workflows/CI.yml: cache tasks/testsuite/fixtures with actions/cache keyed on hashFiles('scripts/fixture-revisions.txt') and skip ./scripts/clone_fixtures.sh on cache hits.
  • Limit Test (windows-latest) and Test (s390x) to main: run these two cargo-test matrix entries only on push to refs/heads/main, while keeping Check (windows-latest) and Test (ubuntu-latest) / Test (macos-latest) on PRs.
  • Optimize .github/workflows/profile-perf.yml:
    • Cache gungraun-runner binaries by runner OS, architecture, and gungraun-runner version to avoid compiling it from source on every PR.
    • Merge build and gungraun into a single gungraun job on ubuntu-24.04, removing intermediate tarball packaging, artifact upload/download, and duplicate runner setup while keeping comment-pull-request isolated with pull-requests: write.
  • Ruleset note: after merging, update the Protect main - PR required ruleset to replace Conformance with Conformance (Rust) and Conformance (JavaScript), and remove Test (windows-latest) from required status checks.

@CPunisher
CPunisher marked this pull request as ready for review December 4, 2026 07:55
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Deploying swc-next with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9972e01
Status: ✅  Deploy successful!
Preview URL: https://4d305f6a.swc-next.pages.dev
Branch Preview URL: https://ci-split-conformance-cache-f.swc-next.pages.dev

View logs

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T08:04:47.263473Z 9972e01 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f5ceed174a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".

Comment thread .github/workflows/CI.yml Resolved
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Binary size diff

Linux x64 GNU · release · uncompressed, stripped bindings.

Merge: 8448f83c1d1811afcdebe7954dd2dbeefab1a180; base: 4033aa7b84e89ef1d38f1a652b4162abb37efa32.

Artifact Merge Base Change (bytes) Change (%)
@swc-next/core 4,587.56 KiB 4,587.56 KiB 0 0.000% ⚪
@swc-next/parser 1,387.63 KiB 1,387.63 KiB 0 0.000% ⚪
@swc-next/generator 603.02 KiB 603.02 KiB 0 0.000% ⚪
@swc-next/transformer 4,557.75 KiB 4,557.75 KiB 0 0.000% ⚪

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

JavaScript API Gungraun benchmark diff

Base: 4033aa7b84e89ef1d38f1a652b4162abb37efa32; compare: 8448f83c1d1811afcdebe7954dd2dbeefab1a180

Values are shown as compare / base.

Download the raw Gungraun and Valgrind data (retained for 90 days).

Callgrind metric changes

Median instruction counts from three processes, shown as compare / base in K (1,000), truncated to whole thousands. Percentages are rounded to at most three decimal places. Lower is better: 🟢 improvement, 🔴 regression, ⚪ unchanged or overlapping ranges (inconclusive).

JIT disabled (--jitless); predictable mode enabled (--predictable). Counts are not wall time. Exact counts, ranges and profiles are retained in artifacts.

Generate
Benchmark Ir (K) Change
underscore_1_5_2_js 416,724 / 416,724 0% ⚪
Lang
Benchmark Ir (K) Change
tsx 26,891 / 26,891 0% ⚪
Parse
Benchmark Ir (K) Change
underscore_1_5_2_js 546,421 / 546,421 0% ⚪
Source type
Benchmark Ir (K) Change
mjs 26,591 / 26,591 0% ⚪
Walk
Benchmark Ir (K) Change
underscore_1_5_2_js 338,759 / 338,759 0% ⚪
Benchmark results

Exact instruction counts: median (min–max).

Benchmark Compare Ir Base Ir Assessment
generate/underscore_1_5_2_js 416724677 (416724677–416724677) 416724677 (416724677–416724677) Inconclusive (ranges overlap)
lang/tsx 26891662 (26891662–26891662) 26891662 (26891662–26891662) Inconclusive (ranges overlap)
parse/underscore_1_5_2_js 546421695 (546419954–546422223) 546421089 (546421060–546421089) Inconclusive (ranges overlap)
source_type/mjs 26591662 (26591662–26591662) 26591662 (26591662–26591662) Inconclusive (ranges overlap)
walk/underscore_1_5_2_js 338759304 (338759304–338759304) 338759304 (338759304–338759304) Inconclusive (ranges overlap)

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

Gungraun benchmark diff

Base SHA: 4033aa7
Compare SHA: 8448f83

Values are shown as compare / base.

Download the raw Gungraun and Valgrind data (retained for 90 days).

Callgrind metric changes

Callgrind instruction counts (Ir) for the compare and base revisions. Values are shown as compare / base in K (1,000), truncated to whole thousands. Multi-part profiles use the part numbers from Gungraun and include an aggregated Total. New and Removed identify benchmarks that exist on only one side; the missing value is shown as a dash. Percentages are rounded to at most three decimal places. Lower is better: 🟢 improvement, 🔴 regression, ⚪ unchanged.

Formatter
Benchmark Ir (K) Change
formatter/angular 73,639 / 73,639 0% ⚪
formatter/astro_config 4,348 / 4,348 0% ⚪
formatter/backbone 11,034 / 11,034 0% ⚪
formatter/effect_schema_ast 23,717 / 23,717 0% ⚪
formatter/hono_types 16,031 / 16,031 0% ⚪
formatter/jquery_mobile 95,000 / 95,000 0% ⚪
formatter/mootools 47,050 / 47,050 0% ⚪
formatter/three 255,138 / 255,138 0% ⚪
formatter/typescript 1,427,689 / 1,427,689 0% ⚪
formatter/underscore 9,873 / 9,873 0% ⚪
formatter/yui 46,446 / 46,446 0% ⚪
markdown_formatter/biome_readme 287 / 287 0% ⚪
markdown_formatter/nix_changelog 4,706 / 4,706 0% ⚪
markdown_formatter/prettier_options 1,062 / 1,062 0% ⚪
Generator
Benchmark Ir (K) Change
cal_com_tsx 50,264 / 50,264 0% ⚪
typescript 373,928 / 373,928 0% ⚪
Minifier
Benchmark Ir (K) Change
angular 19,086 / 19,086 0% ⚪
semantic 43 / 43 0% ⚪
typescript 385,762 / 385,762 0% ⚪
underscore 2,778 / 2,778 0% ⚪
Parser
Benchmark Ir (K) Change
markdown_parser/biome_readme 316 / 316 +0.003% 🔴
markdown_parser/nix_changelog 8,110 / 8,110 0% ⚪
markdown_parser/prettier_options 1,601 / 1,601 +0.001% 🔴
parser/angular 7,971 / 7,971 0% ⚪
parser/backbone 1,267 / 1,267 0% ⚪
parser/cal_com_tsx 25,103 / 25,103 0% ⚪
parser/hono_types 2,898 / 2,898 0% ⚪
parser/jquery 6,668 / 6,668 0% ⚪
parser/jquery_mobile 10,304 / 10,304 0% ⚪
parser/mootools 5,499 / 5,499 0% ⚪
parser/three 32,274 / 32,274 0% ⚪
parser/typescript 162,356 / 162,356 0% ⚪
parser/underscore 1,131 / 1,131 0% ⚪
parser/yui 5,176 / 5,176 0% ⚪
Semantic
Benchmark Ir (K) Change
analyze/cal_com_tsx 15,944 / 15,944 0% ⚪
analyze/typescript 129,368 / 129,368 0% ⚪
analyze/typescript_checker 55,493 / 55,493 0% ⚪
syntax_check/cal_com_tsx 26,799 / 26,799 0% ⚪
syntax_check/typescript 178,136 / 178,136 0% ⚪
syntax_check/typescript_checker 70,129 / 70,129 0% ⚪
Transform
Benchmark Ir (K) Change
transform/excalidraw_app 34,246 / 34,246 0% ⚪
transform/hono_types 12,715 / 12,715 0% ⚪
transform/kitchen_sink 112,545 / 112,545 0% ⚪
transform/radix_ui_adoption 346 / 346 0% ⚪
transform/three 127,187 / 127,187 0% ⚪
transform_v1/excalidraw_app 83,547 / 83,594 −0.057% 🟢
transform_v1/hono_types 590 / 590 0% ⚪
transform_v1/kitchen_sink 164,771 / 164,811 −0.025% 🟢
transform_v1/radix_ui_adoption 676 / 676 0% ⚪
transform_v1/three 272,447 / 272,446 0% ⚪
Type strip
Benchmark Ir (K) Change
astro_config/Part 1 369 / 369 0% ⚪
astro_config/Part 2 158 / 158 0% ⚪
astro_config/Total 527 / 527 0% ⚪
effect_schema_ast/Part 1 2,985 / 2,985 0% ⚪
effect_schema_ast/Part 2 675 / 675 0% ⚪
effect_schema_ast/Total 3,661 / 3,661 0% ⚪
hono_types/Part 1 2,891 / 2,891 0% ⚪
hono_types/Part 2 112 / 112 0% ⚪
hono_types/Total 3,003 / 3,003 0% ⚪
Visit
Benchmark Ir (K) Change
traverse/cal_com_tsx 2,826 / 2,826 0% ⚪
traverse/typescript 25,822 / 25,822 0% ⚪
visit/cal_com_tsx 2,874 / 2,874 0% ⚪
visit/typescript 25,119 / 25,119 0% ⚪
visit_mut/cal_com_tsx 2,555 / 2,555 0% ⚪
visit_mut/typescript 24,288 / 24,288 0% ⚪
Benchmark results
gungraun::parser::bench_parser angular:(ANGULAR, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                    7971657|7971657              (No change)
gungraun::parser::bench_parser backbone:(BACKBONE, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                    1267593|1267593              (No change)
gungraun::parser::bench_parser jquery:(JQUERY, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                    6668819|6668819              (No change)
gungraun::parser::bench_parser jquery_mobile:(JQUERY_MOBILE, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                   10304129|10304129             (No change)
gungraun::parser::bench_parser mootools:(MOOTOOLS, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                    5499972|5499972              (No change)
gungraun::parser::bench_parser underscore:(UNDERSCORE, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                    1131858|1131858              (No change)
gungraun::parser::bench_parser three:(THREE, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                   32274661|32274661             (No change)
gungraun::parser::bench_parser yui:(YUI, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                    5176318|5176318              (No change)
gungraun::parser::bench_parser typescript:(TYPESCRIPT, Lang :: Js)
  Baselines:                                              |base
  Instructions:                                  162356062|162356062            (No change)
gungraun::parser::bench_parser cal_com_tsx:(CAL_COM_TSX, Lang :: Tsx)
  Baselines:                                              |base
  Instructions:                                   25103303|25103303             (No change)
gungraun::parser::bench_parser hono_types:(HONO_TYPES, Lang :: Ts)
  Baselines:                                              |base
  Instructions:                                    2898684|2898684              (No change)
gungraun::parser::bench_markdown_parser biome_readme:(BIOME_README)
  Baselines:                                              |base
  Instructions:                                     316318|316308               (+0.00316%) [+1.00003x]
gungraun::parser::bench_markdown_parser prettier_options:(PRETTIER_OPTIONS)
  Baselines:                                              |base
  Instructions:                                    1601151|1601138              (+0.00081%) [+1.00001x]
gungraun::parser::bench_markdown_parser nix_changelog:(NIX_CHANGELOG)
  Baselines:                                              |base
  Instructions:                                    8110561|8110561              (No change)
gungraun::semantic::bench_analyze typescript:(setup_program(TYPESCRIPT, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                  129368253|129368253            (No change)
gungraun::semantic::bench_analyze cal_com_tsx:(setup_program(CAL_COM_TSX, Lang :: Tsx))
  Baselines:                                              |base
  Instructions:                                   15944176|15944176             (No change)
gungraun::semantic::bench_analyze typescript_checker:(setup_program(TYPESCRIPT_CHECKER, Lang :: Ts))
  Baselines:                                              |base
  Instructions:                                   55493383|55493383             (No change)
gungraun::semantic::bench_syntax_check typescript:(setup_program(TYPESCRIPT, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                  178136179|178136179            (No change)
gungraun::semantic::bench_syntax_check cal_com_tsx:(setup_program(CAL_COM_TSX, Lang :: Tsx))
  Baselines:                                              |base
  Instructions:                                   26799033|26799033             (No change)
gungraun::semantic::bench_syntax_check typescript_checker:(setup_program(TYPESCRIPT_CHECKER, Lang :: Ts))
  Baselines:                                              |base
  Instructions:                                   70129208|70129208             (No change)
gungraun::generator::bench_generate typescript:(setup_generate(TYPESCRIPT, "typescript.js"))
  Baselines:                                              |base
  Instructions:                                  373928751|373928751            (No change)
gungraun::generator::bench_generate cal_com_tsx:(setup_generate(CAL_COM_TSX, "cal.com.tsx"))
  Baselines:                                              |base
  Instructions:                                   50264180|50264180             (No change)
gungraun::formatter::bench_formatter angular:(setup_formatter_program(ANGULAR, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                   73639607|73639607             (No change)
gungraun::formatter::bench_formatter backbone:(setup_formatter_program(BACKBONE, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                   11034904|11034904             (No change)
gungraun::formatter::bench_formatter jquery_mobile:(setup_formatter_program(JQUERY_MOBILE, Lang :: Js...
  Baselines:                                              |base
  Instructions:                                   95000825|95000825             (No change)
gungraun::formatter::bench_formatter mootools:(setup_formatter_program(MOOTOOLS, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                   47050580|47050580             (No change)
gungraun::formatter::bench_formatter underscore:(setup_formatter_program(UNDERSCORE, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                    9873726|9873726              (No change)
gungraun::formatter::bench_formatter three:(setup_formatter_program(THREE, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                  255138559|255138559            (No change)
gungraun::formatter::bench_formatter yui:(setup_formatter_program(YUI, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                   46446266|46446266             (No change)
gungraun::formatter::bench_formatter typescript:(setup_formatter_program(TYPESCRIPT, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                 1427689985|1427689985           (No change)
gungraun::formatter::bench_formatter astro_config:(setup_formatter_program(ASTRO_CONFIG, Lang :: Ts)...
  Baselines:                                              |base
  Instructions:                                    4348503|4348503              (No change)
gungraun::formatter::bench_formatter effect_schema_ast:(setup_formatter_program(EFFECT_SCHEMA_AST, Lang :...
  Baselines:                                              |base
  Instructions:                                   23717803|23717803             (No change)
gungraun::formatter::bench_formatter hono_types:(setup_formatter_program(HONO_TYPES, Lang :: Ts))
  Baselines:                                              |base
  Instructions:                                   16031478|16031478             (No change)
gungraun::formatter::bench_markdown_formatter biome_readme:(parse_markdown(BIOME_README))
  Baselines:                                              |base
  Instructions:                                     287100|287100               (No change)
gungraun::formatter::bench_markdown_formatter prettier_options:(parse_markdown(PRETTIER_OPTIONS))
  Baselines:                                              |base
  Instructions:                                    1062342|1062342              (No change)
gungraun::formatter::bench_markdown_formatter nix_changelog:(parse_markdown(NIX_CHANGELOG))
  Baselines:                                              |base
  Instructions:                                    4706220|4706220              (No change)
gungraun::minifier::bench_minifier underscore:(setup_minifier(UNDERSCORE))
  Baselines:                                              |base
  Instructions:                                    2778234|2778234              (No change)
gungraun::minifier::bench_minifier angular:(setup_minifier(ANGULAR))
  Baselines:                                              |base
  Instructions:                                   19086926|19086926             (No change)
gungraun::minifier::bench_minifier typescript:(setup_minifier(TYPESCRIPT))
  Baselines:                                              |base
  Instructions:                                  385762253|385762253            (No change)
gungraun::minifier::bench_minifier semantic:(setup_minifier(MINIFIER_SEMANTIC))
  Baselines:                                              |base
  Instructions:                                      43050|43050                (No change)
gungraun::transform::bench_transform three:(setup_transform(THREE, "three-0.138.3.js"))
  Baselines:                                              |base
  Instructions:                                  127187875|127187875            (No change)
gungraun::transform::bench_transform excalidraw_app:(setup_transform(EXCALIDRAW_APP, "App.tsx"))
  Baselines:                                              |base
  Instructions:                                   34246967|34246967             (No change)
gungraun::transform::bench_transform radix_ui_adoption:(setup_transform(RADIX_UI_ADOPTION, "RadixUIAdopti...
  Baselines:                                              |base
  Instructions:                                     346557|346557               (No change)
gungraun::transform::bench_transform hono_types:(setup_transform(HONO_TYPES, "hono-types.ts"))
  Baselines:                                              |base
  Instructions:                                   12715723|12715723             (No change)
gungraun::transform::bench_transform kitchen_sink:(setup_transform(KITCHEN_SINK, "kitchen-sink.tsx")...
  Baselines:                                              |base
  Instructions:                                  112545323|112545323            (No change)
gungraun::transform::bench_transform_v1 three:(setup_transform_v1(THREE, "three-0.138.3.js"))
  Baselines:                                              |base
  Instructions:                                  272447331|272446488            (+0.00031%) [+1.00000x]
gungraun::transform::bench_transform_v1 excalidraw_app:(setup_transform_v1(EXCALIDRAW_APP, "App.tsx"))
  Baselines:                                              |base
  Instructions:                                   83547283|83594722             (-0.05675%) [-1.00057x]
gungraun::transform::bench_transform_v1 radix_ui_adoption:(setup_transform_v1(RADIX_UI_ADOPTION, "RadixUIAdo...
  Baselines:                                              |base
  Instructions:                                     676967|676967               (No change)
gungraun::transform::bench_transform_v1 hono_types:(setup_transform_v1(HONO_TYPES, "hono-types.ts"))
  Baselines:                                              |base
  Instructions:                                     590032|590032               (No change)
gungraun::transform::bench_transform_v1 kitchen_sink:(setup_transform_v1(KITCHEN_SINK, "kitchen-sink.ts...
  Baselines:                                              |base
  Instructions:                                  164771084|164811613            (-0.02459%) [-1.00025x]
gungraun::type_strip::bench_type_strip astro_config:(ASTRO_CONFIG, type_strip_options(Lang :: Ts))
  ## pid: 8708 thread: 1 part: 1                          |pid: 8628 thread: 1 part: 1
  Command:
                                      /home/runner/work/_temp/gungraun-bin/head/gungraun|/home/runner/work/_temp/gungraun-bin/base/gungraun --gungraun-run d:d:000000 00006 00000 00000
  Baselines:                                              |base
  Instructions:                                     369418|369418               (No change)
  ## pid: 8708 thread: 1 part: 2                          |pid: 8628 thread: 1 part: 2
  Command:
                                      /home/runner/work/_temp/gungraun-bin/head/gungraun|/home/runner/work/_temp/gungraun-bin/base/gungraun --gungraun-run d:d:000000 00006 00000 00000
  Instructions:                                     158362|158362               (No change)
  ## Total
  Instructions:                                     527780|527780               (No change)
gungraun::type_strip::bench_type_strip effect_schema_ast:(EFFECT_SCHEMA_AST, type_strip_options(Lang :: Ts)...
  ## pid: 8709 thread: 1 part: 1                          |pid: 8629 thread: 1 part: 1
  Command:
                                      /home/runner/work/_temp/gungraun-bin/head/gungraun|/home/runner/work/_temp/gungraun-bin/base/gungraun --gungraun-run d:d:000000 00006 00000 00001
  Baselines:                                              |base
  Instructions:                                    2985978|2985978              (No change)
  ## pid: 8709 thread: 1 part: 2                          |pid: 8629 thread: 1 part: 2
  Command:
                                      /home/runner/work/_temp/gungraun-bin/head/gungraun|/home/runner/work/_temp/gungraun-bin/base/gungraun --gungraun-run d:d:000000 00006 00000 00001
  Instructions:                                     675715|675715               (No change)
  ## Total
  Instructions:                                    3661693|3661693              (No change)
gungraun::type_strip::bench_type_strip hono_types:(HONO_TYPES, type_strip_options(Lang :: Ts))
  ## pid: 8710 thread: 1 part: 1                          |pid: 8630 thread: 1 part: 1
  Command:
                                      /home/runner/work/_temp/gungraun-bin/head/gungraun|/home/runner/work/_temp/gungraun-bin/base/gungraun --gungraun-run d:d:000000 00006 00000 00002
  Baselines:                                              |base
  Instructions:                                    2891268|2891268              (No change)
  ## pid: 8710 thread: 1 part: 2                          |pid: 8630 thread: 1 part: 2
  Command:
                                      /home/runner/work/_temp/gungraun-bin/head/gungraun|/home/runner/work/_temp/gungraun-bin/base/gungraun --gungraun-run d:d:000000 00006 00000 00002
  Instructions:                                     112005|112005               (No change)
  ## Total
  Instructions:                                    3003273|3003273              (No change)
gungraun::visit::bench_visit typescript:(setup_program(TYPESCRIPT, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                   25119209|25119209             (No change)
gungraun::visit::bench_visit cal_com_tsx:(setup_program(CAL_COM_TSX, Lang :: Tsx))
  Baselines:                                              |base
  Instructions:                                    2874310|2874310              (No change)
gungraun::visit::bench_visit_mut typescript:(setup_program(TYPESCRIPT, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                   24288597|24288597             (No change)
gungraun::visit::bench_visit_mut cal_com_tsx:(setup_program(CAL_COM_TSX, Lang :: Tsx))
  Baselines:                                              |base
  Instructions:                                    2555855|2555855              (No change)
gungraun::visit::bench_traverse typescript:(setup_program(TYPESCRIPT, Lang :: Js))
  Baselines:                                              |base
  Instructions:                                   25822582|25822582             (No change)
gungraun::visit::bench_traverse cal_com_tsx:(setup_program(CAL_COM_TSX, Lang :: Tsx))
  Baselines:                                              |base
  Instructions:                                    2826624|2826624              (No change)

Gungraun result: Ok. 59 without regressions; 0 regressed; 0 filtered; 59 benchmarks finished in 75.5781s

@CPunisher
CPunisher merged commit 4934fae into main Dec 4, 2026
27 checks passed
@CPunisher
CPunisher deleted the ci/split-conformance-cache-fixtures branch December 4, 2026 08:13
CPunisher added a commit that referenced this pull request Dec 4, 2026
## Motivation

`Profile Performance` still rebuilds the `base` Gungraun benchmark
binary on every pull request (~3–5 minutes), even when multiple PRs
share the same `main` base commit. In addition, after splitting
main-only tests into `cargo-test-main` in #1816, GitHub Actions renders
the skipped PR job name literally as `Test (${{ matrix.name }})` because
job-level `if` is evaluated before matrix expansion.

## Changes

- **Cache `Profile Performance` base benchmark binaries
(`.github/workflows/profile-perf.yml`)**:
- Add a `push` trigger on `main` with a `warm-base` job that builds the
Gungraun benchmark binary for each `main` commit and caches
`$RUNNER_TEMP/gungraun-bin/base` by OS, architecture, active Rust
toolchain, and commit SHA in the default branch cache scope (so all PRs
can read it).
- Share `cache-key: profile-perf-gungraun` in `setup-rust-toolchain`
between `warm-base` and `gungraun` so PRs still get warm incremental
Cargo caches when skipping the base build.
- Restore the cached base binary in `gungraun` and skip checking out and
building `base` on cache hits, falling back to building `base` on cache
misses (such as Rust toolchain upgrades or stacked PRs).
- **Fix skipped matrix job display name (`.github/workflows/CI.yml`)**:
- Change `cargo-test-main` to use a static `name: Test` with a single
`target: [windows-latest, s390x]` matrix dimension, so skipped PR checks
display as `Test` while `main` push runs still display as `Test
(windows-latest)` and `Test (s390x)`.

## Related Links

- #1816
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant