Skip to content

Instantly share code, notes, and snippets.

@ScottBrooks
Created June 16, 2010 16:54
Show Gist options
  • Save ScottBrooks/440951 to your computer and use it in GitHub Desktop.
Save ScottBrooks/440951 to your computer and use it in GitHub Desktop.
Hitting localhost:3000 a few times in my browser
MRI Ubunti
pprof.rb --text /tmp/spree | head
Total: 5811 samples
3214 55.3% 55.3% 3214 55.3% garbage_collector
262 4.5% 59.8% 421 7.2% Object#local_constants
222 3.8% 63.6% 1024 17.6% Array#collect
141 2.4% 66.1% 1836 31.6% Array#each
132 2.3% 68.3% 354 6.1% Kernel#polyglot_original_require
131 2.3% 70.6% 166 2.9% Array#select
129 2.2% 72.8% 234 4.0% Array#map
90 1.5% 74.4% 96 1.7% Timeout.timeout
80 1.4% 75.7% 293 5.0% Module#loadable_constants_for_path
REE 2010.01
pprof.rb --text /tmp/spree_ree | head
Total: 3568 samples
1768 49.6% 49.6% 1768 49.6% garbage_collector
179 5.0% 54.6% 241 6.8% Object#local_constants
130 3.6% 58.2% 547 15.3% Array#collect
126 3.5% 61.7% 271 7.6% Kernel#polyglot_original_require
102 2.9% 64.6% 1256 35.2% Array#each
95 2.7% 67.3% 114 3.2% Module#search_for_file
52 1.5% 68.7% 526 14.7% Object#load_without_new_constant_marking
51 1.4% 70.2% 57 1.6% Module#autoloadable_module?
44 1.2% 71.4% 60 1.7% Array#select
REE 2010.01 with env vars from timetobleed.com GC tuning
pprof.rb --text /tmp/spree_ree_env | head
Total: 2688 samples
679 25.3% 25.3% 679 25.3% garbage_collector
187 7.0% 32.2% 244 9.1% Object#local_constants
157 5.8% 38.1% 629 23.4% Array#collect
130 4.8% 42.9% 274 10.2% Kernel#polyglot_original_require
113 4.2% 47.1% 1379 51.3% Array#each
103 3.8% 50.9% 115 4.3% Module#search_for_file
68 2.5% 53.5% 68 2.5% Object#`
63 2.3% 55.8% 615 22.9% Object#load_without_new_constant_marking
54 2.0% 57.8% 1164 43.3% Module#new_constants_in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment