Skip to content

Instantly share code, notes, and snippets.

@jasonwebster
Created February 23, 2016 19:06
Show Gist options
  • Save jasonwebster/6fcbcc7b28d5bb7240b3 to your computer and use it in GitHub Desktop.
Save jasonwebster/6fcbcc7b28d5bb7240b3 to your computer and use it in GitHub Desktop.
==================================
Mode: cpu(1000)
Samples: 13809 (0.05% miss rate)
GC: 1244 (9.01%)
==================================
TOTAL (pct) SAMPLES (pct) FRAME
4867 (35.2%) 4867 (35.2%) block (2 levels) in ActiveModel::ArraySerializer#embedded_in_root_associations
2510 (18.2%) 2510 (18.2%) block (2 levels) in Delegator.delegating_block
263 (1.9%) 263 (1.9%) block in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#exec_cache
203 (1.5%) 203 (1.5%) ActiveModel::Serializer#initialize
270 (2.0%) 194 (1.4%) Hash#deep_merge
193 (1.4%) 159 (1.2%) ActiveModel::AttributeMethods#respond_to?
359 (2.6%) 158 (1.1%) ActiveRecord::AttributeMethods::Read#read_attribute
157 (1.1%) 157 (1.1%) ActiveRecord::Attribute#initialize
153 (1.1%) 153 (1.1%) block in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#exec_no_cache
366 (2.7%) 152 (1.1%) ActiveRecord::LazyAttributeHash#[]
2528 (18.3%) 135 (1.0%) block in #<Module:0x007ff7f41a6f28>.interpolate
111 (0.8%) 111 (0.8%) NilClass#blank?
268 (1.9%) 110 (0.8%) ActiveRecord::Type::TimeValue#fast_string_to_time
158 (1.1%) 100 (0.7%) ActiveRecord::Type::TimeValue#new_time
135 (1.0%) 91 (0.7%) block in Paperclip::Attachment#styles
84 (0.6%) 84 (0.6%) block in ActiveRecord::Result#hash_rows
76 (0.6%) 76 (0.6%) CombinedLogger#log
1376 (10.0%) 72 (0.5%) AccountAvatar#avatar_url
2220 (16.1%) 70 (0.5%) block in ActiveModel::Serializer#attributes
63 (0.5%) 63 (0.5%) block in ActionDispatch::FileHandler#match?
62 (0.4%) 62 (0.4%) block in ActiveModel::Serializable#instrument
3086 (22.3%) 60 (0.4%) ActiveRecord::Attribute#value
58 (0.4%) 58 (0.4%) ActiveRecord::Base.default_timezone
214 (1.5%) 56 (0.4%) ActiveRecord::LazyAttributeHash#assign_default_value
54 (0.4%) 54 (0.4%) ActiveRecord::Associations#association_instance_get
52 (0.4%) 52 (0.4%) ActiveRecord::LazyAttributeHash#key?
128 (0.9%) 52 (0.4%) ActiveModel::Serializer::Association#build_serializer
184 (1.3%) 49 (0.4%) Paperclip::Attachment#styles
49 (0.4%) 48 (0.3%) Time#compare_with_coercion
46 (0.3%) 46 (0.3%) ActiveModel::Serializer::Config#method_missing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment