Skip to content

refactor: use uhyve version define macro from hermit_entry#2066

Merged
mkroening merged 1 commit intohermit-os:mainfrom
fogti:entry-uhyve
Nov 17, 2025
Merged

refactor: use uhyve version define macro from hermit_entry#2066
mkroening merged 1 commit intohermit-os:mainfrom
fogti:entry-uhyve

Conversation

@fogti
Copy link
Contributor

@fogti fogti commented Nov 14, 2025

Depends on hermit-os/hermit-entry#64, and subsequent new hermit-entry release.

@fogti fogti marked this pull request as ready for review November 17, 2025 13:51
@mkroening mkroening self-assigned this Nov 17, 2025
@mkroening mkroening self-requested a review November 17, 2025 13:51
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: 3ba2fce Previous: 4b38f57 Performance Ratio
startup_benchmark Build Time 112.38 s 113.98 s 0.99
startup_benchmark File Size 0.91 MB 0.91 MB 1.00
Startup Time - 1 core 0.94 s (±0.03 s) 0.92 s (±0.03 s) 1.01
Startup Time - 2 cores 0.94 s (±0.03 s) 0.93 s (±0.03 s) 1.01
Startup Time - 4 cores 0.94 s (±0.03 s) 0.94 s (±0.02 s) 0.99
multithreaded_benchmark Build Time 112.03 s 113.33 s 0.99
multithreaded_benchmark File Size 1.02 MB 1.01 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 87.23 % (±8.98 %) 92.43 % (±8.21 %) 0.94
Multithreaded Pi Efficiency - 4 Threads 43.56 % (±4.18 %) 44.70 % (±4.56 %) 0.97
Multithreaded Pi Efficiency - 8 Threads 25.57 % (±2.12 %) 25.57 % (±2.11 %) 1.00
micro_benchmarks Build Time 294.29 s 295.80 s 0.99
micro_benchmarks File Size 1.02 MB 1.02 MB 1.00
Scheduling time - 1 thread 202.04 ticks (±35.16 ticks) 177.69 ticks (±34.10 ticks) 1.14
Scheduling time - 2 threads 107.50 ticks (±24.01 ticks) 105.57 ticks (±16.65 ticks) 1.02
Micro - Time for syscall (getpid) 11.16 ticks (±5.26 ticks) 9.33 ticks (±5.26 ticks) 1.20
Memcpy speed - (built_in) block size 4096 61683.31 MByte/s (±44230.46 MByte/s) 57598.90 MByte/s (±42486.02 MByte/s) 1.07
Memcpy speed - (built_in) block size 1048576 14566.84 MByte/s (±12021.71 MByte/s) 14065.58 MByte/s (±11594.52 MByte/s) 1.04
Memcpy speed - (built_in) block size 16777216 9855.98 MByte/s (±7921.29 MByte/s) 10022.65 MByte/s (±8101.78 MByte/s) 0.98
Memset speed - (built_in) block size 4096 62265.35 MByte/s (±44663.94 MByte/s) 58742.02 MByte/s (±42923.71 MByte/s) 1.06
Memset speed - (built_in) block size 1048576 14979.45 MByte/s (±12306.68 MByte/s) 14409.55 MByte/s (±11762.80 MByte/s) 1.04
Memset speed - (built_in) block size 16777216 10094.97 MByte/s (±8063.27 MByte/s) 10279.25 MByte/s (±8254.64 MByte/s) 0.98
Memcpy speed - (rust) block size 4096 54637.62 MByte/s (±39302.18 MByte/s) 54298.03 MByte/s (±40830.58 MByte/s) 1.01
Memcpy speed - (rust) block size 1048576 14794.62 MByte/s (±12254.66 MByte/s) 13459.39 MByte/s (±11134.25 MByte/s) 1.10
Memcpy speed - (rust) block size 16777216 9882.63 MByte/s (±7961.20 MByte/s) 9842.94 MByte/s (±7939.57 MByte/s) 1.00
Memset speed - (rust) block size 4096 55572.68 MByte/s (±39985.36 MByte/s) 55441.57 MByte/s (±41199.00 MByte/s) 1.00
Memset speed - (rust) block size 1048576 15101.26 MByte/s (±12423.84 MByte/s) 13897.05 MByte/s (±11419.50 MByte/s) 1.09
Memset speed - (rust) block size 16777216 10131.75 MByte/s (±8114.65 MByte/s) 10032.16 MByte/s (±8035.51 MByte/s) 1.01
alloc_benchmarks Build Time 294.10 s 293.91 s 1.00
alloc_benchmarks File Size 0.98 MB 0.98 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 11920.19 Ticks (±999.33 Ticks) 11996.53 Ticks (±888.12 Ticks) 0.99
Allocations - Average Allocation time (no fail) 11920.19 Ticks (±999.33 Ticks) 11996.53 Ticks (±888.12 Ticks) 0.99
Allocations - Average Deallocation time 2440.42 Ticks (±178.57 Ticks) 2494.58 Ticks (±185.67 Ticks) 0.98
mutex_benchmark Build Time 293.55 s 292.05 s 1.01
mutex_benchmark File Size 1.02 MB 1.02 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 37.36 ns (±4.37 ns) 36.78 ns (±4.52 ns) 1.02
Mutex Stress Test Average Time per Iteration - 2 Threads 30.52 ns (±3.61 ns) 30.72 ns (±3.53 ns) 0.99

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

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! :)

Can you bump this to version 0.10.7 (with the docs.rs fix)?

@fogti
Copy link
Contributor Author

fogti commented Nov 17, 2025

Done.

@mkroening mkroening added this pull request to the merge queue Nov 17, 2025
Merged via the queue into hermit-os:main with commit c07afb2 Nov 17, 2025
24 of 32 checks passed
@fogti fogti deleted the entry-uhyve branch November 17, 2025 22:29
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