Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created August 30, 2010 19:58
Show Gist options
  • Save metaskills/557953 to your computer and use it in GitHub Desktop.
Save metaskills/557953 to your computer and use it in GitHub Desktop.
Thread ID: 2148403500
Total: 2.844094
%self total self wait child calls name
26.76 1.34 0.76 0.00 0.58 2000 Array#each (ruby_runtime:0}
21.82 0.62 0.62 0.00 0.00 1000 ODBC::Statement#fetch_all (ruby_runtime:0}
7.28 0.22 0.21 0.00 0.02 1000 ODBC::Statement#columns (ruby_runtime:0}
4.24 0.12 0.12 0.00 0.00 113000 Array#[] (ruby_runtime:0}
4.09 0.12 0.12 0.00 0.00 1000 ODBC::Database#run (ruby_runtime:0}
2.71 0.08 0.08 0.00 0.00 58000 Kernel#respond_to? (ruby_runtime:0}
2.69 0.08 0.08 0.00 0.00 56000 Hash#[]= (ruby_runtime:0}
2.24 0.06 0.06 0.00 0.00 61000 Fixnum#< (ruby_runtime:0}
2.24 0.06 0.06 0.00 0.00 60000 Array#size (ruby_runtime:0}
2.15 0.06 0.06 0.00 0.00 57000 Fixnum#+ (ruby_runtime:0}
1.65 0.10 0.05 0.00 0.05 4000 ActiveRecord::ConnectionAdapters::SQLServerCoreExtensions::ODBC::TimeStamp#to_sqlserver_string (./lib/active_record/connection_adapters/sqlserver_adapter/core_ext/odbc.rb:8}
1.42 2.44 0.04 0.00 2.40 1000 <Module::Benchmark>#realtime (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/benchmark.rb:306}
0.98 0.03 0.03 0.00 0.00 17000 String#=~ (ruby_runtime:0}
0.91 0.17 0.03 0.00 0.15 1000 Logger#add (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/logger.rb:312}
0.90 0.06 0.03 0.00 0.03 1000 ActiveRecord::ConnectionAdapters::AbstractAdapter#format_log_entry (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:230}
0.89 0.06 0.03 0.00 0.03 2000 String#% (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../../activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/core_ext/string/interpolate.rb:79}
0.88 0.02 0.02 0.00 0.00 1000 Array#map (ruby_runtime:0}
0.80 2.18 0.02 0.00 2.15 1000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#handle_to_names_and_values_odbc (./lib/active_record/connection_adapters/sqlserver_adapter.rb:980}
0.65 0.04 0.02 0.00 0.02 1000 MonitorMixin#mon_exit (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:223}
0.65 0.11 0.02 0.00 0.09 1000 MonitorMixin#synchronize (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:239}
0.65 0.02 0.02 0.00 0.00 1000 IO#write (ruby_runtime:0}
0.59 0.02 0.02 0.00 0.00 14000 <Class::Object>#allocate (ruby_runtime:0}
0.55 2.75 0.02 0.00 2.74 1000 ActiveRecord::ConnectionAdapters::AbstractAdapter#log (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:203}
0.54 0.02 0.02 0.00 0.00 4000 ODBC::TimeStamp#to_s (ruby_runtime:0}
0.54 0.14 0.02 0.00 0.13 1000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#with_auto_reconnect (./lib/active_record/connection_adapters/sqlserver_adapter.rb:868}
0.52 0.01 0.01 0.00 0.00 1000 ODBC::Statement#drop (ruby_runtime:0}
0.50 0.29 0.01 0.00 0.28 1000 ActiveRecord::ConnectionAdapters::AbstractAdapter#log_info (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:195}
0.47 0.01 0.01 0.00 0.00 4000 Kernel#sprintf (ruby_runtime:0}
0.47 0.04 0.01 0.00 0.03 1000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#finish_statement_handle (./lib/active_record/connection_adapters/sqlserver_adapter.rb:915}
0.40 0.02 0.01 0.00 0.01 1000 MonitorMixin#mon_enter (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:212}
0.39 0.01 0.01 0.00 0.00 2000 String#interpolate_without_ruby_19_syntax (ruby_runtime:0}
0.38 0.02 0.01 0.00 0.01 3000 <Class::Time>#now (ruby_runtime:0}
0.38 2.83 0.01 0.00 2.82 1000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#raw_select (./test/cases/sqlserver_helper.rb:96}
0.36 0.01 0.01 0.00 0.00 3000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#connection_mode (./lib/active_record/connection_adapters/sqlserver_adapter.rb:855}
0.35 0.01 0.01 0.00 0.00 4000 String#split (ruby_runtime:0}
0.33 0.01 0.01 0.00 0.00 1000 Logger::LogDevice#check_shift_log (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/logger.rb:539}
0.31 2.19 0.01 0.00 2.18 1000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#handle_to_names_and_values (./lib/active_record/connection_adapters/sqlserver_adapter.rb:971}
0.28 2.84 0.01 0.00 2.84 3000 Kernel#send (ruby_runtime:0}
0.25 0.01 0.01 0.00 0.00 4000 String#to_i (ruby_runtime:0}
0.25 0.01 0.01 0.00 0.00 2000 String#gsub (ruby_runtime:0}
0.22 0.01 0.01 0.00 0.00 1000 Logger::SimpleFormatter#call (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../../activesupport/lib/active_support/core_ext/logger.rb:115}
0.21 0.01 0.01 0.00 0.00 5000 Hash#[] (ruby_runtime:0}
0.21 0.01 0.01 0.00 0.00 1000 MonitorMixin#mon_check_owner (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:276}
0.21 0.01 0.01 0.00 0.00 5000 Array#<< (ruby_runtime:0}
0.20 0.01 0.01 0.00 0.00 1000 MonitorMixin#mon_release (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:292}
0.20 0.01 0.01 0.00 0.00 1000 ActiveRecord::ConnectionAdapters::SQLServerCoreExtensions::ODBC::Statement#finished? (./lib/active_record/connection_adapters/sqlserver_adapter/core_ext/odbc.rb:15}
0.19 0.02 0.01 0.00 0.01 1000 Logger#format_message (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../../activesupport/lib/active_support/core_ext/logger.rb:128}
0.19 0.01 0.01 0.00 0.00 1000 MonitorMixin#mon_acquire (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:282}
0.18 2.44 0.01 0.00 2.44 1000 <Module::Benchmark>#ms (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../../activesupport/lib/active_support/core_ext/benchmark.rb:16}
0.17 2.84 0.00 0.00 2.83 1000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#select (./lib/active_record/connection_adapters/sqlserver_adapter.rb:928}
0.16 0.00 0.00 0.00 0.00 4000 <Class::Thread>#critical= (ruby_runtime:0}
0.16 0.00 0.00 0.00 0.00 3000 <Class::Time>#allocate (ruby_runtime:0}
0.16 2.84 0.00 0.00 2.84 1 Integer#times (ruby_runtime:0}
0.16 0.00 0.00 0.00 0.00 4000 Fixnum#/ (ruby_runtime:0}
0.16 0.18 0.00 0.00 0.17 1000 Logger#debug (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/logger.rb:347}
0.16 0.00 0.00 0.00 0.00 4000 Symbol#=== (ruby_runtime:0}
0.15 0.01 0.00 0.00 0.00 1000 Logger#debug? (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/logger.rb:217}
0.15 0.00 0.00 0.00 0.00 3000 Time#initialize (ruby_runtime:0}
0.14 2.76 0.00 0.00 2.75 1000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#raw_select_without_query_record (./lib/active_record/connection_adapters/sqlserver_adapter.rb:951}
0.14 0.12 0.00 0.00 0.11 1000 Logger::LogDevice#write (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/logger.rb:495}
0.14 0.14 0.00 0.00 0.14 1000 ActiveRecord::ConnectionAdapters::SQLServerAdapter#raw_connection_run (./lib/active_record/connection_adapters/sqlserver_adapter.rb:895}
0.13 0.00 0.00 0.00 0.00 1000 Logger#format_severity (/Users/kencollins/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/logger.rb:426}
0.12 0.00 0.00 0.00 0.00 3000 Kernel#block_given? (ruby_runtime:0}
0.11 0.00 0.00 0.00 0.00 2000 Kernel#kind_of? (ruby_runtime:0}
0.10 0.06 0.00 0.00 0.06 1000 Enumerable#any? (ruby_runtime:0}
0.10 0.00 0.00 0.00 0.00 1000 Logger#formatter (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../../activesupport/lib/active_support/core_ext/logger.rb:70}
0.09 0.00 0.00 0.00 0.00 2000 Module#=== (ruby_runtime:0}
0.09 0.00 0.00 0.00 0.00 1000 String#squeeze (ruby_runtime:0}
0.09 0.00 0.00 0.00 0.00 1000 <Class::ActiveRecord::Base>#colorize_logging (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../../activesupport/lib/active_support/core_ext/class/attribute_accessors.rb:19}
0.09 0.00 0.00 0.00 0.00 2000 Time#to_f (ruby_runtime:0}
0.08 0.00 0.00 0.00 0.00 2000 Kernel#== (ruby_runtime:0}
0.08 0.00 0.00 0.00 0.00 2000 Array#shift (ruby_runtime:0}
0.08 0.00 0.00 0.00 0.00 2000 <Class::Thread>#current (ruby_runtime:0}
0.08 0.00 0.00 0.00 0.00 1000 ActiveRecord::ConnectionAdapters::AbstractAdapter#raw_connection (/Users/kencollins/Repositories/rails/activerecord/test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:161}
0.07 0.00 0.00 0.00 0.00 1000 String#<< (ruby_runtime:0}
0.06 0.00 0.00 0.00 0.00 1000 ODBC::Database#connected? (ruby_runtime:0}
0.05 0.00 0.00 0.00 0.00 1000 <Class::Thread>#pass (ruby_runtime:0}
0.05 0.00 0.00 0.00 0.00 1000 Fixnum#* (ruby_runtime:0}
0.05 0.00 0.00 0.00 0.00 1000 Kernel#nil? (ruby_runtime:0}
0.04 0.00 0.00 0.00 0.00 1000 Float#- (ruby_runtime:0}
0.04 0.00 0.00 0.00 0.00 1000 Kernel#is_a? (ruby_runtime:0}
0.04 0.00 0.00 0.00 0.00 1000 Fixnum#> (ruby_runtime:0}
0.04 0.00 0.00 0.00 0.00 1000 Fixnum#<= (ruby_runtime:0}
0.04 0.00 0.00 0.00 0.00 1000 Float#+ (ruby_runtime:0}
0.04 0.00 0.00 0.00 0.00 1000 Fixnum#== (ruby_runtime:0}
0.04 0.00 0.00 0.00 0.00 1000 Fixnum#- (ruby_runtime:0}
0.04 0.00 0.00 0.00 0.00 1000 NilClass#nil? (ruby_runtime:0}
0.00 2.84 0.00 0.00 2.84 1 ActiveRecord::TestCase#ruby_profile (./test/profile/helper.rb:17}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment