Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abnormally bad performance of macos-latest runner #3641

Open
mokurin000 opened this issue Jan 7, 2025 · 0 comments
Open

Abnormally bad performance of macos-latest runner #3641

mokurin000 opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@mokurin000
Copy link

mokurin000 commented Jan 7, 2025

Describe the bug
A clear and concise description of what the bug is.
When compiling disarm64, github action will cost ~1 hour compiling decoder_full unit.

To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/mokurin000/disarm64 disarm64
cd disarm64 && cargo build --release --package disarm64

Expected behavior

Runner Version and Platform

  • macos-latest
  • OSX

What's not working?

It costs more than 4000 seconds in mir_pass_jump_threading phase.

Job Log Output

Run houseabsolute/actions-rust-cross@v0
Run echo "/Users/runner/work/_actions/houseabsolute/actions-rust-cross/v0" >> $GITHUB_PATH
Run set-cross-compile.sh x86_64-apple-darwin
+ set -o pipefail
+ TARGET=x86_64-apple-darwin
+ uname -a
+ grep --quiet --extended-regexp -i 'darwin|msys|windows'
+ echo needs-cross=false
+ exit 0
Run dtolnay/rust-toolchain@master
Run : parse toolchain version
Run : construct rustup command line
Run : set $CARGO_HOME
Run : install rustup if needed
Run rustup toolchain install stable --target x86_64-apple-darwin --profile minimal --no-self-update
info: syncing channel updates for 'stable-aarch64-apple-darwin'
info: latest update on 2024-[11](https://github.com/mokurin000/disarm64/actions/runs/12656896467/job/35270511323#step:3:12)-28, rust version 1.83.0 (90b35a623 2024-11-26)
info: downloading component 'rust-std' for 'x86_64-apple-darwin'
info: installing component 'rust-std' for 'x86_64-apple-darwin'
info: self-update is disabled for this build of rustup
  stable-aarch64-apple-darwin updated - rustc 1.83.0 (90b35a623 2024-11-26) (from rustc 1.83.0 (90b35a623 2024-11-26))
info: any updates to rustup will need to be fetched with your system package manager
Run rustup default stable
info: using existing install for 'stable-aarch64-apple-darwin'
info: default toolchain set to 'stable-aarch64-apple-darwin'
  stable-aarch64-apple-darwin unchanged - rustc 1.83.0 (90b35a623 2024-11-26)
Run : create cachekey
Run : disable incremental compilation
Run : enable colors in Cargo output
Run : enable Cargo sparse registry
Run : work around spurious network errors in curl 8.0
Run rustc +stable --version --verbose
rustc 1.83.0 (90b35a623 2024-11-26)
binary: rustc
commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf
commit-date: 2024-11-26
host: aarch64-apple-darwin
release: 1.83.0
LLVM version: 19.1.1
Run set-build-command.sh 
+ set -o pipefail
+ CROSS_DIR=
+ '[' -f /cross ']'
+ echo build-command=cargo
Run determine-cargo-commands.sh build
+ set -o pipefail
+ COMMAND=build
+ '[' build == both ']'
+ echo build=true
Run cargo +stable build --locked --release --package disarm64 --target x86_64-apple-darwin
    Updating crates.io index
 Downloading crates ...
  Downloaded bitfield-struct v0.10.0
  Downloaded bitflags v2.6.0
  Downloaded proc-macro2 v1.0.92
  Downloaded serde_derive v1.0.217
  Downloaded strum_macros v0.26.4
  Downloaded scroll v0.12.0
  Downloaded unicode-ident v1.0.[14](https://github.com/mokurin000/disarm64/actions/runs/12656896467/job/35270511323#step:3:16)
  Downloaded quote v1.0.38
  Downloaded serde v1.0.2[17](https://github.com/mokurin000/disarm64/actions/runs/12656896467/job/35270511323#step:3:20)
  Downloaded log v0.4.22
  Downloaded rustversion v1.0.[19](https://github.com/mokurin000/disarm64/actions/runs/12656896467/job/35270511323#step:3:22)
  Downloaded plain v0.2.3
  Downloaded heck v0.5.0
  Downloaded disarm64_defn v0.1.10
  Downloaded strum v0.26.3
  Downloaded goblin v0.9.2
  Downloaded scroll_derive v0.12.0
  Downloaded syn v2.0.93
   Compiling proc-macro2 v1.0.92
   Compiling unicode-ident v1.0.14
   Compiling rustversion v1.0.19
   Compiling serde v1.0.[21](https://github.com/mokurin000/disarm64/actions/runs/12656896467/job/35270511323#step:3:24)7
   Compiling heck v0.5.0
   Compiling plain v0.2.3
   Compiling quote v1.0.38
   Compiling strum v0.26.3
   Compiling syn v2.0.93
   Compiling log v0.4.[22](https://github.com/mokurin000/disarm64/actions/runs/12656896467/job/35270511323#step:3:25)
   Compiling serde_derive v1.0.217
   Compiling scroll_derive v0.12.0
   Compiling strum_macros v0.26.4
   Compiling scroll v0.12.0
   Compiling goblin v0.9.2
   Compiling bitfield-struct v0.10.0
   Compiling bitflags v2.6.0
   Compiling disarm64_defn v0.1.10
   Compiling disarm64 v0.1.21 (/Users/runner/work/disarm64/disarm64/disarm64)

Runner and Worker's Diagnostic Logs

logs_32773454131.zip

@mokurin000 mokurin000 added the bug Something isn't working label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant