Skip to content

perf(network): toggle polling mode conditionally#2463

Draft
Gelbpunkt wants to merge 1 commit into
hermit-os:mainfrom
Gelbpunkt:network-polling-mode
Draft

perf(network): toggle polling mode conditionally#2463
Gelbpunkt wants to merge 1 commit into
hermit-os:mainfrom
Gelbpunkt:network-polling-mode

Conversation

@Gelbpunkt
Copy link
Copy Markdown
Member

Currently mostly an experiment.

Currently mostly an experiment.
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: 751fcb6 Previous: 28c7089 Performance Ratio
startup_benchmark Build Time 111.54 s 115.28 s 0.97
startup_benchmark File Size 0.77 MB 0.77 MB 1.00
Startup Time - 1 core 1.01 s (±0.04 s) 1.00 s (±0.03 s) 1.01
Startup Time - 2 cores 1.02 s (±0.04 s) 1.04 s (±0.05 s) 0.98
Startup Time - 4 cores 1.02 s (±0.04 s) 1.00 s (±0.06 s) 1.03
multithreaded_benchmark Build Time 112.82 s 118.33 s 0.95
multithreaded_benchmark File Size 0.87 MB 0.87 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 88.74 % (±14.26 %) 92.34 % (±11.70 %) 0.96
Multithreaded Pi Efficiency - 4 Threads 44.14 % (±7.14 %) 45.83 % (±5.87 %) 0.96
Multithreaded Pi Efficiency - 8 Threads 24.24 % (±3.87 %) 25.71 % (±3.50 %) 0.94
micro_benchmarks Build Time 93.67 s 96.08 s 0.97
micro_benchmarks File Size 0.88 MB 0.88 MB 1.00
Scheduling time - 1 thread 73.56 ticks (±3.99 ticks) 73.85 ticks (±3.74 ticks) 1.00
Scheduling time - 2 threads 39.46 ticks (±4.80 ticks) 41.46 ticks (±4.37 ticks) 0.95
Micro - Time for syscall (getpid) 3.01 ticks (±0.19 ticks) 3.08 ticks (±0.19 ticks) 0.98
Memcpy speed - (built_in) block size 4096 76147.84 MByte/s (±52548.71 MByte/s) 73208.48 MByte/s (±50616.82 MByte/s) 1.04
Memcpy speed - (built_in) block size 1048576 29509.21 MByte/s (±24275.10 MByte/s) 29392.18 MByte/s (±24125.47 MByte/s) 1.00
Memcpy speed - (built_in) block size 16777216 26307.01 MByte/s (±21710.84 MByte/s) 23751.74 MByte/s (±19605.56 MByte/s) 1.11
Memset speed - (built_in) block size 4096 76487.76 MByte/s (±52759.80 MByte/s) 73313.38 MByte/s (±50689.78 MByte/s) 1.04
Memset speed - (built_in) block size 1048576 30270.02 MByte/s (±24710.51 MByte/s) 30169.43 MByte/s (±24587.38 MByte/s) 1.00
Memset speed - (built_in) block size 16777216 26974.42 MByte/s (±22095.82 MByte/s) 24402.29 MByte/s (±20008.02 MByte/s) 1.11
Memcpy speed - (rust) block size 4096 65782.36 MByte/s (±46071.55 MByte/s) 66427.37 MByte/s (±46490.49 MByte/s) 0.99
Memcpy speed - (rust) block size 1048576 29374.38 MByte/s (±24168.79 MByte/s) 29425.11 MByte/s (±24175.79 MByte/s) 1.00
Memcpy speed - (rust) block size 16777216 26471.46 MByte/s (±21830.27 MByte/s) 24403.77 MByte/s (±20179.96 MByte/s) 1.08
Memset speed - (rust) block size 4096 66008.63 MByte/s (±46243.50 MByte/s) 66262.32 MByte/s (±46403.75 MByte/s) 1.00
Memset speed - (rust) block size 1048576 30143.62 MByte/s (±24613.39 MByte/s) 30172.11 MByte/s (±24599.55 MByte/s) 1.00
Memset speed - (rust) block size 16777216 27169.82 MByte/s (±22240.60 MByte/s) 25069.95 MByte/s (±20590.63 MByte/s) 1.08
alloc_benchmarks Build Time 90.11 s 91.43 s 0.99
alloc_benchmarks File Size 0.85 MB 0.85 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 4622.82 Ticks (±58.14 Ticks) 4633.96 Ticks (±62.19 Ticks) 1.00
Allocations - Average Allocation time (no fail) 4622.82 Ticks (±58.14 Ticks) 4633.96 Ticks (±62.19 Ticks) 1.00
Allocations - Average Deallocation time 679.72 Ticks (±64.75 Ticks) 683.28 Ticks (±99.25 Ticks) 0.99
mutex_benchmark Build Time 91.04 s 90.68 s 1.00
mutex_benchmark File Size 0.88 MB 0.88 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.78 ns (±0.73 ns) 13.82 ns (±0.84 ns) 1.00
Mutex Stress Test Average Time per Iteration - 2 Threads 17.32 ns (±0.71 ns) 14.48 ns (±0.75 ns) 1.20

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

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.

1 participant