Skip to content

Instantly share code, notes, and snippets.

@yury
Created December 29, 2011 12:30
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 yury/1533864 to your computer and use it in GitHub Desktop.
Save yury/1533864 to your computer and use it in GitHub Desktop.
bench
rvm install 1.9.3-p0 -n new_hash --patch `curl -O -s -w "hash_optimize.patch" https://raw.github.com/gist/1509477/0ce84bfa6464a87eba8ef083f8f0290d98e67a05/hash_optimize.patch`
rvm 1.9.3-p0-new_hash
which ruby
/Users/yury/.rvm/rubies/ruby-1.9.3-p0-new_hash/bin/ruby
82.02 real 83.01 user 1.61 sys
204537856 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
173418 page reclaims
8 page faults
0 swaps
6 block input operations
31 block output operations
85 messages sent
399 messages received
0 signals received
214 voluntary context switches
10645 involuntary context switches
85.69 real 86.91 user 1.57 sys
203452416 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
171209 page reclaims
8 page faults
0 swaps
156 block input operations
205 block output operations
85 messages sent
399 messages received
0 signals received
313 voluntary context switches
9436 involuntary context switches
rvm 1.9.3-p0
which ruby
/Users/yury/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
88.85 real 88.26 user 1.91 sys
221724672 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
172376 page reclaims
1216 page faults
0 swaps
328 block input operations
407 block output operations
85 messages sent
399 messages received
0 signals received
3543 voluntary context switches
9313 involuntary context switches
82.93 real 84.20 user 1.57 sys
225271808 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
176698 page reclaims
8 page faults
0 swaps
1 block input operations
24 block output operations
85 messages sent
399 messages received
0 signals received
168 voluntary context switches
8649 involuntary context switches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment