Skip to content

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

Open
cagatay-y wants to merge 1 commit intohermit-os:mainfrom
cagatay-y:feat-pcap
Open

feat(network): support packet capture file creation#2275
cagatay-y wants to merge 1 commit 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: 5107172 Previous: 15411f4 Performance Ratio
startup_benchmark Build Time 90.57 s 85.32 s 1.06
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.02 s) 1.02
Startup Time - 2 cores 0.97 s (±0.02 s) 0.96 s (±0.03 s) 1.01
Startup Time - 4 cores 0.95 s (±0.03 s) 0.95 s (±0.03 s) 1.00
multithreaded_benchmark Build Time 86.40 s 85.47 s 1.01
multithreaded_benchmark File Size 0.89 MB 0.89 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 89.76 % (±8.21 %) 88.46 % (±10.34 %) 1.01
Multithreaded Pi Efficiency - 4 Threads 44.20 % (±3.30 %) 43.82 % (±3.23 %) 1.01
Multithreaded Pi Efficiency - 8 Threads 25.63 % (±1.89 %) 25.42 % (±1.55 %) 1.01
micro_benchmarks Build Time 96.66 s 94.44 s 1.02
micro_benchmarks File Size 0.90 MB 0.90 MB 1.00
Scheduling time - 1 thread 70.01 ticks (±4.34 ticks) 70.10 ticks (±2.89 ticks) 1.00
Scheduling time - 2 threads 38.65 ticks (±4.07 ticks) 38.48 ticks (±4.71 ticks) 1.00
Micro - Time for syscall (getpid) 2.91 ticks (±0.24 ticks) 2.91 ticks (±0.27 ticks) 1.00
Memcpy speed - (built_in) block size 4096 66497.46 MByte/s (±47289.58 MByte/s) 65200.84 MByte/s (±46457.84 MByte/s) 1.02
Memcpy speed - (built_in) block size 1048576 29438.94 MByte/s (±24413.42 MByte/s) 29356.33 MByte/s (±24414.73 MByte/s) 1.00
Memcpy speed - (built_in) block size 16777216 28225.14 MByte/s (±23572.28 MByte/s) 27982.34 MByte/s (±23323.66 MByte/s) 1.01
Memset speed - (built_in) block size 4096 67485.10 MByte/s (±47935.29 MByte/s) 65622.38 MByte/s (±46743.58 MByte/s) 1.03
Memset speed - (built_in) block size 1048576 30224.46 MByte/s (±24840.98 MByte/s) 30153.96 MByte/s (±24854.87 MByte/s) 1.00
Memset speed - (built_in) block size 16777216 28973.95 MByte/s (±23986.37 MByte/s) 28739.77 MByte/s (±23747.95 MByte/s) 1.01
Memcpy speed - (rust) block size 4096 57784.82 MByte/s (±42478.59 MByte/s) 59370.22 MByte/s (±43797.44 MByte/s) 0.97
Memcpy speed - (rust) block size 1048576 29410.80 MByte/s (±24374.68 MByte/s) 29355.26 MByte/s (±24378.08 MByte/s) 1.00
Memcpy speed - (rust) block size 16777216 28166.62 MByte/s (±23508.05 MByte/s) 28012.95 MByte/s (±23345.23 MByte/s) 1.01
Memset speed - (rust) block size 4096 58757.85 MByte/s (±43096.53 MByte/s) 59864.14 MByte/s (±44056.29 MByte/s) 0.98
Memset speed - (rust) block size 1048576 30217.51 MByte/s (±24825.56 MByte/s) 30135.70 MByte/s (±24816.99 MByte/s) 1.00
Memset speed - (rust) block size 16777216 28903.83 MByte/s (±23910.01 MByte/s) 28770.09 MByte/s (±23769.23 MByte/s) 1.00
alloc_benchmarks Build Time 93.33 s 92.09 s 1.01
alloc_benchmarks File Size 0.86 MB 0.86 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 13868.64 Ticks (±206.63 Ticks) 9488.01 Ticks (±193.06 Ticks) 1.46
Allocations - Average Allocation time (no fail) 13868.64 Ticks (±206.63 Ticks) 9488.01 Ticks (±193.06 Ticks) 1.46
Allocations - Average Deallocation time 1142.10 Ticks (±864.68 Ticks) 2019.74 Ticks (±1065.68 Ticks) 0.57
mutex_benchmark Build Time 94.26 s 91.65 s 1.03
mutex_benchmark File Size 0.90 MB 0.90 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 13.16 ns (±0.64 ns) 13.14 ns (±0.69 ns) 1.00
Mutex Stress Test Average Time per Iteration - 2 Threads 21.64 ns (±13.34 ns) 20.68 ns (±11.90 ns) 1.05

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 3 times, most recently from 872788e to 3298de6 Compare March 6, 2026 12:51
Allows creating packet capture files in the pcap format.
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