Skip to content

perf(fs/mem): remove Arc around file positions#2089

Merged
mkroening merged 1 commit intomainfrom
fs-mem-arc
Nov 28, 2025
Merged

perf(fs/mem): remove Arc around file positions#2089
mkroening merged 1 commit intomainfrom
fs-mem-arc

Conversation

@mkroening
Copy link
Copy Markdown
Member

Extracted from #2078.

@mkroening mkroening requested a review from fogti November 28, 2025 09:26
@mkroening mkroening added this pull request to the merge queue Nov 28, 2025
@mkroening
Copy link
Copy Markdown
Member Author

Thanks for this, @fogti! :)

@mkroening mkroening self-assigned this Nov 28, 2025
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: 98b7527 Previous: f250a72 Performance Ratio
startup_benchmark Build Time 117.93 s 114.41 s 1.03
startup_benchmark File Size 0.91 MB 0.91 MB 0.99
Startup Time - 1 core 1.01 s (±0.02 s) 0.98 s (±0.03 s) 1.03
Startup Time - 2 cores 1.02 s (±0.02 s) 0.97 s (±0.03 s) 1.05
Startup Time - 4 cores 1.03 s (±0.02 s) 0.98 s (±0.02 s) 1.05
multithreaded_benchmark Build Time 118.77 s 113.19 s 1.05
multithreaded_benchmark File Size 1.02 MB 1.02 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 87.66 % (±7.76 %) 87.29 % (±8.93 %) 1.00
Multithreaded Pi Efficiency - 4 Threads 43.80 % (±3.01 %) 44.54 % (±3.35 %) 0.98
Multithreaded Pi Efficiency - 8 Threads 25.03 % (±1.48 %) 25.47 % (±2.04 %) 0.98
micro_benchmarks Build Time 324.16 s 309.36 s 1.05
micro_benchmarks File Size 1.02 MB 1.02 MB 1.00
Scheduling time - 1 thread 198.41 ticks (±38.50 ticks) 187.65 ticks (±29.91 ticks) 1.06
Scheduling time - 2 threads 109.12 ticks (±19.92 ticks) 104.76 ticks (±17.67 ticks) 1.04
Micro - Time for syscall (getpid) 11.78 ticks (±4.75 ticks) 10.70 ticks (±5.34 ticks) 1.10
Memcpy speed - (built_in) block size 4096 54925.67 MByte/s (±40202.94 MByte/s) 54842.67 MByte/s (±40303.19 MByte/s) 1.00
Memcpy speed - (built_in) block size 1048576 13933.17 MByte/s (±11582.93 MByte/s) 13435.52 MByte/s (±11081.00 MByte/s) 1.04
Memcpy speed - (built_in) block size 16777216 6641.45 MByte/s (±5314.56 MByte/s) 8827.85 MByte/s (±7024.29 MByte/s) 0.75
Memset speed - (built_in) block size 4096 55164.47 MByte/s (±40376.58 MByte/s) 55412.19 MByte/s (±40719.84 MByte/s) 1.00
Memset speed - (built_in) block size 1048576 14325.76 MByte/s (±11839.74 MByte/s) 13825.19 MByte/s (±11354.50 MByte/s) 1.04
Memset speed - (built_in) block size 16777216 6801.85 MByte/s (±5423.89 MByte/s) 9064.78 MByte/s (±7183.52 MByte/s) 0.75
Memcpy speed - (rust) block size 4096 47450.35 MByte/s (±35213.86 MByte/s) 46733.78 MByte/s (±35123.32 MByte/s) 1.02
Memcpy speed - (rust) block size 1048576 13239.71 MByte/s (±10934.73 MByte/s) 13310.91 MByte/s (±11037.27 MByte/s) 0.99
Memcpy speed - (rust) block size 16777216 6723.99 MByte/s (±5353.64 MByte/s) 8766.51 MByte/s (±6990.65 MByte/s) 0.77
Memset speed - (rust) block size 4096 48074.84 MByte/s (±35582.50 MByte/s) 47375.28 MByte/s (±35607.36 MByte/s) 1.01
Memset speed - (rust) block size 1048576 13631.44 MByte/s (±11171.75 MByte/s) 13688.04 MByte/s (±11281.91 MByte/s) 1.00
Memset speed - (rust) block size 16777216 6940.60 MByte/s (±5532.46 MByte/s) 8977.13 MByte/s (±7121.99 MByte/s) 0.77
alloc_benchmarks Build Time 326.74 s 306.61 s 1.07
alloc_benchmarks File Size 0.98 MB 0.98 MB 0.99
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 27319.69 Ticks (±1705.15 Ticks) 29955.30 Ticks (±1520.78 Ticks) 0.91
Allocations - Average Allocation time (no fail) 27319.69 Ticks (±1705.15 Ticks) 29955.30 Ticks (±1520.78 Ticks) 0.91
Allocations - Average Deallocation time 3073.96 Ticks (±972.52 Ticks) 3417.72 Ticks (±1315.22 Ticks) 0.90
mutex_benchmark Build Time 320.68 s 309.20 s 1.04
mutex_benchmark File Size 1.02 MB 1.02 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 39.36 ns (±2.96 ns) 38.04 ns (±4.45 ns) 1.03
Mutex Stress Test Average Time per Iteration - 2 Threads 33.66 ns (±3.36 ns) 31.30 ns (±2.92 ns) 1.08

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

Merged via the queue into main with commit 4edf870 Nov 28, 2025
19 checks passed
@mkroening mkroening deleted the fs-mem-arc branch December 1, 2025 13:18
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