Skip to content

feat(fd): Add basic Uhyve stdin support#2401

Open
fogti wants to merge 1 commit intohermit-os:mainfrom
fogti:uhyve-stdin-support
Open

feat(fd): Add basic Uhyve stdin support#2401
fogti wants to merge 1 commit intohermit-os:mainfrom
fogti:uhyve-stdin-support

Conversation

@fogti
Copy link
Copy Markdown
Contributor

@fogti fogti commented Apr 28, 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: 87ec901 Previous: 615429b Performance Ratio
startup_benchmark Build Time 90.00 s 89.51 s 1.01
startup_benchmark File Size 0.80 MB 0.80 MB 1.00
Startup Time - 1 core 0.79 s (±0.02 s) 0.81 s (±0.03 s) 0.99
Startup Time - 2 cores 0.82 s (±0.03 s) 0.82 s (±0.03 s) 1.00
Startup Time - 4 cores 0.83 s (±0.03 s) 0.82 s (±0.03 s) 1.00
multithreaded_benchmark Build Time 92.88 s 92.20 s 1.01
multithreaded_benchmark File Size 0.91 MB 0.91 MB 1
Multithreaded Pi Efficiency - 2 Threads 87.36 % (±6.25 %) 88.88 % (±7.29 %) 0.98
Multithreaded Pi Efficiency - 4 Threads 43.85 % (±2.42 %) 43.88 % (±3.08 %) 1.00
Multithreaded Pi Efficiency - 8 Threads 25.60 % (±1.82 %) 25.36 % (±1.50 %) 1.01
micro_benchmarks Build Time 100.87 s 99.93 s 1.01
micro_benchmarks File Size 0.92 MB 0.92 MB 1.00
Scheduling time - 1 thread 71.81 ticks (±4.08 ticks) 71.72 ticks (±4.05 ticks) 1.00
Scheduling time - 2 threads 40.36 ticks (±5.89 ticks) 41.38 ticks (±6.38 ticks) 0.98
Micro - Time for syscall (getpid) 3.11 ticks (±0.26 ticks) 3.03 ticks (±0.29 ticks) 1.03
Memcpy speed - (built_in) block size 4096 75590.24 MByte/s (±52462.11 MByte/s) 77965.54 MByte/s (±54063.23 MByte/s) 0.97
Memcpy speed - (built_in) block size 1048576 30101.10 MByte/s (±24756.59 MByte/s) 30200.06 MByte/s (±24888.67 MByte/s) 1.00
Memcpy speed - (built_in) block size 16777216 24998.05 MByte/s (±20980.89 MByte/s) 24462.68 MByte/s (±20453.66 MByte/s) 1.02
Memset speed - (built_in) block size 4096 75823.34 MByte/s (±52598.09 MByte/s) 78509.58 MByte/s (±54370.39 MByte/s) 0.97
Memset speed - (built_in) block size 1048576 30829.37 MByte/s (±25156.00 MByte/s) 30967.08 MByte/s (±25321.38 MByte/s) 1.00
Memset speed - (built_in) block size 16777216 25692.00 MByte/s (±21401.11 MByte/s) 25135.18 MByte/s (±20867.30 MByte/s) 1.02
Memcpy speed - (rust) block size 4096 68376.05 MByte/s (±47760.17 MByte/s) 66870.91 MByte/s (±46861.99 MByte/s) 1.02
Memcpy speed - (rust) block size 1048576 29941.06 MByte/s (±24691.87 MByte/s) 30187.98 MByte/s (±24852.29 MByte/s) 0.99
Memcpy speed - (rust) block size 16777216 25308.78 MByte/s (±21123.52 MByte/s) 25884.94 MByte/s (±21602.71 MByte/s) 0.98
Memset speed - (rust) block size 4096 68604.62 MByte/s (±47904.09 MByte/s) 67369.99 MByte/s (±47191.80 MByte/s) 1.02
Memset speed - (rust) block size 1048576 30708.13 MByte/s (±25121.02 MByte/s) 30949.74 MByte/s (±25278.89 MByte/s) 0.99
Memset speed - (rust) block size 16777216 26054.36 MByte/s (±21597.68 MByte/s) 26639.52 MByte/s (±22078.84 MByte/s) 0.98
alloc_benchmarks Build Time 92.52 s 91.57 s 1.01
alloc_benchmarks File Size 0.87 MB 0.87 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 8432.21 Ticks (±1009.11 Ticks) 8539.12 Ticks (±120.92 Ticks) 0.99
Allocations - Average Allocation time (no fail) 8432.21 Ticks (±1009.11 Ticks) 8539.12 Ticks (±120.92 Ticks) 0.99
Allocations - Average Deallocation time 2071.90 Ticks (±1155.58 Ticks) 1672.89 Ticks (±188.54 Ticks) 1.24
mutex_benchmark Build Time 93.36 s 92.47 s 1.01
mutex_benchmark File Size 0.91 MB 0.91 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.08 ns (±0.87 ns) 13.06 ns (±0.79 ns) 1.00
Mutex Stress Test Average Time per Iteration - 2 Threads 15.46 ns (±1.55 ns) 15.44 ns (±8.54 ns) 1.00

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

@mkroening mkroening self-assigned this Apr 28, 2026
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.

No stdin support

2 participants