Skip to content

Instantly share code, notes, and snippets.

@benlovell
Created June 25, 2014 09:47
Show Gist options
  • Save benlovell/0c356585cd21c955e3f2 to your computer and use it in GitHub Desktop.
Save benlovell/0c356585cd21c955e3f2 to your computer and use it in GitHub Desktop.
skylight dump
herpderp~/Desktop % stackprof stackprof-cpu-wamo.dump --text --limit 20
==================================
Mode: cpu(1000)
Samples: 71 (1.39% miss rate)
GC: 14 (19.72%)
==================================
TOTAL (pct) SAMPLES (pct) FRAME
56 (78.9%) 50 (70.4%) SqlLexer::Lexer#process_array
3 (4.2%) 3 (4.2%) SqlLexer::Lexer#process_tokens
3 (4.2%) 3 (4.2%) SqlLexer::Lexer#process_end
1 (1.4%) 1 (1.4%) rescue in Skylight::Normalizers::SQL#extract_binds
57 (80.3%) 0 (0.0%) Skylight::Normalizers::SQL#normalize
57 (80.3%) 0 (0.0%) Skylight::Normalizers::Container#normalize
57 (80.3%) 0 (0.0%) Skylight::Subscriber#normalize
57 (80.3%) 0 (0.0%) Skylight::Subscriber#start
57 (80.3%) 0 (0.0%) ActiveSupport::Notifications::Fanout::Subscribers::Evented#start
57 (80.3%) 0 (0.0%) ActiveSupport::Notifications::Fanout::Subscribers::AllMessages#start
57 (80.3%) 0 (0.0%) block in ActiveSupport::Notifications::Fanout#start
57 (80.3%) 0 (0.0%) ActiveSupport::Notifications::Fanout#start
57 (80.3%) 0 (0.0%) ActiveSupport::Notifications::Instrumenter#start
114 (160.6%) 0 (0.0%) ActiveSupport::Notifications::Instrumenter#instrument
57 (80.3%) 0 (0.0%) ActiveRecord::ConnectionAdapters::AbstractAdapter#log
57 (80.3%) 0 (0.0%) ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#exec_no_cache
57 (80.3%) 0 (0.0%) ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::DatabaseStatements#exec_query
57 (80.3%) 0 (0.0%) ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#select
57 (80.3%) 0 (0.0%) ActiveRecord::ConnectionAdapters::DatabaseStatements#select_all
57 (80.3%) 0 (0.0%) block in ActiveRecord::ConnectionAdapters::QueryCache#select_all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment