Skip to content

Conversation

zyuiop
Copy link
Contributor

@zyuiop zyuiop commented Sep 10, 2025

The goal is to permit non boolean options in the future (I initially thought KEEPALIVE was a non boolean, which is why it's implemented now), and also to add the keepalive option which is required by some other software.

Also, we offload the processing of the arguments to the actual Object implementation

The goal is to permit non boolean options in the future, and also to add the keepalive option which is required by some other software
@mkroening mkroening self-assigned this Sep 10, 2025
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: eb74c39 Previous: 5bb3e34 Performance Ratio
startup_benchmark Build Time 124.07 s 124.36 s 1.00
startup_benchmark File Size 0.91 MB 0.91 MB 1.00
Startup Time - 1 core 0.94 s (±0.01 s) 0.92 s (±0.02 s) 1.01
Startup Time - 2 cores 0.94 s (±0.01 s) 0.94 s (±0.02 s) 1.00
Startup Time - 4 cores 0.94 s (±0.02 s) 0.93 s (±0.02 s) 1.01
multithreaded_benchmark Build Time 120.49 s 124.34 s 0.97
multithreaded_benchmark File Size 1.02 MB 1.02 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 2.72 % (±13.07 %) 2.79 % (±13.39 %) 0.98
Multithreaded Pi Efficiency - 4 Threads 1.55 % (±7.43 %) 1.58 % (±7.58 %) 0.98
Multithreaded Pi Efficiency - 8 Threads 0.74 % (±3.57 %) 0.83 % (±3.97 %) 0.90
micro_benchmarks Build Time 137.96 s 143.38 s 0.96
micro_benchmarks File Size 1.02 MB 1.03 MB 1.00
Scheduling time - 1 thread 3.30 ticks (±15.82 ticks) 3.09 ticks (±14.85 ticks) 1.07
Scheduling time - 2 threads 1.84 ticks (±8.84 ticks) 1.69 ticks (±8.13 ticks) 1.09
Micro - Time for syscall (getpid) 0.16 ticks (±0.75 ticks) 0.19 ticks (±0.91 ticks) 0.82
Memcpy speed - (built_in) block size 4096 1755.62 MByte/s (±8426.97 MByte/s) 1698.37 MByte/s (±8152.17 MByte/s) 1.03
Memcpy speed - (built_in) block size 1048576 554.70 MByte/s (±2662.56 MByte/s) 556.23 MByte/s (±2669.89 MByte/s) 1.00
Memcpy speed - (built_in) block size 16777216 210.53 MByte/s (±1010.55 MByte/s) 205.68 MByte/s (±987.25 MByte/s) 1.02
Memset speed - (built_in) block size 4096 1333.33 MByte/s (±6400.00 MByte/s) 1290.32 MByte/s (±6193.55 MByte/s) 1.03
Memset speed - (built_in) block size 1048576 1280.86 MByte/s (±6148.13 MByte/s) 1283.24 MByte/s (±6159.57 MByte/s) 1.00
Memset speed - (built_in) block size 16777216 929.80 MByte/s (±4463.03 MByte/s) 876.43 MByte/s (±4206.88 MByte/s) 1.06
Memcpy speed - (rust) block size 4096 1090.91 MByte/s (±5236.36 MByte/s) 937.50 MByte/s (±4500.00 MByte/s) 1.16
Memcpy speed - (rust) block size 1048576 546.99 MByte/s (±2625.53 MByte/s) 533.85 MByte/s (±2562.46 MByte/s) 1.02
Memcpy speed - (rust) block size 16777216 213.64 MByte/s (±1025.48 MByte/s) 208.29 MByte/s (±999.80 MByte/s) 1.03
Memset speed - (rust) block size 4096 1481.48 MByte/s (±7111.11 MByte/s) 1558.44 MByte/s (±7480.52 MByte/s) 0.95
Memset speed - (rust) block size 1048576 1420.81 MByte/s (±6819.88 MByte/s) 906.54 MByte/s (±4351.37 MByte/s) 1.57
Memset speed - (rust) block size 16777216 940.82 MByte/s (±4515.93 MByte/s) 879.71 MByte/s (±4222.60 MByte/s) 1.07
alloc_benchmarks Build Time 132.58 s 138.20 s 0.96
alloc_benchmarks File Size 0.98 MB 0.98 MB 1.00
Allocations - Allocation success 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Deallocation success 1.40 % (±9.68 %) 1.40 % (±9.69 %) 1.00
Allocations - Pre-fail Allocations 2.00 % (±13.86 %) 2.00 % (±13.86 %) 1
Allocations - Average Allocation time 249.50 Ticks (±1728.96 Ticks) 253.36 Ticks (±1755.66 Ticks) 0.98
Allocations - Average Allocation time (no fail) 249.50 Ticks (±1728.96 Ticks) 253.36 Ticks (±1755.66 Ticks) 0.98
Allocations - Average Deallocation time 17.15 Ticks (±118.81 Ticks) 17.69 Ticks (±122.61 Ticks) 0.97
mutex_benchmark Build Time 136.86 s 139.93 s 0.98
mutex_benchmark File Size 1.03 MB 1.03 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 0.26 ns (±1.80 ns) 0.32 ns (±2.22 ns) 0.81
Mutex Stress Test Average Time per Iteration - 2 Threads 0.36 ns (±2.49 ns) 0.32 ns (±2.22 ns) 1.13

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.

2 participants