Created
April 20, 2010 11:15
-
-
Save fsvehla/372310 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # gcc fork.c && ./a.out | |
| allocated: 1 MB, fork() took 0.000 | |
| allocated: 10 MB, fork() took 0.001 | |
| allocated: 100 MB, fork() took 0.007 | |
| allocated: 1000 MB, fork() took 0.059 | |
| allocated: 10000 MB, fork() took 0.460 | |
| allocated: 20000 MB, fork() took 0.895 | |
| allocated: 30000 MB, fork() took 1.327 | |
| allocated: 40000 MB, fork() took 1.759 | |
| allocated: 50000 MB, fork() took 2.190 | |
| allocated: 60000 MB, fork() took 2.621 | |
| allocated: 70000 MB, fork() took 3.051 | |
| allocated: 80000 MB, fork() took 3.483 | |
| allocated: 90000 MB, fork() took 3.911 | |
| allocated: 100000 MB, fork() took 4.340 | |
| allocated: 110000 MB, fork() took 4.770 | |
| allocated: 120000 MB, fork() took 5.202 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment