Skip to content

experiment: style: format Cargo files#2274

Open
mkroening wants to merge 2 commits intomainfrom
cargo-cargofmt
Open

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

Conversation

@mkroening
Copy link
Copy Markdown
Member

@mkroening mkroening commented Feb 20, 2026

This PR experiments with adopting cargo-cargofmt.

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

@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: efdf62d Previous: 977c7aa Performance Ratio
startup_benchmark Build Time 90.55 s 87.35 s 1.04
startup_benchmark File Size 0.75 MB 0.75 MB 1.00
Startup Time - 1 core 0.81 s (±0.02 s) 0.79 s (±0.03 s) 1.02
Startup Time - 2 cores 0.82 s (±0.02 s) 0.79 s (±0.03 s) 1.04
Startup Time - 4 cores 0.82 s (±0.03 s) 0.81 s (±0.02 s) 1.02
multithreaded_benchmark Build Time 88.17 s 88.73 s 0.99
multithreaded_benchmark File Size 0.85 MB 0.85 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 91.80 % (±7.65 %) 86.18 % (±6.26 %) 1.07
Multithreaded Pi Efficiency - 4 Threads 46.08 % (±1.80 %) 45.00 % (±3.06 %) 1.02
Multithreaded Pi Efficiency - 8 Threads 26.35 % (±1.64 %) 25.97 % (±1.90 %) 1.01
micro_benchmarks Build Time 93.45 s 97.16 s 0.96
micro_benchmarks File Size 0.86 MB 0.86 MB 1.00
Scheduling time - 1 thread 67.25 ticks (±3.31 ticks) 69.04 ticks (±3.62 ticks) 0.97
Scheduling time - 2 threads 35.52 ticks (±3.35 ticks) 37.13 ticks (±3.83 ticks) 0.96
Micro - Time for syscall (getpid) 2.82 ticks (±0.22 ticks) 2.95 ticks (±0.27 ticks) 0.96
Memcpy speed - (built_in) block size 4096 77875.37 MByte/s (±53950.78 MByte/s) 75664.19 MByte/s (±52406.71 MByte/s) 1.03
Memcpy speed - (built_in) block size 1048576 29981.53 MByte/s (±24384.57 MByte/s) 30853.09 MByte/s (±25355.22 MByte/s) 0.97
Memcpy speed - (built_in) block size 16777216 28436.57 MByte/s (±23468.87 MByte/s) 22556.98 MByte/s (±18789.09 MByte/s) 1.26
Memset speed - (built_in) block size 4096 77945.95 MByte/s (±54005.90 MByte/s) 75313.99 MByte/s (±52155.50 MByte/s) 1.03
Memset speed - (built_in) block size 1048576 30723.32 MByte/s (±24810.17 MByte/s) 31621.45 MByte/s (±25786.30 MByte/s) 0.97
Memset speed - (built_in) block size 16777216 29182.00 MByte/s (±23896.32 MByte/s) 23322.73 MByte/s (±19354.13 MByte/s) 1.25
Memcpy speed - (rust) block size 4096 70878.61 MByte/s (±49635.76 MByte/s) 67665.40 MByte/s (±47205.94 MByte/s) 1.05
Memcpy speed - (rust) block size 1048576 29912.62 MByte/s (±24420.61 MByte/s) 30555.78 MByte/s (±25106.83 MByte/s) 0.98
Memcpy speed - (rust) block size 16777216 28637.83 MByte/s (±23639.56 MByte/s) 24353.42 MByte/s (±20250.39 MByte/s) 1.18
Memset speed - (rust) block size 4096 70964.18 MByte/s (±49679.71 MByte/s) 67852.68 MByte/s (±47325.77 MByte/s) 1.05
Memset speed - (rust) block size 1048576 30671.99 MByte/s (±24861.96 MByte/s) 31300.15 MByte/s (±25521.14 MByte/s) 0.98
Memset speed - (rust) block size 16777216 29403.38 MByte/s (±24079.39 MByte/s) 25023.27 MByte/s (±20666.83 MByte/s) 1.18
alloc_benchmarks Build Time 91.09 s 93.13 s 0.98
alloc_benchmarks File Size 0.82 MB 0.82 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 6600.07 Ticks (±93.45 Ticks) 6015.92 Ticks (±68.06 Ticks) 1.10
Allocations - Average Allocation time (no fail) 6600.07 Ticks (±93.45 Ticks) 6015.92 Ticks (±68.06 Ticks) 1.10
Allocations - Average Deallocation time 1170.01 Ticks (±145.01 Ticks) 1322.04 Ticks (±90.21 Ticks) 0.89
mutex_benchmark Build Time 91.54 s 89.96 s 1.02
mutex_benchmark File Size 0.86 MB 0.86 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.02 ns (±0.79 ns) 12.86 ns (±0.72 ns) 1.01
Mutex Stress Test Average Time per Iteration - 2 Threads 19.70 ns (±11.90 ns) 15.08 ns (±8.18 ns) 1.31

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