Skip to content

ci: Use Cargo build.warnings instead of RUSTFLAGS=-Dwarnings - #2701

Merged
mkroening merged 5 commits into
mainfrom
cargo-warnings
Sep 5, 2026
Merged

ci: Use Cargo build.warnings instead of RUSTFLAGS=-Dwarnings#2701
mkroening merged 5 commits into
mainfrom
cargo-warnings

Conversation

@mkroening

Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions 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.

Benchmark Results

Details
Benchmark Current: b32e8a0 Previous: 2e23902 Performance Ratio
startup_benchmark Build Time 92.64 s 80.34 s 1.15
startup_benchmark File Size 0.79 MB 0.80 MB 0.99
Startup Time - 1 core 0.69 s (±0.02 s) 0.75 s (±0.02 s) 0.93
Startup Time - 2 cores 0.69 s (±0.02 s) 0.74 s (±0.02 s) 0.94
Startup Time - 4 cores 0.69 s (±0.02 s) 0.74 s (±0.02 s) 0.93
multithreaded_benchmark Build Time 91.66 s 82.11 s 1.12
multithreaded_benchmark File Size 0.88 MB 0.86 MB 1.02
Multithreaded Pi Efficiency - 2 Threads 69.64 % (±4.51 %) 85.89 % (±6.61 %) 0.81
Multithreaded Pi Efficiency - 4 Threads 42.37 % (±2.58 %) 43.43 % (±2.56 %) 0.98
Multithreaded Pi Efficiency - 8 Threads 20.73 % (±1.26 %) 25.76 % (±1.53 %) 0.80
micro_benchmarks Build Time 221.35 s 80.40 s 2.75
micro_benchmarks File Size 0.88 MB 0.86 MB 1.02
Scheduling time - 1 thread 171.57 ticks (±28.74 ticks) 62.65 ticks (±4.06 ticks) 2.74
Scheduling time - 2 threads 106.05 ticks (±20.01 ticks) 34.08 ticks (±4.10 ticks) 3.11
Micro - Time for syscall (getpid) 8.60 ticks (±5.43 ticks) 3.45 ticks (±0.58 ticks) 2.49
Memcpy speed - (built_in) block size 4096 57250.77 MByte/s (±41153.16 MByte/s) 82448.38 MByte/s (±56997.13 MByte/s) 0.69
Memcpy speed - (built_in) block size 1048576 14382.53 MByte/s (±11838.58 MByte/s) 30585.98 MByte/s (±24707.84 MByte/s) 0.47
Memcpy speed - (built_in) block size 16777216 12040.49 MByte/s (±9943.91 MByte/s) 26340.06 MByte/s (±21720.96 MByte/s) 0.46
Memset speed - (built_in) block size 4096 57644.58 MByte/s (±41424.93 MByte/s) 82292.76 MByte/s (±56891.50 MByte/s) 0.70
Memset speed - (built_in) block size 1048576 14912.60 MByte/s (±12215.28 MByte/s) 31323.85 MByte/s (±25145.86 MByte/s) 0.48
Memset speed - (built_in) block size 16777216 12478.24 MByte/s (±10263.06 MByte/s) 27104.68 MByte/s (±22209.94 MByte/s) 0.46
Memcpy speed - (rust) block size 4096 54756.28 MByte/s (±39692.70 MByte/s) 74097.96 MByte/s (±51811.44 MByte/s) 0.74
Memcpy speed - (rust) block size 1048576 14715.49 MByte/s (±12253.26 MByte/s) 30361.60 MByte/s (±24602.37 MByte/s) 0.48
Memcpy speed - (rust) block size 16777216 12325.12 MByte/s (±10204.29 MByte/s) 27625.34 MByte/s (±22806.88 MByte/s) 0.45
Memset speed - (rust) block size 4096 55300.75 MByte/s (±40108.44 MByte/s) 74373.47 MByte/s (±51976.48 MByte/s) 0.74
Memset speed - (rust) block size 1048576 15047.44 MByte/s (±12484.37 MByte/s) 31110.89 MByte/s (±25033.24 MByte/s) 0.48
Memset speed - (rust) block size 16777216 12695.05 MByte/s (±10446.15 MByte/s) 28386.93 MByte/s (±23265.03 MByte/s) 0.45
alloc_benchmarks Build Time 219.92 s 74.76 s 2.94
alloc_benchmarks File Size 0.87 MB 0.87 MB 0.99
Allocations - Allocation success 91.38 % 91.31 % 1.00
Allocations - Deallocation success 100.00 % 100.00 % 1
Allocations - Pre-fail Allocations 61.60 % 61.44 % 1.00
Allocations - Average Allocation time 27202.21 Ticks (±1729.83 Ticks) 5860.58 Ticks (±98.43 Ticks) 4.64
Allocations - Average Allocation time (no fail) 28254.99 Ticks (±1963.89 Ticks) 6554.81 Ticks (±92.86 Ticks) 4.31
Allocations - Average Deallocation time 6684.26 Ticks (±2057.48 Ticks) 1805.01 Ticks (±250.35 Ticks) 3.70
mutex_benchmark Build Time 214.71 s 79.82 s 2.69
mutex_benchmark File Size 0.88 MB 0.86 MB 1.02
Mutex Stress Test Average Time per Iteration - 1 Threads 35.28 ns (±7.05 ns) 12.10 ns (±0.41 ns) 2.92
Mutex Stress Test Average Time per Iteration - 2 Threads 30.82 ns (±7.83 ns) 40.26 ns (±1.68 ns) 0.77

This comment was automatically generated by workflow using github-action-benchmark.

@mkroening
mkroening enabled auto-merge September 5, 2026 22:29
@mkroening
mkroening added this pull request to the merge queue Sep 5, 2026
Merged via the queue into main with commit 13c4593 Sep 5, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant