Skip to content

Conversation

Gelbpunkt
Copy link
Member

@Gelbpunkt Gelbpunkt commented Aug 25, 2025

Bothered me a bit when running the stdin example...

Copy link
Contributor

@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

Benchmark Current: 1697352 Previous: 8c012c6 Performance Ratio
startup_benchmark Build Time 130.28 s 131.59 s 0.99
startup_benchmark File Size 0.86 MB 0.86 MB 1.00
Startup Time - 1 core 0.95 s (±0.02 s) 0.99 s (±0.02 s) 0.96
Startup Time - 2 cores 0.93 s (±0.02 s) 0.99 s (±0.02 s) 0.94
Startup Time - 4 cores 0.94 s (±0.02 s) 0.98 s (±0.02 s) 0.96
multithreaded_benchmark Build Time 123.87 s 131.66 s 0.94
multithreaded_benchmark File Size 0.97 MB 0.97 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 2.95 % (±14.14 %) 2.91 % (±13.98 %) 1.01
Multithreaded Pi Efficiency - 4 Threads 1.72 % (±8.24 %) 1.65 % (±7.92 %) 1.04
Multithreaded Pi Efficiency - 8 Threads 0.83 % (±3.96 %) 0.82 % (±3.95 %) 1.00
micro_benchmarks Build Time 121.34 s 133.68 s 0.91
micro_benchmarks File Size 0.97 MB 0.97 MB 1.00
Scheduling time - 1 thread 2.59 ticks (±12.45 ticks) 2.96 ticks (±14.19 ticks) 0.88
Scheduling time - 2 threads 1.81 ticks (±8.67 ticks) 1.38 ticks (±6.63 ticks) 1.31
Micro - Time for syscall (getpid) 0.15 ticks (±0.74 ticks) 0.16 ticks (±0.77 ticks) 0.96
Memcpy speed - (built_in) block size 4096 1775.57 MByte/s (±8522.73 MByte/s) 1531.86 MByte/s (±7352.94 MByte/s) 1.16
Memcpy speed - (built_in) block size 1048576 773.69 MByte/s (±3713.73 MByte/s) 710.35 MByte/s (±3409.70 MByte/s) 1.09
Memcpy speed - (built_in) block size 16777216 218.14 MByte/s (±1047.07 MByte/s) 193.83 MByte/s (±930.37 MByte/s) 1.13
Memset speed - (built_in) block size 4096 1714.29 MByte/s (±8228.57 MByte/s) 1090.91 MByte/s (±5236.36 MByte/s) 1.57
Memset speed - (built_in) block size 1048576 981.88 MByte/s (±4713.04 MByte/s) 997.98 MByte/s (±4790.30 MByte/s) 0.98
Memset speed - (built_in) block size 16777216 906.97 MByte/s (±4353.44 MByte/s) 644.40 MByte/s (±3093.11 MByte/s) 1.41
Memcpy speed - (rust) block size 4096 1200.00 MByte/s (±5760.00 MByte/s) 1071.43 MByte/s (±5142.86 MByte/s) 1.12
Memcpy speed - (rust) block size 1048576 713.01 MByte/s (±3422.46 MByte/s) 705.17 MByte/s (±3384.81 MByte/s) 1.01
Memcpy speed - (rust) block size 16777216 215.73 MByte/s (±1035.50 MByte/s) 198.28 MByte/s (±951.75 MByte/s) 1.09
Memset speed - (rust) block size 4096 1818.18 MByte/s (±8727.27 MByte/s) 960.00 MByte/s (±4608.00 MByte/s) 1.89
Memset speed - (rust) block size 1048576 1010.13 MByte/s (±4848.61 MByte/s) 981.62 MByte/s (±4711.77 MByte/s) 1.03
Memset speed - (rust) block size 16777216 940.25 MByte/s (±4513.21 MByte/s) 605.84 MByte/s (±2908.02 MByte/s) 1.55
alloc_benchmarks Build Time 119.94 s 129.05 s 0.93
alloc_benchmarks File Size 0.93 MB 0.93 MB 1.00
Allocations - Allocation success 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Deallocation success 1.40 % (±9.70 %) 1.40 % (±9.74 %) 1.00
Allocations - Pre-fail Allocations 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Average Allocation time 226.22 Ticks (±1567.62 Ticks) 258.51 Ticks (±1791.39 Ticks) 0.88
Allocations - Average Allocation time (no fail) 226.22 Ticks (±1567.62 Ticks) 258.51 Ticks (±1791.39 Ticks) 0.88
Allocations - Average Deallocation time 15.75 Ticks (±109.18 Ticks) 17.81 Ticks (±123.43 Ticks) 0.88
mutex_benchmark Build Time 119.48 s 132.44 s 0.90
mutex_benchmark File Size 0.97 MB 0.97 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 0.28 ns (±1.94 ns) 0.28 ns (±1.94 ns) 1
Mutex Stress Test Average Time per Iteration - 2 Threads 0.32 ns (±2.22 ns) 0.34 ns (±2.36 ns) 0.94

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

@Gelbpunkt Gelbpunkt marked this pull request as ready for review August 26, 2025 11:05
@Gelbpunkt Gelbpunkt force-pushed the aarch64-stdin branch 2 times, most recently from 7af9ed0 to 8893fdd Compare August 27, 2025 11:37
@mkroening mkroening self-assigned this Sep 2, 2025
Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks mostly fine to me. :)

Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! :)

I'll press the button once #1909 is merged. :)

@mkroening mkroening added this pull request to the merge queue Sep 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 4, 2025
@mkroening mkroening added this pull request to the merge queue Sep 4, 2025
Merged via the queue into hermit-os:main with commit 0c8198c Sep 4, 2025
15 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