Skip to content

Instantly share code, notes, and snippets.

@zanker
Created March 11, 2016 21:59
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 zanker/5278a25a2904f7542150 to your computer and use it in GitHub Desktop.
Save zanker/5278a25a2904f7542150 to your computer and use it in GitHub Desktop.
raven-ruby optimizations
Measure Mode: wall_time
Thread ID: 70319499115040
Fiber ID: 70319529395800
Total Time: 1.1018621921539307
Sort by: total_time
%total %self total self wait child calls Name
--------------------------------------------------------------------------------
100.00% 0.00% 1.102 0.000 0.000 1.102 1 Global#[No method]
1.102 0.001 0.000 1.100 1/1 Integer#times
0.000 0.000 0.000 0.000 1/5001 Kernel#respond_to?
--------------------------------------------------------------------------------
1.102 0.001 0.000 1.100 1/1 Global#[No method]
100.00% 0.12% 1.102 0.001 0.000 1.100 1 Integer#times
1.100 0.001 0.000 1.100 100/100 <Module::Raven>#capture_type
0.000 0.000 0.000 0.000 100/100 Object#generate_exception
0.000 0.000 0.000 0.000 200/5001 Kernel#respond_to?
--------------------------------------------------------------------------------
1.100 0.001 0.000 1.100 100/100 Integer#times
99.85% 0.06% 1.100 0.001 0.000 1.100 100 <Module::Raven>#capture_type
0.668 0.000 0.000 0.668 100/100 <Module::Raven>#send_event
0.431 0.000 0.000 0.431 100/100 <Class::Raven::Event>#from_exception
0.000 0.000 0.000 0.000 100/100 <Module::Raven>#should_capture?
0.000 0.000 0.000 0.000 100/14103 <Module::Raven>#configuration
0.000 0.000 0.000 0.000 100/26200 Kernel#is_a?
0.000 0.000 0.000 0.000 100/7600 Kernel#block_given?
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 400/8401 <Class::Raven::Backtrace>#parse
0.000 0.000 0.000 0.000 200/8401 Raven::StacktraceInterface#to_hash
0.000 0.000 0.000 0.000 1/8401 Raven::Processor::SanitizeData#fields_re
0.000 0.000 0.000 0.000 7300/8401 Raven::Interface#to_hash
0.004 0.000 0.000 0.004 100/8401 Raven::Processor::RemoveCircularReferences#process
0.011 0.000 0.000 0.011 100/8401 Raven::Processor::UTF8Conversion#process
0.043 0.000 0.000 0.043 100/8401 Raven::Processor::SanitizeData#sanitize
0.354 0.000 0.000 0.354 100/8401 Raven::ExceptionInterface#to_hash
0.405 0.000 0.000 0.404 100/8401 Raven::Interface#initialize
74.22% 0.12% 0.818 0.001 0.000 0.816 8401 *Array#map
0.354 0.000 0.000 0.353 200/200 Raven::SingleExceptionInterface#to_hash
0.346 0.017 0.000 0.329 6800/6800 Raven::StacktraceInterface::Frame#to_hash
0.071 0.011 0.000 0.061 6800/6800 <Class::Raven::Backtrace::Line>#parse
0.024 0.024 0.000 0.000 55500/55600 String#to_sym
0.019 0.019 0.000 0.000 55500/55500 Symbol#[]
0.018 0.018 0.000 0.000 55500/55500 Kernel#instance_variable_get
0.008 0.005 0.000 0.003 6800/6800 Enumerable#reduce
0.000 0.000 0.000 0.000 11/11 Raven::Processor::SanitizeData#use_boundary?
0.000 0.000 0.000 0.000 200/3000 Raven::Processor::SanitizeData#sanitize
0.000 0.000 0.000 0.000 200/3100 Raven::Processor::UTF8Conversion#process
0.000 0.000 0.000 0.000 200/3100 Raven::Processor::RemoveCircularReferences#process
0.000 0.000 0.000 0.000 200/14603 Class#new
--------------------------------------------------------------------------------
0.668 0.000 0.000 0.668 100/100 <Module::Raven>#capture_type
60.62% 0.02% 0.668 0.000 0.000 0.668 100 <Module::Raven>#send_event
0.668 0.001 0.000 0.667 100/100 Raven::Client#send_event
0.000 0.000 0.000 0.000 100/100 <Module::Raven>#client
--------------------------------------------------------------------------------
0.668 0.001 0.000 0.667 100/100 <Module::Raven>#send_event
60.60% 0.10% 0.668 0.001 0.000 0.667 100 Raven::Client#send_event
0.356 0.001 0.000 0.355 100/100 Raven::Event#to_hash
0.300 0.000 0.000 0.300 100/100 Raven::Client#encode
0.007 0.001 0.000 0.006 100/100 Raven::Logger#debug
0.002 0.001 0.000 0.002 100/100 Raven::Client#generate_auth_header
0.000 0.000 0.000 0.000 100/100 Raven::Client#configuration_allows_sending
0.000 0.000 0.000 0.000 100/100 Raven::Client#successful_send
0.000 0.000 0.000 0.000 100/100 Raven::Client#transport
0.000 0.000 0.000 0.000 100/100 Raven::ClientState#should_try?
0.000 0.000 0.000 0.000 100/100 <Module::Raven>#logger
0.000 0.000 0.000 0.000 100/100 Raven::Transports::Dummy#send_event
--------------------------------------------------------------------------------
0.431 0.000 0.000 0.431 100/100 <Module::Raven>#capture_type
39.13% 0.04% 0.431 0.000 0.000 0.431 100 <Class::Raven::Event>#from_exception
0.423 0.000 0.000 0.423 100/14603 Class#new
0.007 0.000 0.000 0.006 100/100 Enumerable#any?
0.000 0.000 0.000 0.000 100/1200 Hash#merge
0.000 0.000 0.000 0.000 100/14103 <Module::Raven>#configuration
0.000 0.000 0.000 0.000 100/7000 Raven::Configuration#[]
0.000 0.000 0.000 0.000 100/100 Kernel#instance_variable_defined?
0.000 0.000 0.000 0.000 100/26200 Kernel#is_a?
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 1/14603 <Class::Raven::Backtrace>#in_app_pattern
0.000 0.000 0.000 0.000 1/14603 <Class::Raven::Context>#current
0.000 0.000 0.000 0.000 100/14603 Raven::Event#interface
0.000 0.000 0.000 0.000 300/14603 Raven::Interface#initialize
0.000 0.000 0.000 0.000 100/14603 Set#initialize
0.000 0.000 0.000 0.000 200/14603 Array#map
0.000 0.000 0.000 0.000 6800/14603 <Class::Raven::Backtrace::Line>#parse
0.000 0.000 0.000 0.000 200/14603 <Class::Raven::Backtrace>#parse
0.000 0.000 0.000 0.000 6800/14603 Array#reverse_each
0.000 0.000 0.000 0.000 1/14603 Raven::Client#transport
0.423 0.000 0.000 0.423 100/14603 <Class::Raven::Event>#from_exception
38.43% 0.02% 0.423 0.000 0.000 0.423 14603 *Class#new
0.423 0.005 0.000 0.418 100/100 Raven::Event#initialize
0.408 0.001 0.000 0.407 300/7300 Raven::Interface#initialize
0.401 0.000 0.000 0.401 200/200 Raven::StacktraceInterface#initialize
0.018 0.010 0.000 0.008 6800/6800 Raven::StacktraceInterface::Frame#initialize
0.012 0.009 0.000 0.003 6800/6800 Raven::Backtrace::Line#initialize
0.002 0.000 0.000 0.001 100/100 Set#initialize
0.000 0.000 0.000 0.000 200/200 Raven::Backtrace#initialize
0.000 0.000 0.000 0.000 100/100 Hash#initialize
0.000 0.000 0.000 0.000 1/1 Regexp#initialize
0.000 0.000 0.000 0.000 1/1 Raven::Transports::Dummy#initialize
0.000 0.000 0.000 0.000 1/1 Raven::Context#initialize
--------------------------------------------------------------------------------
0.423 0.005 0.000 0.418 100/100 Class#new
38.41% 0.46% 0.423 0.005 0.000 0.418 100 Raven::Event#initialize
0.409 0.000 0.000 0.409 100/100 <Class::Raven::Event>#add_exception_interface
0.004 0.000 0.000 0.003 100/100 Raven::Event#generate_event_id
0.001 0.001 0.000 0.001 400/1200 Hash#merge
0.001 0.000 0.000 0.000 100/200 Hash#each_pair
0.001 0.001 0.000 0.000 100/200 Time#strftime
0.001 0.000 0.000 0.001 100/100 Raven::Event#[]
0.001 0.000 0.000 0.000 100/100 Time#utc
0.000 0.000 0.000 0.000 100/100 <Module::Raven>#context
0.000 0.000 0.000 0.000 100/300 <Class::Time>#now
0.000 0.000 0.000 0.000 400/26200 Kernel#is_a?
0.000 0.000 0.000 0.000 100/100 Exception#message
0.000 0.000 0.000 0.000 100/2600 Kernel#class
0.000 0.000 0.000 0.000 100/14103 <Module::Raven>#configuration
0.000 0.000 0.000 0.000 100/500 Module#to_s
0.000 0.000 0.000 0.000 100/7600 Kernel#block_given?
--------------------------------------------------------------------------------
0.005 0.000 0.000 0.005 200/13800 Raven::Event#get_culprit
0.193 0.016 0.000 0.176 6800/13800 Raven::StacktraceInterface::Frame#to_hash
0.215 0.016 0.000 0.199 6800/13800 Array#reverse_each
37.45% 2.99% 0.413 0.033 0.000 0.380 13800 Raven::StacktraceInterface::Frame#filename
0.273 0.013 0.000 0.260 13800/13800 Raven::StacktraceInterface::Frame#longest_load_path
0.075 0.020 0.000 0.055 27600/27600 Raven::StacktraceInterface::Frame#under_project_root?
0.008 0.008 0.000 0.000 12400/12400 String#chomp
0.007 0.007 0.000 0.000 12400/215602 String#to_s
0.006 0.006 0.000 0.000 12400/67600 Raven::StacktraceInterface::Frame#project_root
0.006 0.006 0.000 0.000 12400/12500 String#[]
0.004 0.004 0.000 0.000 13800/14100 Kernel#nil?
--------------------------------------------------------------------------------
0.001 0.000 0.000 0.000 100/200 Raven::Event#[]
0.409 0.000 0.000 0.408 100/200 <Class::Raven::Event>#add_exception_interface
37.16% 0.06% 0.409 0.001 0.000 0.409 200 Raven::Event#interface
0.000 0.000 0.000 0.000 200/200 <Module::Raven>#find_interface
0.000 0.000 0.000 0.000 300/300 <Class::Raven::Interface>#name
0.000 0.000 0.000 0.000 100/14603 Class#new
--------------------------------------------------------------------------------
0.409 0.000 0.000 0.409 100/100 Raven::Event#initialize
37.13% 0.02% 0.409 0.000 0.000 0.409 100 <Class::Raven::Event>#add_exception_interface
0.409 0.000 0.000 0.408 100/200 Raven::Event#interface
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 200/7300 Raven::StacktraceInterface#initialize
0.000 0.000 0.000 0.000 6800/7300 Raven::StacktraceInterface::Frame#initialize
0.408 0.001 0.000 0.407 300/7300 Class#new
37.01% 0.07% 0.408 0.001 0.000 0.407 7300 *Raven::Interface#initialize
0.405 0.000 0.000 0.404 100/8401 Array#map
0.400 0.001 0.000 0.400 200/200 <Class::Raven::Event>#stacktrace_interface_from
0.002 0.002 0.000 0.000 7300/7600 Kernel#block_given?
0.000 0.000 0.000 0.000 400/500 Module#to_s
0.000 0.000 0.000 0.000 400/500 Exception#backtrace
0.000 0.000 0.000 0.000 200/200 String#split
0.000 0.000 0.000 0.000 400/2600 Kernel#class
0.000 0.000 0.000 0.000 300/300 Kernel#object_id
0.000 0.000 0.000 0.000 200/302 Array#join
0.000 0.000 0.000 0.000 200/200 Array#[]
0.000 0.000 0.000 0.000 200/300 Exception#to_s
0.000 0.000 0.000 0.000 100/100 Set#include?
0.000 0.000 0.000 0.000 200/200 Exception#respond_to?
0.000 0.000 0.000 0.000 100/200 Set#add
0.000 0.000 0.000 0.000 100/100 Exception#cause
0.000 0.000 0.000 0.000 100/100 Array#reverse!
0.000 0.000 0.000 0.000 300/14603 Class#new
--------------------------------------------------------------------------------
0.401 0.000 0.000 0.401 200/200 Class#new
36.41% 0.03% 0.401 0.000 0.000 0.401 200 Raven::StacktraceInterface#initialize
0.000 0.000 0.000 0.000 200/7300 Raven::Interface#initialize
--------------------------------------------------------------------------------
0.400 0.001 0.000 0.400 200/200 Raven::Interface#initialize
36.33% 0.05% 0.400 0.001 0.000 0.400 200 <Class::Raven::Event>#stacktrace_interface_from
0.308 0.017 0.000 0.290 200/200 Array#reverse_each
0.085 0.001 0.000 0.085 200/200 <Class::Raven::Backtrace>#parse
0.007 0.001 0.000 0.006 200/200 Raven::Event#get_culprit
--------------------------------------------------------------------------------
0.001 0.000 0.000 0.000 100/200 Raven::Event#initialize
0.355 0.000 0.000 0.355 100/200 Raven::Event#to_hash
32.33% 0.06% 0.356 0.001 0.000 0.356 200 Hash#each_pair
0.355 0.000 0.000 0.355 100/100 Raven::ExceptionInterface#to_hash
0.000 0.000 0.000 0.000 300/300 Kernel#instance_variable_set
0.000 0.000 0.000 0.000 300/48600 Symbol#to_s
0.000 0.000 0.000 0.000 100/55600 String#to_sym
--------------------------------------------------------------------------------
0.356 0.001 0.000 0.355 100/100 Raven::Client#send_event
32.32% 0.07% 0.356 0.001 0.000 0.355 100 Raven::Event#to_hash
0.355 0.000 0.000 0.355 100/200 Hash#each_pair
--------------------------------------------------------------------------------
0.355 0.000 0.000 0.355 100/100 Hash#each_pair
32.22% 0.02% 0.355 0.000 0.000 0.355 100 Raven::ExceptionInterface#to_hash
0.354 0.000 0.000 0.354 100/8401 Array#map
0.001 0.000 0.000 0.001 100/7300 Raven::Interface#to_hash
--------------------------------------------------------------------------------
0.354 0.000 0.000 0.353 200/200 Array#map
32.10% 0.03% 0.354 0.000 0.000 0.353 200 Raven::SingleExceptionInterface#to_hash
0.350 0.000 0.000 0.350 200/200 Raven::StacktraceInterface#to_hash
0.003 0.000 0.000 0.003 200/7300 Raven::Interface#to_hash
--------------------------------------------------------------------------------
0.350 0.000 0.000 0.350 200/200 Raven::SingleExceptionInterface#to_hash
31.80% 0.03% 0.350 0.000 0.000 0.350 200 Raven::StacktraceInterface#to_hash
0.001 0.000 0.000 0.001 200/7300 Raven::Interface#to_hash
0.000 0.000 0.000 0.000 200/8401 Array#map
--------------------------------------------------------------------------------
0.346 0.017 0.000 0.329 6800/6800 Array#map
31.38% 1.53% 0.346 0.017 0.000 0.329 6800 Raven::StacktraceInterface::Frame#to_hash
0.193 0.016 0.000 0.176 6800/13800 Raven::StacktraceInterface::Frame#filename
0.125 0.006 0.000 0.119 6800/7300 Raven::Interface#to_hash
0.011 0.011 0.000 0.000 27200/27700 Hash#delete
--------------------------------------------------------------------------------
0.308 0.017 0.000 0.290 200/200 <Class::Raven::Event>#stacktrace_interface_from
27.92% 1.57% 0.308 0.017 0.000 0.290 200 Array#reverse_each
0.215 0.016 0.000 0.199 6800/13800 Raven::StacktraceInterface::Frame#filename
0.047 0.008 0.000 0.039 6800/6800 Raven::Backtrace::Line#in_app
0.003 0.003 0.000 0.000 6800/7000 Raven::Configuration#[]
0.000 0.000 0.000 0.000 6800/14603 Class#new
--------------------------------------------------------------------------------
0.300 0.000 0.000 0.300 100/100 Raven::Client#send_event
27.23% 0.04% 0.300 0.000 0.000 0.300 100 Raven::Client#encode
0.172 0.000 0.000 0.172 100/100 Raven::Client#process_event
0.101 0.000 0.000 0.101 100/100 <Module::Raven::RubyJson>#encode
0.026 0.026 0.000 0.000 100/100 <Class::Zlib::Deflate>#deflate
0.001 0.000 0.000 0.000 100/100 <Module::Base64>#strict_encode64
0.000 0.000 0.000 0.000 100/100 Hash#to_hash
--------------------------------------------------------------------------------
0.273 0.013 0.000 0.260 13800/13800 Raven::StacktraceInterface::Frame#filename
24.78% 1.18% 0.273 0.013 0.000 0.260 13800 Raven::StacktraceInterface::Frame#longest_load_path
0.231 0.087 0.000 0.144 13800/13805 Array#select
0.024 0.017 0.000 0.007 13800/13800 Enumerable#sort_by
0.005 0.005 0.000 0.000 13800/13800 Array#last
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 5/13805 Raven::Processor::SanitizeData#special_characters?
0.231 0.087 0.000 0.144 13800/13805 Raven::StacktraceInterface::Frame#longest_load_path
20.97% 7.93% 0.231 0.087 0.000 0.144 13805 Array#select
0.099 0.099 0.000 0.000 193200/215602 String#to_s
0.045 0.045 0.000 0.000 193200/220800 String#start_with?
0.000 0.000 0.000 0.000 55/55 String#include?
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 100/21200 Enumerable#each_entry
0.000 0.000 0.000 0.000 100/21200 Enumerable#each_with_index
0.001 0.001 0.000 0.000 200/21200 Enumerable#find
0.003 0.003 0.000 0.000 6800/21200 Enumerable#reduce
0.007 0.007 0.000 0.000 13800/21200 Enumerable#sort_by
0.171 0.001 0.000 0.170 200/21200 Raven::Client#process_event
16.54% 1.06% 0.182 0.012 0.000 0.170 21200 Array#each
0.121 0.000 0.000 0.120 100/700 Raven::Processor::SanitizeData#process
0.037 0.000 0.000 0.037 100/3100 Raven::Processor::UTF8Conversion#process
0.013 0.000 0.000 0.012 100/3100 Raven::Processor::RemoveCircularReferences#process
0.000 0.000 0.000 0.000 400/27700 Hash#delete
0.000 0.000 0.000 0.000 100/200 Set#add
0.000 0.000 0.000 0.000 100/100 Raven::Processor::Cookies#process
0.000 0.000 0.000 0.000 100/100 Raven::Processor::PostData#process
--------------------------------------------------------------------------------
0.172 0.000 0.000 0.172 100/100 Raven::Client#encode
15.62% 0.04% 0.172 0.000 0.000 0.172 100 Raven::Client#process_event
0.171 0.001 0.000 0.170 200/21200 Array#each
0.001 0.000 0.000 0.000 100/100 Enumerable#each_with_index
0.000 0.000 0.000 0.000 100/27700 Hash#delete
--------------------------------------------------------------------------------
0.001 0.001 0.000 0.000 100/1500 Enumerable#map
0.132 0.002 0.000 0.130 1400/1500 Enumerable#each_with_object
12.08% 0.28% 0.133 0.003 0.000 0.130 1500 *Hash#each
0.119 0.004 0.000 0.116 2800/3000 Raven::Processor::SanitizeData#sanitize
0.000 0.000 0.000 0.000 2800/3100 Raven::Processor::RemoveCircularReferences#process
--------------------------------------------------------------------------------
0.012 0.000 0.000 0.012 700/1400 Raven::Processor::RemoveCircularReferences#process
0.120 0.000 0.000 0.120 700/1400 Raven::Processor::SanitizeData#process
12.03% 0.02% 0.133 0.000 0.000 0.132 1400 *Enumerable#each_with_object
0.132 0.002 0.000 0.130 1400/1500 Hash#each
--------------------------------------------------------------------------------
0.001 0.000 0.000 0.001 100/7300 Raven::ExceptionInterface#to_hash
0.001 0.000 0.000 0.001 200/7300 Raven::StacktraceInterface#to_hash
0.003 0.000 0.000 0.003 200/7300 Raven::SingleExceptionInterface#to_hash
0.125 0.006 0.000 0.119 6800/7300 Raven::StacktraceInterface::Frame#to_hash
11.77% 0.60% 0.130 0.007 0.000 0.123 7300 Raven::Interface#to_hash
0.014 0.014 0.000 0.000 7300/7300 <Class::Hash>#[]
0.006 0.006 0.000 0.000 7300/7300 Kernel#instance_variables
0.000 0.000 0.000 0.000 7300/8401 Array#map
--------------------------------------------------------------------------------
0.026 0.026 0.000 0.000 6800/12400 String#match
0.036 0.036 0.000 0.000 4000/12400 Raven::Processor::SanitizeData#matches_regexes?
0.059 0.059 0.000 0.000 1600/12400 Raven::Processor::SanitizeData#sanitize
10.99% 10.99% 0.121 0.121 0.000 0.000 12400 Regexp#match
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 600/700 Raven::Processor::SanitizeData#sanitize
0.121 0.000 0.000 0.120 100/700 Array#each
10.94% 0.01% 0.121 0.000 0.000 0.120 700 *Raven::Processor::SanitizeData#process
0.120 0.000 0.000 0.120 700/1400 Enumerable#each_with_object
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 200/3000 Array#map
0.119 0.004 0.000 0.116 2800/3000 Hash#each
10.82% 0.32% 0.119 0.004 0.000 0.116 3000 *Raven::Processor::SanitizeData#sanitize
0.059 0.059 0.000 0.000 1600/12400 Regexp#match
0.043 0.000 0.000 0.043 100/8401 Array#map
0.043 0.003 0.000 0.040 2000/2000 Raven::Processor::SanitizeData#matches_regexes?
0.003 0.003 0.000 0.000 9800/26200 Kernel#is_a?
0.002 0.002 0.000 0.000 2300/48600 Symbol#to_s
0.001 0.001 0.000 0.000 1600/215602 String#to_s
0.001 0.001 0.000 0.000 1600/3600 Raven::Processor::SanitizeData#fields_re
0.000 0.000 0.000 0.000 600/700 Raven::Processor::SanitizeData#process
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 1/215602 <Class::Raven::Backtrace>#in_app_pattern
0.000 0.000 0.000 0.000 1/215602 <Module::SecureRandom>#gen_random
0.001 0.001 0.000 0.000 1600/215602 Raven::Processor::SanitizeData#sanitize
0.002 0.002 0.000 0.000 1600/215602 Raven::Processor::SanitizeData#matches_regexes?
0.004 0.004 0.000 0.000 6800/215602 Raven::StacktraceInterface::Frame#project_root
0.007 0.007 0.000 0.000 12400/215602 Raven::StacktraceInterface::Frame#filename
0.099 0.099 0.000 0.000 193200/215602 Array#select
10.24% 10.24% 0.113 0.113 0.000 0.000 215602 String#to_s
--------------------------------------------------------------------------------
0.101 0.000 0.000 0.101 100/100 Raven::Client#encode
9.20% 0.01% 0.101 0.000 0.000 0.101 100 <Module::Raven::RubyJson>#encode
0.101 0.000 0.000 0.101 100/100 <Module::JSON>#generate
--------------------------------------------------------------------------------
0.101 0.000 0.000 0.101 100/100 <Module::Raven::RubyJson>#encode
9.18% 0.02% 0.101 0.000 0.000 0.101 100 <Module::JSON>#generate
0.100 0.035 0.000 0.066 100/100 JSON::Ext::Generator::State#generate
0.000 0.000 0.000 0.000 100/300 Kernel#dup
0.000 0.000 0.000 0.000 100/300 Module#===
--------------------------------------------------------------------------------
0.100 0.035 0.000 0.066 100/100 <Module::JSON>#generate
9.11% 3.14% 0.100 0.035 0.000 0.066 100 JSON::Ext::Generator::State#generate
0.033 0.033 0.000 0.000 72600/75800 String#encode
0.028 0.028 0.000 0.000 43800/48600 Symbol#to_s
0.004 0.004 0.000 0.000 7700/7700 Hash#keys
--------------------------------------------------------------------------------
0.085 0.001 0.000 0.085 200/200 <Class::Raven::Event>#stacktrace_interface_from
7.73% 0.05% 0.085 0.001 0.000 0.085 200 <Class::Raven::Backtrace>#parse
0.000 0.000 0.000 0.000 200/200 Array#compact
0.000 0.000 0.000 0.000 200/200 Array#to_a
0.000 0.000 0.000 0.000 200/26200 Kernel#is_a?
0.000 0.000 0.000 0.000 200/14603 Class#new
0.000 0.000 0.000 0.000 400/8401 Array#map
--------------------------------------------------------------------------------
0.075 0.020 0.000 0.055 27600/27600 Raven::StacktraceInterface::Frame#filename
6.84% 1.82% 0.075 0.020 0.000 0.055 27600 Raven::StacktraceInterface::Frame#under_project_root?
0.048 0.032 0.000 0.016 55200/67600 Raven::StacktraceInterface::Frame#project_root
0.007 0.007 0.000 0.000 27600/220800 String#start_with?
--------------------------------------------------------------------------------
0.071 0.011 0.000 0.061 6800/6800 Array#map
6.46% 0.97% 0.071 0.011 0.000 0.061 6800 <Class::Raven::Backtrace::Line>#parse
0.030 0.003 0.000 0.026 6800/6800 String#match
0.011 0.011 0.000 0.000 6800/6800 MatchData#to_a
0.000 0.000 0.000 0.000 6800/14603 Class#new
--------------------------------------------------------------------------------
0.006 0.006 0.000 0.000 12400/67600 Raven::StacktraceInterface::Frame#filename
0.048 0.032 0.000 0.016 55200/67600 Raven::StacktraceInterface::Frame#under_project_root?
4.95% 3.47% 0.055 0.038 0.000 0.016 67600 Raven::StacktraceInterface::Frame#project_root
0.012 0.012 0.000 0.000 13600/14103 <Module::Raven>#configuration
0.004 0.004 0.000 0.000 6800/215602 String#to_s
--------------------------------------------------------------------------------
0.020 0.020 0.000 0.000 3200/75800 Raven::Processor::UTF8Conversion#clean_invalid_utf8_bytes
0.033 0.033 0.000 0.000 72600/75800 JSON::Ext::Generator::State#generate
4.80% 4.80% 0.053 0.053 0.000 0.000 75800 String#encode
--------------------------------------------------------------------------------
0.007 0.007 0.000 0.000 27600/220800 Raven::StacktraceInterface::Frame#under_project_root?
0.045 0.045 0.000 0.000 193200/220800 Array#select
4.74% 4.74% 0.052 0.052 0.000 0.000 220800 String#start_with?
--------------------------------------------------------------------------------
0.047 0.008 0.000 0.039 6800/6800 Array#reverse_each
4.26% 0.69% 0.047 0.008 0.000 0.039 6800 Raven::Backtrace::Line#in_app
0.036 0.036 0.000 0.000 6800/6800 String#=~
0.004 0.004 0.000 0.000 6800/6800 <Class::Raven::Backtrace>#in_app_pattern
--------------------------------------------------------------------------------
0.043 0.003 0.000 0.040 2000/2000 Raven::Processor::SanitizeData#sanitize
3.93% 0.25% 0.043 0.003 0.000 0.040 2000 Raven::Processor::SanitizeData#matches_regexes?
0.036 0.036 0.000 0.000 4000/12400 Regexp#match
0.002 0.002 0.000 0.000 1600/215602 String#to_s
0.001 0.001 0.000 0.000 2000/48600 Symbol#to_s
0.001 0.001 0.000 0.000 2000/3600 Raven::Processor::SanitizeData#fields_re
0.000 0.000 0.000 0.000 400/703 Fixnum#to_s
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 100/1200 <Class::Raven::Event>#from_exception
0.001 0.001 0.000 0.001 400/1200 Raven::Event#initialize
0.037 0.001 0.000 0.036 700/1200 Raven::Processor::UTF8Conversion#process
3.48% 0.17% 0.038 0.002 0.000 0.037 1200 *Hash#merge
0.003 0.001 0.000 0.002 1200/1500 Kernel#initialize_dup
0.000 0.000 0.000 0.000 2800/3100 Raven::Processor::UTF8Conversion#process
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 2800/3100 Hash#merge
0.000 0.000 0.000 0.000 200/3100 Array#map
0.037 0.000 0.000 0.037 100/3100 Array#each
3.35% 0.02% 0.037 0.000 0.000 0.037 3100 *Raven::Processor::UTF8Conversion#process
0.037 0.001 0.000 0.036 700/1200 Hash#merge
0.025 0.004 0.000 0.021 2300/2300 Raven::Processor::UTF8Conversion#clean_invalid_utf8_bytes
0.011 0.000 0.000 0.011 100/8401 Array#map
0.002 0.002 0.000 0.000 8400/26200 Kernel#is_a?
--------------------------------------------------------------------------------
0.036 0.036 0.000 0.000 6800/6800 Raven::Backtrace::Line#in_app
3.23% 3.23% 0.036 0.036 0.000 0.000 6800 String#=~
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 200/48600 <Module::Raven>#find_interface
0.000 0.000 0.000 0.000 300/48600 Hash#each_pair
0.001 0.001 0.000 0.000 2000/48600 Raven::Processor::SanitizeData#matches_regexes?
0.002 0.002 0.000 0.000 2300/48600 Raven::Processor::SanitizeData#sanitize
0.028 0.028 0.000 0.000 43800/48600 JSON::Ext::Generator::State#generate
2.95% 2.95% 0.032 0.032 0.000 0.000 48600 Symbol#to_s
--------------------------------------------------------------------------------
0.030 0.003 0.000 0.026 6800/6800 <Class::Raven::Backtrace::Line>#parse
2.71% 0.32% 0.030 0.003 0.000 0.026 6800 String#match
0.026 0.026 0.000 0.000 6800/12400 Regexp#match
--------------------------------------------------------------------------------
0.026 0.026 0.000 0.000 100/100 Raven::Client#encode
2.32% 2.32% 0.026 0.026 0.000 0.000 100 <Class::Zlib::Deflate>#deflate
--------------------------------------------------------------------------------
0.025 0.004 0.000 0.021 2300/2300 Raven::Processor::UTF8Conversion#process
2.29% 0.37% 0.025 0.004 0.000 0.021 2300 Raven::Processor::UTF8Conversion#clean_invalid_utf8_bytes
0.020 0.020 0.000 0.000 3200/75800 String#encode
0.001 0.001 0.000 0.000 4600/5001 Kernel#respond_to?
0.000 0.000 0.000 0.000 1600/26200 Kernel#is_a?
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 100/55600 Hash#each_pair
0.024 0.024 0.000 0.000 55500/55600 Array#map
2.21% 2.21% 0.024 0.024 0.000 0.000 55600 String#to_sym
--------------------------------------------------------------------------------
0.024 0.017 0.000 0.007 13800/13800 Raven::StacktraceInterface::Frame#longest_load_path
2.17% 1.54% 0.024 0.017 0.000 0.007 13800 Enumerable#sort_by
0.007 0.007 0.000 0.000 13800/21200 Array#each
--------------------------------------------------------------------------------
0.019 0.019 0.000 0.000 55500/55500 Array#map
1.73% 1.73% 0.019 0.019 0.000 0.000 55500 Symbol#[]
--------------------------------------------------------------------------------
0.018 0.018 0.000 0.000 55500/55500 Array#map
1.65% 1.65% 0.018 0.018 0.000 0.000 55500 Kernel#instance_variable_get
--------------------------------------------------------------------------------
0.018 0.010 0.000 0.008 6800/6800 Class#new
1.59% 0.87% 0.018 0.010 0.000 0.008 6800 Raven::StacktraceInterface::Frame#initialize
0.000 0.000 0.000 0.000 6800/7300 Raven::Interface#initialize
--------------------------------------------------------------------------------
0.014 0.014 0.000 0.000 7300/7300 Raven::Interface#to_hash
1.30% 1.30% 0.014 0.014 0.000 0.000 7300 <Class::Hash>#[]
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 3/14103 <Class::Raven::Backtrace>#in_app_pattern
0.000 0.000 0.000 0.000 100/14103 <Module::Raven>#should_capture?
0.000 0.000 0.000 0.000 100/14103 <Class::Raven::Event>#from_exception
0.000 0.000 0.000 0.000 100/14103 <Module::Raven>#capture_type
0.000 0.000 0.000 0.000 100/14103 Raven::Event#initialize
0.000 0.000 0.000 0.000 100/14103 Raven::Logger#debug
0.012 0.012 0.000 0.000 13600/14103 Raven::StacktraceInterface::Frame#project_root
1.16% 1.16% 0.013 0.013 0.000 0.000 14103 <Module::Raven>#configuration
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 2800/3100 Hash#each
0.000 0.000 0.000 0.000 200/3100 Array#map
0.013 0.000 0.000 0.012 100/3100 Array#each
1.14% 0.03% 0.013 0.000 0.000 0.012 3100 *Raven::Processor::RemoveCircularReferences#process
0.012 0.000 0.000 0.012 700/1400 Enumerable#each_with_object
0.004 0.000 0.000 0.004 100/8401 Array#map
0.002 0.002 0.000 0.000 5500/26200 Kernel#is_a?
0.001 0.001 0.000 0.000 6200/6200 BasicObject#__id__
0.001 0.001 0.000 0.000 3100/3211 Array#include?
--------------------------------------------------------------------------------
0.012 0.009 0.000 0.003 6800/6800 Class#new
1.13% 0.84% 0.012 0.009 0.000 0.003 6800 Raven::Backtrace::Line#initialize
0.003 0.003 0.000 0.000 6800/6800 String#to_i
--------------------------------------------------------------------------------
0.000 0.000 0.000 0.000 100/27700 Raven::Client#process_event
0.000 0.000 0.000 0.000 400/27700 Array#each
0.011 0.011 0.000 0.000 27200/27700 Raven::StacktraceInterface::Frame#to_hash
1.05% 1.05% 0.012 0.012 0.000 0.000 27700 Hash#delete
* indicates recursively called methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment