Skip to content

Instantly share code, notes, and snippets.

@FROGGS

FROGGS/openbsd55 Secret

Created February 19, 2015 19:25
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 FROGGS/d419dfdb707aad3d7f3d to your computer and use it in GitHub Desktop.
Save FROGGS/d419dfdb707aad3d7f3d to your computer and use it in GitHub Desktop.
$ /usr/bin/time perl -E 'for (0..1000000) { say 1 } '
13.91 real 1.25 user 5.43 sys
$ /usr/bin/time -l perl -E 'for (0..1000000) { say 1 } '
13.13 real 1.06 user 5.25 sys
2324 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
717 minor page faults
0 major page faults
0 swaps
0 block input operations
2 block output operations
0 messages sent
0 messages received
0 signals received
3486 voluntary context switches
32060 involuntary context switches
$ /usr/bin/time -p perl -E 'for (0..1000000) { say 1 } '
real 13.42
user 1.22
sys 5.35
$ /usr/bin/time -l -p perl -E 'for (0..1000000) { say 1 } '
real 14.49
user 1.37
sys 5.48
2336 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
718 minor page faults
0 major page faults
0 swaps
0 block input operations
2 block output operations
0 messages sent
0 messages received
0 signals received
3460 voluntary context switches
38013 involuntary context switches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment