Skip to content

steven-joruk/macos-ipc-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Some people claim that XPC is faster than unix domain sockets. I haven't seen any benchmarks to back it up, so I made this.

Results

Tests were performed on a 2017 MacBook Pro, 2.9GHz i7, Monterey 12.2.

Benchmark UDS XPC
round trip of 10b 11us 12us
round trip of 1KiB 11us 15us
round trip of 10MiB 17ms 12ms
connect and round trip of 10b 32us 95us

About

A benchmark of UDS and XPC for regular data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published