Skip to content

[do not merge] perf & CI experiments - #166675

Draft
Kobzol wants to merge 2 commits into
rust-lang:mainfrom
Kobzol:perf
Draft

Kobzol wants to merge 2 commits into
rust-lang:mainfrom
Kobzol:perf

Conversation

@Kobzol

@Kobzol Kobzol commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Continuation of the venerable #112049.

Various CI and perf experiments.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 27, 2026
@Kobzol

Kobzol commented Nov 27, 2026

Copy link
Copy Markdown
Member Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Nov 27, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 27, 2026
[do not merge] perf & CI experiments
@rust-bors

This comment has been minimized.

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-tidy failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#10 1.932 + mv node-v24.22.2-linux-x64 /node
#10 1.933 + /node/bin/node /node/bin/npm install --global yarn@1.22.22
#10 2.337 
#10 2.337 added 1 package in 360ms
#10 2.338 npm warn install-scripts 1 package has install scripts not yet covered by allowScripts:
#10 2.338 npm warn install-scripts   yarn@1.22.22 (preinstall: :; (node ./preinstall.js > /dev/null 2>&1 || true))
#10 2.338 npm warn install-scripts
#10 2.338 npm warn install-scripts Run `npm install -g --allow-scripts=yarn` to allow these scripts once, or `npm config set allow-scripts=yarn --location=user` to allow them for all global installs.
#10 2.339 npm notice
#10 2.339 npm notice New major version of npm available! 11.19.1 -> 12.2.3
#10 2.339 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.3
#10 2.339 npm notice To update run: npm install -g npm@12.2.3
#10 2.339 npm notice
---
tidy check
x.py completions check
tidy [rustdoc_json (src)]: `rustdoc-json-types` modified, checking format version
tidy: Skipping binary file check, read-only filesystem
tidy [deps]: Dependency for rustc-main not explicitly permitted: registry+https://github.com/rust-lang/crates.io-index#bumpalo@3.20.3
Go to `src/tools/tidy/src/deps.rs:312` for the list.
removing old virtual environment
creating virtual environment at '/checkout/obj/build/venv' using 'python3.12' and 'venv'
Requirement already satisfied: pip in ./build/venv/lib/python3.12/site-packages (24.0)
Collecting pip
  Downloading pip-26.3-py3-none-any.whl.metadata (4.6 kB)
---
39 files already formatted
checking C++ file formatting
spellchecking files
building external tool typos from package typos-cli@1.38.1
tidy [deps]: FAIL
finished building tool typos
yarn install v1.22.22
warning package.json: No license field
warning ../../package.json: License should be a valid SPDX license expression
warning No license field
---
typechecking javascript files
tidy: The following check failed: deps
Bootstrap failed while executing `test src/tools/tidy tidyselftest --extra-checks=py,cpp,js,spellcheck`
Currently active steps:
test::Tidy {  } at src/bootstrap/src/core/build_steps/test.rs:1749
Command `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools-bin/rust-tidy --root-path=/checkout --cargo-path=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo --output-dir=/checkout/obj/build --concurrency=4 --npm-path=/node/bin/yarn --ci=true --extra-checks=py,cpp,js,spellcheck` failed with exit code 1
Created at: src/bootstrap/src/core/build_steps/tool.rs:1668:23
Executed at: src/bootstrap/src/core/build_steps/test.rs:1834:24

Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:01:38
  local time: Fri Nov 27 19:37:47 UTC 2026
  network time: Fri, 27 Nov 2026 19:37:47 GMT
##[error]Process completed with exit code 1.
##[group]Run echo "disk usage:"

@rust-bors

rust-bors Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: a643872 (a643872842bdddb6433e48eca357af23aba82cce)
Base parent: b61bfe5 (b61bfe5f22374c5570299aee056c23ad9acc81ff)

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown

Finished benchmarking commit (a643872): comparison URL.

Overall result: ✅ improvements - no action needed

Benchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up.

@bors rollup=iffy rustc-perf
@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.8% [-1.0%, -0.2%] 7
Improvements ✅
(secondary)
-12.0% [-12.6%, -11.4%] 6
All ❌✅ (primary) -0.8% [-1.0%, -0.2%] 7

Max RSS (memory usage)

Results (primary -0.3%, secondary -1.1%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
3.7% [3.7%, 3.7%] 1
Regressions ❌
(secondary)
0.6% [0.6%, 0.6%] 1
Improvements ✅
(primary)
-2.3% [-2.5%, -2.0%] 2
Improvements ✅
(secondary)
-1.6% [-3.2%, -0.7%] 3
All ❌✅ (primary) -0.3% [-2.5%, 3.7%] 3

Cycles

Results (secondary -1.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.7% [0.6%, 0.8%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-1.9% [-2.9%, -0.9%] 7
All ❌✅ (primary) - - 0

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 462.15s -> 462.951s (0.17%)
Artifact size: 405.59 MiB -> 405.51 MiB (-0.02%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Nov 27, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants