Skip to content

experiment: style: format Cargo files#2274

Open
mkroening wants to merge 1 commit intomainfrom
cargo-cargofmt
Open

experiment: style: format Cargo files#2274
mkroening wants to merge 1 commit intomainfrom
cargo-cargofmt

Conversation

@mkroening
Copy link
Member

@mkroening mkroening commented Feb 20, 2026

This PR experiments with adopting cargo-cargofmt.

@mkroening mkroening self-assigned this Feb 20, 2026
Copy link

@github-actions github-actions bot left a comment

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: 624d1f9 Previous: 6f0bfbf Performance Ratio
startup_benchmark Build Time 90.62 s 95.42 s 0.95
startup_benchmark File Size 0.86 MB 0.86 MB 1.00
Startup Time - 1 core 0.97 s (±0.04 s) 0.95 s (±0.03 s) 1.03
Startup Time - 2 cores 0.98 s (±0.03 s) 0.96 s (±0.04 s) 1.01
Startup Time - 4 cores 0.97 s (±0.03 s) 0.95 s (±0.03 s) 1.02
multithreaded_benchmark Build Time 86.75 s 92.30 s 0.94
multithreaded_benchmark File Size 0.96 MB 0.96 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 90.32 % (±7.92 %) 90.21 % (±9.12 %) 1.00
Multithreaded Pi Efficiency - 4 Threads 44.33 % (±2.96 %) 44.54 % (±4.03 %) 1.00
Multithreaded Pi Efficiency - 8 Threads 25.82 % (±1.55 %) 26.13 % (±2.54 %) 0.99
micro_benchmarks Build Time 96.13 s 105.21 s 0.91
micro_benchmarks File Size 0.96 MB 0.96 MB 1.00
Scheduling time - 1 thread 71.38 ticks (±3.95 ticks) 72.18 ticks (±3.89 ticks) 0.99
Scheduling time - 2 threads 37.71 ticks (±3.66 ticks) 38.76 ticks (±3.76 ticks) 0.97
Micro - Time for syscall (getpid) 3.12 ticks (±0.29 ticks) 3.08 ticks (±0.25 ticks) 1.01
Memcpy speed - (built_in) block size 4096 64127.70 MByte/s (±45560.23 MByte/s) 64277.14 MByte/s (±45835.30 MByte/s) 1.00
Memcpy speed - (built_in) block size 1048576 29453.80 MByte/s (±24453.61 MByte/s) 29881.73 MByte/s (±24958.13 MByte/s) 0.99
Memcpy speed - (built_in) block size 16777216 28105.71 MByte/s (±23457.64 MByte/s) 24382.12 MByte/s (±20554.58 MByte/s) 1.15
Memset speed - (built_in) block size 4096 64866.41 MByte/s (±46137.12 MByte/s) 64999.33 MByte/s (±46280.41 MByte/s) 1.00
Memset speed - (built_in) block size 1048576 30261.19 MByte/s (±24917.31 MByte/s) 30667.80 MByte/s (±25384.97 MByte/s) 0.99
Memset speed - (built_in) block size 16777216 28842.70 MByte/s (±23868.72 MByte/s) 25148.07 MByte/s (±21052.60 MByte/s) 1.15
Memcpy speed - (rust) block size 4096 58980.45 MByte/s (±43593.81 MByte/s) 56833.57 MByte/s (±41835.09 MByte/s) 1.04
Memcpy speed - (rust) block size 1048576 29445.67 MByte/s (±24433.10 MByte/s) 29925.74 MByte/s (±25106.58 MByte/s) 0.98
Memcpy speed - (rust) block size 16777216 28155.47 MByte/s (±23506.14 MByte/s) 22977.60 MByte/s (±19213.92 MByte/s) 1.23
Memset speed - (rust) block size 4096 60294.70 MByte/s (±44431.74 MByte/s) 57252.46 MByte/s (±42056.64 MByte/s) 1.05
Memset speed - (rust) block size 1048576 30257.72 MByte/s (±24889.09 MByte/s) 30700.59 MByte/s (±25530.48 MByte/s) 0.99
Memset speed - (rust) block size 16777216 28942.17 MByte/s (±23961.81 MByte/s) 23739.31 MByte/s (±19739.34 MByte/s) 1.22
alloc_benchmarks Build Time 94.43 s 98.66 s 0.96
alloc_benchmarks File Size 0.93 MB 0.93 MB 1.00
Allocations - Allocation success 100.00 % 100.00 % 1
Allocations - Deallocation success 100.00 % 100.00 % 1
Allocations - Pre-fail Allocations 100.00 % 100.00 % 1
Allocations - Average Allocation time 12534.89 Ticks (±184.07 Ticks) 10851.98 Ticks (±378.41 Ticks) 1.16
Allocations - Average Allocation time (no fail) 12534.89 Ticks (±184.07 Ticks) 10851.98 Ticks (±378.41 Ticks) 1.16
Allocations - Average Deallocation time 1063.95 Ticks (±703.97 Ticks) 1473.25 Ticks (±1018.97 Ticks) 0.72
mutex_benchmark Build Time 94.73 s 93.32 s 1.02
mutex_benchmark File Size 0.96 MB 0.96 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.18 ns (±0.59 ns) 13.08 ns (±0.66 ns) 1.01
Mutex Stress Test Average Time per Iteration - 2 Threads 16.42 ns (±0.90 ns) 16.16 ns (±0.76 ns) 1.02

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant