Skip to content

experiment: panic on getpid#2286

Closed
mkroening wants to merge 2 commits intomainfrom
getpid-panic
Closed

experiment: panic on getpid#2286
mkroening wants to merge 2 commits intomainfrom
getpid-panic

Conversation

@mkroening
Copy link
Member

rust-lang/rust#153130 makes getpid panic in Rust's std.

This PR makes getpid panic in the kernel to test whether this is used by any Rust apps that we test against.

@mkroening mkroening self-assigned this Feb 28, 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: 19c09ec Previous: 6f0bfbf Performance Ratio
startup_benchmark Build Time 88.35 s 95.42 s 0.93
startup_benchmark File Size 0.86 MB 0.86 MB 1.00
Startup Time - 1 core 0.96 s (±0.03 s) 0.95 s (±0.03 s) 1.02
Startup Time - 2 cores 0.97 s (±0.03 s) 0.96 s (±0.04 s) 1.00
Startup Time - 4 cores 0.96 s (±0.03 s) 0.95 s (±0.03 s) 1.01
multithreaded_benchmark Build Time 86.59 s 92.30 s 0.94
multithreaded_benchmark File Size 0.96 MB 0.96 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 88.91 % (±7.89 %) 90.21 % (±9.12 %) 0.99
Multithreaded Pi Efficiency - 4 Threads 43.61 % (±2.97 %) 44.54 % (±4.03 %) 0.98
Multithreaded Pi Efficiency - 8 Threads 25.38 % (±2.05 %) 26.13 % (±2.54 %) 0.97
alloc_benchmarks Build Time 99.29 s 98.66 s 1.01
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 13461.75 Ticks (±223.92 Ticks) 10851.98 Ticks (±378.41 Ticks) 1.24
Allocations - Average Allocation time (no fail) 13461.75 Ticks (±223.92 Ticks) 10851.98 Ticks (±378.41 Ticks) 1.24
Allocations - Average Deallocation time 1300.91 Ticks (±1178.19 Ticks) 1473.25 Ticks (±1018.97 Ticks) 0.88
mutex_benchmark Build Time 92.42 s 93.32 s 0.99
mutex_benchmark File Size 0.96 MB 0.96 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.24 ns (±0.81 ns) 13.08 ns (±0.66 ns) 1.01
Mutex Stress Test Average Time per Iteration - 2 Threads 15.74 ns (±0.87 ns) 16.16 ns (±0.76 ns) 0.97

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