Skip to content

Instantly share code, notes, and snippets.

@antirez
Created April 20, 2010 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antirez/372356 to your computer and use it in GitHub Desktop.
Save antirez/372356 to your computer and use it in GitHub Desktop.
antirez@metal:/tmp$ ./a.out
allocated: 0 GB, fork() took 0.000
allocated: 1 GB, fork() took 0.016
allocated: 2 GB, fork() took 0.031
allocated: 3 GB, fork() took 0.046
allocated: 4 GB, fork() took 0.058
allocated: 5 GB, fork() took 0.072
allocated: 6 GB, fork() took 0.084
allocated: 7 GB, fork() took 0.095
allocated: 8 GB, fork() took 0.107
allocated: 9 GB, fork() took 0.118
allocated: 10 GB, fork() took 0.128
allocated: 11 GB, fork() took 0.137
allocated: 12 GB, fork() took 0.146
allocated: 13 GB, fork() took 0.156
allocated: 14 GB, fork() took 0.164
allocated: 15 GB, fork() took 0.173
allocated: 16 GB, fork() took 0.181
allocated: 17 GB, fork() took 0.189
allocated: 18 GB, fork() took 0.197
allocated: 19 GB, fork() took 0.205
allocated: 20 GB, fork() took 0.214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment