Skip to content

feat(fs): add dev filesystem and (u)random files#2448

Merged
mkroening merged 2 commits into
mainfrom
dev-random
Jun 1, 2026
Merged

feat(fs): add dev filesystem and (u)random files#2448
mkroening merged 2 commits into
mainfrom
dev-random

Conversation

@mkroening
Copy link
Copy Markdown
Member

@mkroening mkroening commented Jun 1, 2026

Extracted from #2422. Needed a rebase onto f202872.

@mkroening mkroening self-assigned this Jun 1, 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: 4b6b334 Previous: 0e06134 Performance Ratio
startup_benchmark Build Time 113.69 s 114.75 s 0.99
startup_benchmark File Size 0.77 MB 0.75 MB 1.02
Startup Time - 1 core 1.02 s (±0.06 s) 1.03 s (±0.05 s) 0.99
Startup Time - 2 cores 1.02 s (±0.04 s) 1.00 s (±0.04 s) 1.02
Startup Time - 4 cores 1.02 s (±0.03 s) 1.05 s (±0.06 s) 0.97
multithreaded_benchmark Build Time 111.95 s 118.19 s 0.95
multithreaded_benchmark File Size 0.86 MB 0.87 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 85.61 % (±17.26 %) 88.13 % (±17.77 %) 0.97
Multithreaded Pi Efficiency - 4 Threads 42.10 % (±8.32 %) 43.83 % (±8.68 %) 0.96
Multithreaded Pi Efficiency - 8 Threads 23.52 % (±4.61 %) 24.19 % (±4.32 %) 0.97
micro_benchmarks Build Time 94.17 s 95.80 s 0.98
micro_benchmarks File Size 0.87 MB 0.87 MB 1.00
Scheduling time - 1 thread 74.53 ticks (±3.96 ticks) 73.66 ticks (±3.11 ticks) 1.01
Scheduling time - 2 threads 40.98 ticks (±4.56 ticks) 42.62 ticks (±4.47 ticks) 0.96
Micro - Time for syscall (getpid) 3.77 ticks (±0.27 ticks) 3.97 ticks (±0.24 ticks) 0.95
Memcpy speed - (built_in) block size 4096 75689.30 MByte/s (±52191.29 MByte/s) 74285.81 MByte/s (±51386.38 MByte/s) 1.02
Memcpy speed - (built_in) block size 1048576 29441.09 MByte/s (±24200.26 MByte/s) 29225.43 MByte/s (±24061.57 MByte/s) 1.01
Memcpy speed - (built_in) block size 16777216 24010.50 MByte/s (±19670.99 MByte/s) 24481.29 MByte/s (±20083.82 MByte/s) 0.98
Memset speed - (built_in) block size 4096 75788.73 MByte/s (±52272.39 MByte/s) 74360.40 MByte/s (±51439.53 MByte/s) 1.02
Memset speed - (built_in) block size 1048576 30189.85 MByte/s (±24625.91 MByte/s) 29962.87 MByte/s (±24486.09 MByte/s) 1.01
Memset speed - (built_in) block size 16777216 24669.72 MByte/s (±20082.61 MByte/s) 25226.63 MByte/s (±20580.18 MByte/s) 0.98
Memcpy speed - (rust) block size 4096 67486.93 MByte/s (±47005.18 MByte/s) 65746.63 MByte/s (±45737.46 MByte/s) 1.03
Memcpy speed - (rust) block size 1048576 29447.31 MByte/s (±24207.13 MByte/s) 29209.13 MByte/s (±23985.94 MByte/s) 1.01
Memcpy speed - (rust) block size 16777216 23832.10 MByte/s (±19712.31 MByte/s) 23697.58 MByte/s (±19489.14 MByte/s) 1.01
Memset speed - (rust) block size 4096 67889.40 MByte/s (±47276.13 MByte/s) 66213.47 MByte/s (±46120.45 MByte/s) 1.03
Memset speed - (rust) block size 1048576 30210.40 MByte/s (±24645.37 MByte/s) 29959.89 MByte/s (±24426.81 MByte/s) 1.01
Memset speed - (rust) block size 16777216 24162.40 MByte/s (±19847.07 MByte/s) 24144.16 MByte/s (±19717.09 MByte/s) 1.00
alloc_benchmarks Build Time 91.57 s 90.67 s 1.01
alloc_benchmarks File Size 0.84 MB 0.83 MB 1.01
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 4039.36 Ticks (±66.61 Ticks) 4059.19 Ticks (±54.22 Ticks) 1.00
Allocations - Average Allocation time (no fail) 4039.36 Ticks (±66.61 Ticks) 4059.19 Ticks (±54.22 Ticks) 1.00
Allocations - Average Deallocation time 678.92 Ticks (±56.86 Ticks) 686.32 Ticks (±49.99 Ticks) 0.99
mutex_benchmark Build Time 91.11 s 90.77 s 1.00
mutex_benchmark File Size 0.87 MB 0.87 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.94 ns (±0.70 ns) 13.46 ns (±0.64 ns) 1.04
Mutex Stress Test Average Time per Iteration - 2 Threads 18.54 ns (±4.16 ns) 15.42 ns (±9.10 ns) 1.20

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

@mkroening mkroening added this pull request to the merge queue Jun 1, 2026
Merged via the queue into main with commit cb9387d Jun 1, 2026
20 checks passed
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.

2 participants