Skip to content

macOS' context switching and system calls benchmarking

Notifications You must be signed in to change notification settings

ruiconti/benchmark-syscalls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VERY SIMPLE USAGE

Simple and poorly-written programs for fun and curiosity.

1. Benchmark how long a read() system call takes to run
$ ./read <num_of_runs>
$ ./read 100000

2. Benchmark process context switch via pipe communication:
$ ./cswitch
give it a time and ^C

About

macOS' context switching and system calls benchmarking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages