mondalaci / fork-benchmark

A primitive benchmark measuring the time it takes to fork, exec and destroy x processes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork benchmark

Fork benchmark is a primitive benchmark that measures the time that is required to fork, exec and destroy x processes, where you can define x as the command line argument.

I created it because I was wondering why SysVinit is so slow. Hint: It's not because forks are slow, but but because init runs the services scripts sequantially, not in parallel.

About

A primitive benchmark measuring the time it takes to fork, exec and destroy x processes

License:GNU General Public License v3.0


Languages

Language:C 96.4%Language:Makefile 3.6%