Skip to content

feat(network): support packet capture file creation#2275

Open
cagatay-y wants to merge 2 commits intohermit-os:mainfrom
cagatay-y:feat-pcap
Open

feat(network): support packet capture file creation#2275
cagatay-y wants to merge 2 commits intohermit-os:mainfrom
cagatay-y:feat-pcap

Conversation

@cagatay-y
Copy link
Contributor

@cagatay-y cagatay-y commented Feb 20, 2026

Allows creating packet capture files in the pcap format.

The feature also allows us to get nice graphs by using Wireshark's built-in tools.
1771604408

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: 3298de6 Previous: 93015ac Performance Ratio
startup_benchmark Build Time 85.62 s 87.93 s 0.97
startup_benchmark File Size 0.79 MB 0.79 MB 1.00
Startup Time - 1 core 0.95 s (±0.03 s) 0.94 s (±0.03 s) 1.01
Startup Time - 2 cores 0.95 s (±0.02 s) 0.96 s (±0.03 s) 1.00
Startup Time - 4 cores 0.94 s (±0.03 s) 0.97 s (±0.03 s) 0.98
multithreaded_benchmark Build Time 85.10 s 86.34 s 0.99
multithreaded_benchmark File Size 0.89 MB 0.89 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 90.95 % (±7.66 %) 88.79 % (±8.25 %) 1.02
Multithreaded Pi Efficiency - 4 Threads 45.24 % (±3.32 %) 44.06 % (±3.70 %) 1.03
Multithreaded Pi Efficiency - 8 Threads 25.89 % (±1.70 %) 25.76 % (±2.11 %) 1.01
micro_benchmarks Build Time 95.90 s 95.46 s 1.00
micro_benchmarks File Size 0.90 MB 0.90 MB 1.00
Scheduling time - 1 thread 72.03 ticks (±4.48 ticks) 70.19 ticks (±3.78 ticks) 1.03
Scheduling time - 2 threads 39.79 ticks (±6.11 ticks) 38.82 ticks (±5.94 ticks) 1.02
Micro - Time for syscall (getpid) 2.97 ticks (±0.24 ticks) 2.87 ticks (±0.22 ticks) 1.03
Memcpy speed - (built_in) block size 4096 66706.33 MByte/s (±47624.98 MByte/s) 65241.09 MByte/s (±46657.58 MByte/s) 1.02
Memcpy speed - (built_in) block size 1048576 29475.31 MByte/s (±24434.14 MByte/s) 29624.28 MByte/s (±24505.93 MByte/s) 0.99
Memcpy speed - (built_in) block size 16777216 28080.13 MByte/s (±23405.08 MByte/s) 28063.32 MByte/s (±23395.83 MByte/s) 1.00
Memset speed - (built_in) block size 4096 67550.88 MByte/s (±48205.08 MByte/s) 65701.33 MByte/s (±46939.48 MByte/s) 1.03
Memset speed - (built_in) block size 1048576 30260.76 MByte/s (±24887.45 MByte/s) 30429.97 MByte/s (±24974.64 MByte/s) 0.99
Memset speed - (built_in) block size 16777216 28846.69 MByte/s (±23843.90 MByte/s) 28864.03 MByte/s (±23869.04 MByte/s) 1.00
Memcpy speed - (rust) block size 4096 60872.24 MByte/s (±44870.40 MByte/s) 60526.81 MByte/s (±44630.65 MByte/s) 1.01
Memcpy speed - (rust) block size 1048576 29443.88 MByte/s (±24440.45 MByte/s) 29406.90 MByte/s (±24399.64 MByte/s) 1.00
Memcpy speed - (rust) block size 16777216 28163.89 MByte/s (±23474.84 MByte/s) 28159.49 MByte/s (±23489.43 MByte/s) 1.00
Memset speed - (rust) block size 4096 61676.99 MByte/s (±45351.42 MByte/s) 61485.78 MByte/s (±45322.49 MByte/s) 1.00
Memset speed - (rust) block size 1048576 30249.42 MByte/s (±24900.47 MByte/s) 30190.72 MByte/s (±24863.80 MByte/s) 1.00
Memset speed - (rust) block size 16777216 28939.47 MByte/s (±23917.54 MByte/s) 28941.68 MByte/s (±23945.25 MByte/s) 1.00
alloc_benchmarks Build Time 92.83 s 97.71 s 0.95
alloc_benchmarks File Size 0.86 MB 0.86 MB 1
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 9212.25 Ticks (±161.21 Ticks) 11682.50 Ticks (±310.03 Ticks) 0.79
Allocations - Average Allocation time (no fail) 9212.25 Ticks (±161.21 Ticks) 11682.50 Ticks (±310.03 Ticks) 0.79
Allocations - Average Deallocation time 2106.88 Ticks (±923.75 Ticks) 1012.52 Ticks (±456.95 Ticks) 2.08
mutex_benchmark Build Time 93.33 s 92.91 s 1.00
mutex_benchmark File Size 0.90 MB 0.90 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.28 ns (±0.78 ns) 12.92 ns (±0.56 ns) 1.03
Mutex Stress Test Average Time per Iteration - 2 Threads 24.58 ns (±19.08 ns) 20.44 ns (±8.04 ns) 1.20

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

@mkroening mkroening self-assigned this Feb 20, 2026
@cagatay-y cagatay-y force-pushed the feat-pcap branch 2 times, most recently from 5ab22eb to 9a29331 Compare February 25, 2026 16:41
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!

@cagatay-y cagatay-y force-pushed the feat-pcap branch 2 times, most recently from 763277c to 872788e Compare March 6, 2026 11:11
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