All pastes #80482 Raw Edit

Stuff

public text v1 · immutable
·published 2006-07-06 13:08 UTC
rendered paste body
[admin@sj2800 openwindow]$ action_profiler --method=POST --times=10 ViewerController#toggle_channel_select ":channel_id =>1, :log => 1", ":patient_id => 1"
Warmup...
Profiling...
  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
 22.59     5.71      5.71    15135     0.38     1.12  ActiveRecord::Callbacks::ClassMethods.instantiate
 22.47    11.39      5.68    15135     0.38     0.65  ActiveRecord::Base#instantiate_without_callbacks
  6.45    13.02      1.63    18585     0.09     0.13  Hash#[]
  6.09    14.56      1.54       50    30.80    41.60  Mysql::Result#each_hash
  5.58    15.97      1.41    30360     0.05     0.05  Kernel.respond_to_without_attributes?
  3.09    16.75      0.78    15145     0.05     0.05  ActiveRecord::Base#inheritance_column
  3.01    17.51      0.76    15385     0.05     0.05  Kernel.instance_variable_set
  2.89    18.24      0.73    16335     0.04     0.04  Hash#default
  2.81    18.95      0.71       50    14.20   351.80  Array#collect!
  2.25    19.52      0.57    15135     0.04     0.04  Class#allocate
  2.14    20.06      0.54    15205     0.04     0.04  Array#<<
  1.34    20.40      0.34       90     3.78     3.78  Mysql#query
  1.11    20.68      0.28      120     2.33   219.50  Benchmark.measure
  0.83    20.89      0.21      140     1.50     3.29  ActiveRecord::ConnectionAdapters::MysqlAdapter#quote
  0.63    21.05      0.16      390     0.41     4.82  Array#each
  0.59    21.20      0.15      140     1.07     3.93  MonitorMixin.synchronize
  0.55    21.34      0.14      140     1.00     1.71  ActiveRecord::ConnectionAdapters::Quoting.quote
  0.55    21.48      0.14       50     2.80     3.80  ActiveRecord::Base#add_conditions!
  0.47    21.60      0.12     1050     0.11     0.13  Hash#[]=
  0.44    21.71      0.11      140     0.79     2.00  MonitorMixin.mon_exit
  0.44    21.82      0.11      140     0.79     6.36  Logger#add
  0.44    21.93      0.11     1190     0.09     0.09  Kernel.class
  0.40    22.03      0.10       80     1.25     1.50  ActiveRecord::Callbacks.callbacks_for
  0.40    22.13      0.10      270     0.37     0.81  ActiveRecord::Base#scoped_methods
  0.40    22.23      0.10       10    10.00    10.00  String#split
  0.40    22.33      0.10      110     0.91   215.09  ActiveRecord::Base#find
  0.36    22.42      0.09      930     0.10     0.10  Module#===
  0.32    22.50      0.08       10     8.00    29.00  ActionController::Benchmarking::ClassMethods.benchmark
  0.32    22.58      0.08      610     0.13     0.13  Float#-
  0.28    22.65      0.07      140     0.50     0.50  Logger#format_severity
  0.28    22.72      0.07       10     7.00    22.00  ActiveRecord::Associations::HasAndBelongsToManyAssociation#construct_sql
  0.28    22.79      0.07      140     0.50     4.43  Logger::LogDevice#write
  0.28    22.86      0.07      240     0.29     0.29  Process.times
  0.24    22.92      0.06       70     0.86     6.71  Enumerable.inject
  0.24    22.98      0.06      410     0.15     0.15  Fixnum#==
  0.24    23.04      0.06      140     0.43     0.43  IO#write
  0.24    23.10      0.06       30     2.00     2.00  Proc#arity
  0.20    23.15      0.05      390     0.13     0.13  Time#initialize
  0.20    23.20      0.05      140     0.36     0.50  MonitorMixin.mon_release
  0.20    23.25      0.05      190     0.26     0.26  ActiveRecord::Base#columns_hash
  0.20    23.30      0.05       40     1.25     2.75  ActiveRecord::Base#method_missing
  0.20    23.35      0.05      170     0.29     0.94  String#gsub
  0.20    23.40      0.05      190     0.26     0.95  ActiveRecord::Base#column_for_attribute
  0.16    23.44      0.04      120     0.33     0.50  Benchmark::Tms#initialize
  0.16    23.48      0.04       80     0.50     2.88  ActiveRecord::Callbacks.callback
  0.12    23.51      0.03       60     0.50     2.33  ActiveRecord::Base#read_attribute
  0.12    23.54      0.03       90     0.33    17.56  ActiveRecord::ConnectionAdapters::AbstractAdapter#log
  0.12    23.57      0.03      140     0.21     0.21  MonitorMixin.mon_enter
  0.12    23.60      0.03       80     0.37     0.37  Hash#merge
  0.12    23.63      0.03      740     0.04     0.04  Kernel.is_a?
  0.12    23.66      0.03      710     0.04     0.04  Thread#[]
  0.12    23.69      0.03       50     0.60     0.60  Mysql::Result#free
  0.12    23.72      0.03      120     0.25     0.33  ActiveSupport::CoreExtensions::Hash::Keys.assert_valid_keys
  0.12    23.75      0.03       80     0.37     0.37  Observable.notify_observers
  0.12    23.78      0.03      315     0.10     0.10  Kernel.kind_of?
  0.12    23.81      0.03       90     0.33     7.89  ActiveRecord::ConnectionAdapters::AbstractAdapter#log_info
  0.12    23.84      0.03       50     0.60     2.40  ActiveRecord::Base#add_limit!
  0.12    23.87      0.03      380     0.08     0.26  ActiveRecord::Base#connection
  0.08    23.89      0.02       30     0.67     5.67  ActiveRecord::Base#sanitize
  0.08    23.91      0.02       50     0.40     0.40  HashWithIndifferentAccess#convert_value
  0.08    23.93      0.02      120     0.17     2.92  Hash#each
  0.08    23.95      0.02       50     0.40     9.60  ActiveRecord::Base#construct_finder_sql
  0.08    23.97      0.02      300     0.07     0.07  ActiveRecord::Base#allow_concurrency
  0.08    23.99      0.02      120     0.17     0.25  Channel#id
  0.08    24.01      0.02       90     0.22     0.33  ActiveRecord::ConnectionAdapters::AbstractAdapter#format_log_entry
  0.08    24.03      0.02      370     0.05     0.05  Symbol#===
  0.08    24.05      0.02       60     0.33     0.67  ActiveRecord::ConnectionAdapters::Column#type_cast
  0.08    24.07      0.02      595     0.03     0.03  Kernel.hash
  0.08    24.09      0.02      230     0.09     0.09  Kernel.instance_variable_get
  0.08    24.11      0.02      350     0.06   143.54  Kernel.send
  0.08    24.13      0.02      100     0.20    10.10  Benchmark.realtime
  0.08    24.15      0.02       10     2.00  2494.00  ActionController::Benchmarking.perform_action_without_rescue
  0.08    24.17      0.02       10     2.00     2.00  Mutex#unlock
  0.08    24.19      0.02       20     1.00     1.50  Array#collect
  0.08    24.21      0.02      450     0.04     0.04  Float#+
  0.08    24.23      0.02       80     0.25     0.50  ActiveRecord::Base#respond_to?
  0.08    24.25      0.02      140     0.14     0.14  Logger::LogDevice#check_shift_log
  0.08    24.27      0.02      310     0.06     0.06  Array#shift
  0.08    24.29      0.02      120     0.17     0.67  ActiveRecord::Base#extract_options_from_args!
  0.08    24.31      0.02      390     0.05     0.18  Time#now
  0.08    24.33      0.02       60     0.33     0.50  ActiveRecord::Base#unserializable_attribute?
  0.08    24.35      0.02       10     2.00     2.00  ActionView::Base::CompiledTemplates._run_rhtml_shared__image_item
  0.08    24.37      0.02      600     0.03     0.03  Thread#critical=
  0.08    24.39      0.02      140     0.14     0.14  Logger#format_message
  0.08    24.41      0.02       10     2.00   128.00  ActiveRecord::Associations::HasManyAssociation#insert_record
  0.08    24.43      0.02       10     2.00    73.00  ActiveRecord::Base#create_without_callbacks
  0.08    24.45      0.02       10     2.00    13.00  ActiveRecord::Base#initialize_without_callbacks
  0.08    24.47      0.02       10     2.00    46.00  ActiveRecord::Base#reload
  0.08    24.49      0.02      240     0.08     0.37  Benchmark.times
  0.04    24.50      0.01       30     0.33     6.67  ActiveRecord::Base#quoted_id
  0.04    24.51      0.01       10     1.00     7.00  ActionController::Routing::RouteSet#generate
  0.04    24.52      0.01       10     1.00   122.00  ActiveRecord::Validations.save_without_transactions
  0.04    24.53      0.01       10     1.00     1.00  ActionController::Base#request_origin
  0.04    24.54      0.01       10     1.00     3.00  ActiveRecord::Base#interpolate_sql
  0.04    24.55      0.01       10     1.00     1.00  ActionController::Flash::FlashHash#initialize
  0.04    24.56      0.01       80     0.13     0.13  ActiveRecord::Base#column_methods_hash
  0.04    24.57      0.01      420     0.02     0.02  String#to_s
  0.04    24.58      0.01       10     1.00     1.00  ActiveRecord::Base#id=
  0.04    24.59      0.01       10     1.00    14.00  ActionView::Base#render
  0.04    24.60      0.01       20     0.50     0.50  ActiveRecord::Base#serialized_attributes
  0.04    24.61      0.01       20     0.50     1.50  ActiveRecord::Associations::AssociationCollection#callbacks_for
  0.04    24.62      0.01      230     0.04     0.04  String#<<
  0.04    24.63      0.01       40     0.25     0.25  ActiveRecord::Associations::AssociationProxy#loaded?
  0.04    24.64      0.01      100     0.10     0.10  Fixnum#<=
  0.04    24.65      0.01      190     0.05     0.05  Class#inheritable_attributes
  0.04    24.66      0.01       20     0.50    11.50  ActiveRecord::Base#clone_attributes
  0.04    24.67      0.01      190     0.05     0.16  Class#read_inheritable_attribute
  0.04    24.68      0.01      140     0.07     0.07  Kernel.sprintf
  0.04    24.69      0.01       10     1.00     1.00  ActiveRecord::Base#ensure_proper_type
  0.04    24.70      0.01       10     1.00     1.00  ActionController::SessionManagement.clear_persistent_model_associations  0.04    24.71      0.01       20     0.50     0.50  ActiveRecord::Associations::AssociationProxy#sanitize_sql
  0.04    24.72      0.01       10     1.00    27.00  ActiveRecord::Callbacks.valid?
  0.04    24.73      0.01       20     0.50   150.50  ActiveRecord::Transactions.transaction
  0.04    24.74      0.01       50     0.20    59.60  ActiveRecord::ConnectionAdapters::MysqlAdapter#select
  0.04    24.75      0.01       10     1.00     9.00  ActionView::Base#compile_template?
  0.04    24.76      0.01       40     0.25     0.25  Patient#table_name
  0.04    24.77      0.01      150     0.07     0.07  Kernel.===
  0.04    24.78      0.01      440     0.02     0.02  Module#name
  0.04    24.79      0.01      315     0.03     0.03  String#==
  0.04    24.80      0.01      160     0.06     0.19  Array#-
  0.04    24.81      0.01      130     0.08     0.23  Array#include?
  0.04    24.82      0.01       40     0.25     0.25  ActiveRecord::Validations.errors
  0.04    24.83      0.01       50     0.20     0.20  String#to_sym
  0.04    24.84      0.01       50     0.20     1.60  ActiveRecord::Base#add_joins!
  0.04    24.85      0.01       10     1.00     3.00  ActiveRecord::Base#quoted_column_names
  0.04    24.86      0.01      350     0.03     0.03  Kernel.object_id
  0.04    24.87      0.01       20     0.50   150.00  ActiveRecord::Transactions::ClassMethods.transaction
  0.04    24.88      0.01      475     0.02     0.02  Kernel.nil?
  0.04    24.89      0.01       80     0.12     0.12  Kernel.clone
  0.04    24.90      0.01      230     0.04     2.48  Class#new
  0.04    24.91      0.01      150     0.07     0.07  Fixnum#<
  0.04    24.92      0.01       10     1.00    11.00  ActiveRecord::Associations::HasManyAssociation#initialize
  0.04    24.93      0.01      270     0.04     0.04  Hash#has_key?
  0.04    24.94      0.01      180     0.06     0.06  Array#flatten
  0.04    24.95      0.01      240     0.04     0.04  Array#empty?
  0.04    24.96      0.01       10     1.00  2517.00  ActionController::Base#process
  0.04    24.97      0.01       90     0.11     2.78  ActiveRecord::Base#quote
  0.04    24.98      0.01      100     0.10     0.10  NilClass#blank?
  0.04    24.99      0.01       10     1.00     2.00  #<ActionController::Routing::RouteSet:0xb7dcf904>.generate_default_path  0.04    25.00      0.01       10     1.00  2478.00  ActionController::Filters::InstanceMethods.perform_action_without_benchmark
  0.04    25.01      0.01      230     0.04     0.04  NilClass#nil?
  0.04    25.02      0.01       10     1.00     2.00  LogEntry#patient_id
  0.04    25.03      0.01      350     0.03     0.03  Kernel.respond_to?
  0.04    25.04      0.01      170     0.06     1.06  ActiveRecord::Base#scope
  0.04    25.05      0.01      240     0.04     0.04  Struct::Tms#stime
  0.04    25.06      0.01       10     1.00     1.00  Hash#inspect
  0.04    25.07      0.01       90     0.11     0.11  Array#pop
  0.04    25.08      0.01      240     0.04     0.04  Struct::Tms#cutime
  0.04    25.09      0.01       10     1.00    11.00  ActionView::Partials.add_counter_to_local_assigns!
  0.04    25.10      0.01       40     0.25     1.50  ActiveRecord::Base#write_attribute
  0.04    25.11      0.01     1360     0.01     0.01  Thread#current
  0.04    25.12      0.01      120     0.08     0.08  ActionController::Base#logger
  0.04    25.13      0.01       10     1.00     1.00  String#size
  0.04    25.14      0.01       20     0.50     0.50  Array#sort
  0.04    25.15      0.01       20     0.50     0.50  Array#to_a
  0.04    25.16      0.01       90     0.11    17.67  ActiveRecord::ConnectionAdapters::MysqlAdapter#execute
  0.04    25.17      0.01       10     1.00     1.00  CGI#escape
  0.04    25.18      0.01       10     1.00     2.00  ActionController::Filters::InstanceMethods.before_action
  0.04    25.19      0.01       10     1.00    30.00  ActiveRecord::Associations::HasAndBelongsToManyAssociation#find
  0.04    25.20      0.01       30     0.33     0.33  ActiveRecord::ConnectionAdapters::MysqlAdapter#quote_string
  0.04    25.21      0.01       30     0.33     0.33  ActiveRecord::Base#query_attribute
  0.04    25.22      0.01       50     0.20     0.20  Array#compact!
  0.04    25.23      0.01       30     0.33     2.00  Proc#call
  0.04    25.24      0.01       10     1.00  1991.00  ActiveRecord::Associations::HasManyAssociation#find_target
  0.04    25.25      0.01      160     0.06     0.06  Fixnum#-
  0.04    25.26      0.01      140     0.07     0.07  MonitorMixin.mon_check_owner
  0.04    25.27      0.01       55     0.18     0.36  ActiveRecord::Base#hash
  0.04    25.28      0.01       10     1.00     8.00  ActionView::Base#supports_local_assigns?
  0.00    25.28      0.00       10     0.00  2191.00  Patient#log_event
  0.00    25.28      0.00       10     0.00  2516.00  ActionController::SessionManagement.process_without_test
  0.00    25.28      0.00       10     0.00     0.00  ActionController::AbstractRequest#protocol
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Validations.validate
  0.00    25.28      0.00       10     0.00     0.00  Kernel.inspect
  0.00    25.28      0.00       30     0.00     0.00  Array#uniq
  0.00    25.28      0.00       20     0.00     0.50  ActiveRecord::Transactions::ClassMethods.lock_mutex
  0.00    25.28      0.00       10     0.00     0.00  ActionController::TestRequest#recycle!
  0.00    25.28      0.00       20     0.00     0.50  ActiveSupport::CoreExtensions::Hash::Keys.symbolize_keys
  0.00    25.28      0.00       25     0.00     0.00  TrueClass#to_s
  0.00    25.28      0.00       10     0.00    54.00  ActionController::Benchmarking.render
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#assign_shortcuts_without_flash
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Flash::InstanceMethods.flash_without_components
  0.00    25.28      0.00       30     0.00     0.00  Module#const_defined?
  0.00    25.28      0.00       30     0.00    13.67  ActiveRecord::Associations::AssociationProxy#method_missing
  0.00    25.28      0.00       30     0.00     0.00  Float#/
  0.00    25.28      0.00       20     0.00     0.00  ActionController::Base#template_root
  0.00    25.28      0.00       10     0.00     1.00  ActiveRecord::Associations.clear_association_cache
  0.00    25.28      0.00       10     0.00    22.00  ActiveRecord::Associations::HasAndBelongsToManyAssociation#initialize
  0.00    25.28      0.00       20     0.00     0.00  Array#==
  0.00    25.28      0.00       10     0.00     0.00  Array#map
  0.00    25.28      0.00       40     0.00     0.00  ActiveRecord::ConnectionAdapters::Column#number?
  0.00    25.28      0.00       20     0.00     0.00  ActionController::Filters::ClassMethods.included_actions
  0.00    25.28      0.00       20     0.00     0.00  Exception#initialize
  0.00    25.28      0.00       20     0.00     0.00  Time#strftime
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#record_timestamps
  0.00    25.28      0.00      290     0.00     0.00  Symbol#to_sym
  0.00    25.28      0.00       20     0.00     1.50  ActionController::AbstractRequest#parameters
  0.00    25.28      0.00       10     0.00     0.00  Enumerable.max
  0.00    25.28      0.00       10     0.00     0.00  Mutex#lock
  0.00    25.28      0.00       10     0.00     9.00  ActionController::Base#add_instance_variables_to_assigns
  0.00    25.28      0.00       20     0.00     0.00  Hash#initialize
  0.00    25.28      0.00       50     0.00   411.60  ActiveRecord::Base#find_by_sql
  0.00    25.28      0.00       20     0.00     0.00  Kernel.dup
  0.00    25.28      0.00       30     0.00     0.00  HashWithIndifferentAccess#default
  0.00    25.28      0.00       20     0.00     0.00  ActionController::Base#controller_class_name
  0.00    25.28      0.00       10     0.00     0.00  String#strip
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#controller_path
  0.00    25.28      0.00       10     0.00     3.00  ActiveRecord::Associations::AssociationProxy#interpolate_sql
  0.00    25.28      0.00       10     0.00     2.00  ActionController::Routing::RouteSet#generate_path
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#render_text
  0.00    25.28      0.00       10     0.00     1.00  ActionView::Base#assign_variables_from_controller
  0.00    25.28      0.00       10     0.00     1.00  ActionView::Partials.add_object_to_local_assigns!
  0.00    25.28      0.00      210     0.00     0.00  Hash#keys
  0.00    25.28      0.00      240     0.00     0.00  Time#to_f
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Errors#initialize
  0.00    25.28      0.00       10     0.00     0.00  Float#<=>
  0.00    25.28      0.00       10     0.00     0.00  ApplicationController#identify_patient
  0.00    25.28      0.00       50     0.00     0.00  ActiveRecord::ConnectionAdapters::MysqlAdapter#add_limit_offset!
  0.00    25.28      0.00        5     0.00     0.00  FalseClass#to_s
  0.00    25.28      0.00       10     0.00     0.00  ActionController::TestSession#close
  0.00    25.28      0.00       20     0.00     5.50  ActiveRecord::Base#quote_bound_value
  0.00    25.28      0.00       10     0.00   125.00  ActiveRecord::Transactions.save
  0.00    25.28      0.00       50     0.00    59.60  ActiveRecord::ConnectionAdapters::MysqlAdapter#select_all
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Errors#clear
  0.00    25.28      0.00       20     0.00     0.00  Array#length
  0.00    25.28      0.00       10     0.00  2494.00  ActionController::Rescue.perform_action
  0.00    25.28      0.00       10     0.00     1.00  ActionController::Base#add_class_variables_to_assigns
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#columns
  0.00    25.28      0.00       30     0.00     0.00  Hash#empty?
  0.00    25.28      0.00       10     0.00    20.00  ActiveRecord::ConnectionAdapters::MysqlAdapter#begin_db_transaction
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Callbacks.before_create
  0.00    25.28      0.00       10     0.00    94.00  ActiveRecord::Callbacks.create_or_update
  0.00    25.28      0.00      250     0.00     0.00  Struct#initialize
  0.00    25.28      0.00       10     0.00     1.00  ActionController::Base#initialize_template_class
  0.00    25.28      0.00       20     0.00     0.00  ActiveRecord::ConnectionAdapters::Column#string_to_time
  0.00    25.28      0.00       10     0.00     0.00  #<Class:0xb7c47778>#value
  0.00    25.28      0.00       20     0.00     0.00  Kernel.instance_variables
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#assign_names
  0.00    25.28      0.00       10     0.00     2.00  ActionController::Routing.treat_hash
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#close_session
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#view_controller_internals
  0.00    25.28      0.00       10     0.00    21.00  ActiveRecord::Validations.valid_without_callbacks
  0.00    25.28      0.00       10     0.00     0.00  String#upcase
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#protected_attributes
  0.00    25.28      0.00        5     0.00    72.00  Patient#deselect_channel
  0.00    25.28      0.00       50     0.00     0.00  Channel#primary_key
  0.00    25.28      0.00       10     0.00     0.00  LogEntry#sequence_name
  0.00    25.28      0.00       20     0.00     0.00  String#initialize_copy
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Callbacks.after_validation
  0.00    25.28      0.00       10     0.00     0.00  Inflector.underscore
  0.00    25.28      0.00        5     0.00     0.00  Channel#co_thumbnail_url
  0.00    25.28      0.00       10     0.00     0.00  ActionController::TestSession#session_id
  0.00    25.28      0.00       10     0.00     0.00  Channel#title
  0.00    25.28      0.00       10     0.00     7.00  ActionController::Routing::RouteSet#extra_keys
  0.00    25.28      0.00       10     0.00    94.00  ActiveRecord::Base#save_without_validation
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Validations.validate_on_create
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Errors#empty?
  0.00    25.28      0.00       10     0.00     9.00  ActionController::TestRequest#assign_parameters
  0.00    25.28      0.00       10     0.00     1.00  ActionController::Routing.expiry_hash
  0.00    25.28      0.00       10     0.00     1.00  ActiveRecord::Associations::AssociationCollection#flatten_deeper
  0.00    25.28      0.00       20     0.00     0.50  ActionController::Filters::InstanceMethods.call_filters
  0.00    25.28      0.00       20     0.00    23.00  ActiveRecord::Base#attributes_with_quotes
  0.00    25.28      0.00       10     0.00     0.00  File#dirname
  0.00    25.28      0.00       80     0.00     0.00  Observable.changed
  0.00    25.28      0.00       20     0.00     0.00  Float#*
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Filters::ClassMethods.excluded_actions
  0.00    25.28      0.00       20     0.00     1.50  ActiveRecord::Transactions::ClassMethods.unlock_mutex
  0.00    25.28      0.00       10     0.00     0.00  Numeric#blank?
  0.00    25.28      0.00       10     0.00     0.00  Mysql#insert_id
  0.00    25.28      0.00       10     0.00     0.00  Array#initialize_copy
  0.00    25.28      0.00       10     0.00     1.00  ActionView::Partials.extract_local_assigns
  0.00    25.28      0.00       10     0.00     0.00  ActiveSupport::CoreExtensions::Hash::Keys.stringify_keys!
  0.00    25.28      0.00       10     0.00     0.00  String#count
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Associations::AssociationProxy#interpolate_sql_options!
  0.00    25.28      0.00      140     0.00     0.00  Fixnum#>
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Filters::InstanceMethods.after_action
  0.00    25.28      0.00       10     0.00     0.00  ActionView::Base#full_template_path
  0.00    25.28      0.00      360     0.00     0.00  Hash#include?
  0.00    25.28      0.00       30     0.00     0.00  Integer#to_i
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Reflection::ClassMethods.reflect_on_all_aggregations
  0.00    25.28      0.00       10     0.00     0.00  Hash#values
  0.00    25.28      0.00       20     0.00     0.00  LogEntry#description
  0.00    25.28      0.00        5     0.00     0.00  Channel#thumbnail_url
  0.00    25.28      0.00       10     0.00    12.00  ActionView::Base#render_file
  0.00    25.28      0.00      160     0.00     0.00  String#[]
  0.00    25.28      0.00       20     0.00     0.50  ActionController::Filters::InstanceMethods.action_exempted?
  0.00    25.28      0.00       10     0.00    12.00  ActionView::Base#render_template
  0.00    25.28      0.00       10     0.00     1.00  ActionController::SessionManagement.process_cleanup_without_components
  0.00    25.28      0.00       10     0.00     1.00  ActionController::SessionManagement::ClassMethods.session_options_for
  0.00    25.28      0.00       30     0.00     0.00  ActionController::AbstractRequest#path_parameters
  0.00    25.28      0.00       10     0.00    63.00  Patient#channels_selected
  0.00    25.28      0.00       10     0.00     2.00  ActiveRecord::Base#remove_attributes_protected_from_mass_assignment
  0.00    25.28      0.00       50     0.00     0.20  HashWithIndifferentAccess#convert_key
  0.00    25.28      0.00       10     0.00    10.00  ActionView::Partials.partial_counter_name
  0.00    25.28      0.00       10     0.00     0.00  ActionView::Base#initialize
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#initialize_current_url
  0.00    25.28      0.00       10     0.00     3.00  ActiveSupport::CoreExtensions::Hash::IndifferentAccess.with_indifferent_access
  0.00    25.28      0.00       90     0.00     0.00  String#inspect
  0.00    25.28      0.00       10     0.00    13.00  ActiveRecord::Base#replace_bind_variables
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#extract_callstack_for_multiparameter_attributes
  0.00    25.28      0.00       50     0.00     0.00  Hash#regular_writer
  0.00    25.28      0.00       20     0.00    10.00  ActiveRecord::Validations.run_validations
  0.00    25.28      0.00       20     0.00     0.00  String#downcase
  0.00    25.28      0.00       60     0.00     0.00  ActiveRecord::Base#descends_from_active_record?
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#raise_if_bind_arity_mismatch
  0.00    25.28      0.00       10     0.00    21.00  ActiveRecord::ConnectionAdapters::MysqlAdapter#insert
  0.00    25.28      0.00       10     0.00     0.00  Hash#==
  0.00    25.28      0.00       20     0.00     0.00  ActionController::Components::InstanceMethods.flash
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Callbacks.before_save
  0.00    25.28      0.00       10     0.00     0.00  Time#<=>
  0.00    25.28      0.00       10     0.00  2512.00  ActionController::Filters::InstanceMethods.process_without_session_management_support
  0.00    25.28      0.00       10     0.00    89.00  ActiveRecord::Base#create_or_update_without_callbacks
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#process_cleanup_without_flash
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#ignore_missing_templates
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Layout.candidate_for_layout?
  0.00    25.28      0.00       50     0.00     0.00  Channel#table_name
  0.00    25.28      0.00       20     0.00     1.50  ActiveRecord::Errors#add_on_blank
  0.00    25.28      0.00      120     0.00     0.00  Hash#initialize_copy
  0.00    25.28      0.00       60     0.00     0.00  Thread#[]=
  0.00    25.28      0.00       10     0.00     0.00  LogEntry#created_at
  0.00    25.28      0.00       10     0.00     0.00  TestProcessor#build_request_uri
  0.00    25.28      0.00       10     0.00     8.00  ActiveRecord::Base#attributes=
  0.00    25.28      0.00       10     0.00     0.00  Fixnum#zero?
  0.00    25.28      0.00       10     0.00     5.00  Enumerable.find_all
  0.00    25.28      0.00       10     0.00     0.00  File#mtime
  0.00    25.28      0.00       50     0.00     0.00  Patient#primary_key
  0.00    25.28      0.00       40     0.00     0.00  Array#compact
  0.00    25.28      0.00       90     0.00     0.00  Module#==
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#assign_multiparameter_attributes
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Flash::FlashHash#sweep
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Associations::AssociationCollection#raise_on_type_mismatch
  0.00    25.28      0.00       10     0.00     0.00  Float#coerce
  0.00    25.28      0.00       10     0.00     0.00  String#eql?
  0.00    25.28      0.00      100     0.00     0.00  String#%
  0.00    25.28      0.00       20     0.00     0.00  Exception#set_backtrace
  0.00    25.28      0.00       30     0.00     0.00  ActiveRecord::Base#connected?
  0.00    25.28      0.00       10     0.00  2528.00  TestProcessor#process
  0.00    25.28      0.00        5     0.00    72.00  Patient#select_channel
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Callbacks.before_validation_on_create
  0.00    25.28      0.00       10     0.00     9.00  ActiveRecord::Associations::HasManyAssociation#construct_sql
  0.00    25.28      0.00       20     0.00     0.00  Kernel.proxy_respond_to?
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Filters::ClassMethods.after_filters
  0.00    25.28      0.00       10     0.00  2475.00  ActionController::Base#perform_action_without_filters
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#template_class
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#attributes_protected_by_default
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#view_class
  0.00    25.28      0.00       10     0.00     0.00  ActionController::TestSession#initialize
  0.00    25.28      0.00       10     0.00    25.00  Patient#channel_select_toggle
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Aggregations.clear_aggregation_cache
  0.00    25.28      0.00       10     0.00     3.00  Hash#each_pair
  0.00    25.28      0.00      100     0.00     0.50  ActiveRecord::Base#scoped?
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::ConnectionAdapters::AbstractAdapter#prefetch_primary_key?  0.00    25.28      0.00      140     0.00     0.00  Array#last
  0.00    25.28      0.00       40     0.00     0.00  String#+
  0.00    25.28      0.00       10     0.00     0.00  #<Class:0xb7c47778>#new
  0.00    25.28      0.00       90     0.00     0.00  Class#superclass
  0.00    25.28      0.00       20     0.00     0.00  ActiveRecord::Associations::AssociationProxy#initialize
  0.00    25.28      0.00       10     0.00     0.00  ActionController::AbstractRequest#ssl?
  0.00    25.28      0.00      280     0.00     0.00  Symbol#to_s
  0.00    25.28      0.00       10     0.00     0.00  String#blank?
  0.00    25.28      0.00       10     0.00     1.00  ActionView::Base#evaluate_assigns
  0.00    25.28      0.00       40     0.00     5.75  Logger#info
  0.00    25.28      0.00       20     0.00     1.50  ActiveRecord::Associations::AssociationCollection#callback
  0.00    25.28      0.00       50     0.00     0.00  LogEntry#table_name
  0.00    25.28      0.00       60     0.00     2.50  ActiveRecord::Base#clone_attribute_value
  0.00    25.28      0.00       10     0.00     0.00  Object#returning
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Benchmarking.rendering_runtime
  0.00    25.28      0.00       30     0.00     0.00  ActiveRecord::ConnectionAdapters::MysqlAdapter#quote_column_name
  0.00    25.28      0.00       10     0.00     0.00  ActionController::TestSession#[]=
  0.00    25.28      0.00       10     0.00     0.00  Module#to_s
  0.00    25.28      0.00       40     0.00     0.00  Kernel.trap
  0.00    25.28      0.00       20     0.00     0.00  String#intern
  0.00    25.28      0.00       90     0.00     7.11  Logger#debug
  0.00    25.28      0.00       10     0.00     2.00  ActiveRecord::Base#attributes_from_column_definition
  0.00    25.28      0.00       10     0.00     0.00  File#basename
  0.00    25.28      0.00      240     0.00     0.00  Struct::Tms#utime
  0.00    25.28      0.00       25     0.00     0.00  String#empty?
  0.00    25.28      0.00       20     0.00     0.00  ActiveRecord::Associations::AssociationProxy#respond_to?
  0.00    25.28      0.00       10     0.00     1.00  ActiveRecord::Base#==
  0.00    25.28      0.00       30     0.00     0.00  ActiveRecord::Base#active_connections
  0.00    25.28      0.00       10     0.00     0.00  ActionController::TestRequest#request_uri
  0.00    25.28      0.00       10     0.00     0.00  Kernel.equal?
  0.00    25.28      0.00       10     0.00     0.00  Kernel.binding
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Flash::FlashHash#update
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#execute_callstack_for_multiparameter_attributes
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#default_timezone
  0.00    25.28      0.00       10     0.00    89.00  ActiveRecord::Timestamp.create
  0.00    25.28      0.00       10     0.00    16.00  ActionController::Base#log_processing
  0.00    25.28      0.00       10     0.00  2475.00  ViewerController#toggle_channel_select
  0.00    25.28      0.00       10     0.00     0.00  Hash#values_at
  0.00    25.28      0.00       20     0.00     0.00  ActionController::AbstractRequest#method
  0.00    25.28      0.00       20     0.00     5.00  ActionController::Base#add_variables_to_assigns
  0.00    25.28      0.00       10     0.00     0.00  Mysql#affected_rows
  0.00    25.28      0.00       50     0.00     0.00  Object#initialize
  0.00    25.28      0.00       10     0.00     2.00  Hash#reject
  0.00    25.28      0.00       10     0.00     0.00  Fixnum#/
  0.00    25.28      0.00       10     0.00    42.00  ActionView::Partials.render_partial
  0.00    25.28      0.00       20     0.00     0.00  ActiveRecord::ConnectionAdapters::Quoting.quoted_date
  0.00    25.28      0.00       30     0.00     0.00  ActionController::TestSession#[]
  0.00    25.28      0.00       20     0.00     0.00  Time#initialize_copy
  0.00    25.28      0.00       10     0.00    86.00  ActiveRecord::Callbacks.create_without_timestamps
  0.00    25.28      0.00       10     0.00    52.00  ActionController::Layout.render_without_benchmark
  0.00    25.28      0.00       10     0.00     4.00  ActionController::SessionManagement.set_session_options_without_components
  0.00    25.28      0.00      140     0.00     0.00  MonitorMixin.mon_acquire
  0.00    25.28      0.00       20     0.00     0.00  LogEntry#id
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Layout.apply_layout?
  0.00    25.28      0.00       30     0.00     2.00  ActiveRecord::Validations.validation_block?
  0.00    25.28      0.00       10     0.00     0.00  ActionController::AbstractRequest#path_parameters=
  0.00    25.28      0.00       10     0.00     0.00  Enumerable.all?
  0.00    25.28      0.00      180     0.00     0.00  String#to_i
  0.00    25.28      0.00      160     0.00     0.00  Array#[]
  0.00    25.28      0.00      120     0.00     0.33  ActiveRecord::Base#validate_find_options
  0.00    25.28      0.00      250     0.00     0.00  Array#first
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#action_methods
  0.00    25.28      0.00       10     0.00     1.00  ActionController::Benchmarking.active_record_runtime
  0.00    25.28      0.00       10     0.00    12.00  ActionView::Base#compile_and_render_template
  0.00    25.28      0.00       10     0.00     0.00  Kernel.instance_of?
  0.00    25.28      0.00       30     0.00     0.00  Mysql#quote
  0.00    25.28      0.00       10     0.00     0.00  String#sub
  0.00    25.28      0.00       10     0.00     0.00  ActionView::Partials.partial_pieces
  0.00    25.28      0.00       10     0.00     0.00  Set#include?
  0.00    25.28      0.00       40     0.00     0.00  MatchData#to_s
  0.00    25.28      0.00       30     0.00     0.00  Kernel.eval
  0.00    25.28      0.00       10     0.00     1.00  ActionController::Components::InstanceMethods.process_cleanup
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#view_root
  0.00    25.28      0.00       10     0.00     0.00  ActionController::TestRequest#action=
  0.00    25.28      0.00       30     0.00     0.00  ActiveRecord::ConnectionAdapters::AbstractAdapter#reset_runtime
  0.00    25.28      0.00       20     0.00    11.50  ActiveRecord::Base#attributes
  0.00    25.28      0.00       10     0.00    20.00  ActiveRecord::ConnectionAdapters::MysqlAdapter#commit_db_transaction
  0.00    25.28      0.00       10     0.00     0.00  Inflector.foreign_key
  0.00    25.28      0.00       40     0.00     0.00  MatchData#pre_match
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Callbacks.after_create
  0.00    25.28      0.00       90     0.00     0.00  LogEntry#primary_key
  0.00    25.28      0.00       70     0.00     0.00  Array#join
  0.00    25.28      0.00       10     0.00  2167.00  ActiveRecord::Associations::AssociationCollection#<<
  0.00    25.28      0.00       90     0.00     0.00  Regexp#match
  0.00    25.28      0.00      420     0.00     0.00  Kernel.==
  0.00    25.28      0.00      240     0.00     0.00  Struct::Tms#cstime
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Flash::InstanceMethods.assign_shortcuts
  0.00    25.28      0.00       10     0.00    12.00  ActiveRecord::ConnectionAdapters::MysqlAdapter#update
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#forget_variables_added_to_assigns
  0.00    25.28      0.00       10     0.00     0.00  ActiveSupport::CoreExtensions::String::Inflections.foreign_key
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Base#complete_request_uri
  0.00    25.28      0.00       20     0.00     0.50  ActiveRecord::Base#attribute_names
  0.00    25.28      0.00       60     0.00     0.00  Patient#id
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Reflection::ClassMethods.reflect_on_all_associations
  0.00    25.28      0.00       10     0.00     0.00  Hash#delete
  0.00    25.28      0.00       30     0.00     0.00  NilClass#to_s
  0.00    25.28      0.00       20     0.00     0.00  ActiveRecord::Base#convert_number_column_value
  0.00    25.28      0.00       60     0.00     0.00  ActiveRecord::ConnectionAdapters::Column#text?
  0.00    25.28      0.00       10     0.00    52.00  ActionController::Base#render_partial
  0.00    25.28      0.00       20     0.00     0.00  ActiveRecord::Associations::AssociationCollection#reset
  0.00    25.28      0.00       40     0.00     0.00  String#include?
  0.00    25.28      0.00       10     0.00     0.00  Float#floor
  0.00    25.28      0.00       50     0.00     0.00  Mysql#query_with_result=
  0.00    25.28      0.00      140     0.00     0.00  Thread#pass
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#accessible_attributes
  0.00    25.28      0.00       10     0.00     0.00  Method#[]
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Callbacks.after_validation_on_create
  0.00    25.28      0.00      130     0.00     1.00  ActiveRecord::Base#sanitize_sql
  0.00    25.28      0.00       10     0.00     0.00  Inflector.demodulize
  0.00    25.28      0.00       10     0.00     1.00  ActiveRecord::Base#[]=
  0.00    25.28      0.00       10     0.00     0.00  ActionController::AbstractRequest#get?
  0.00    25.28      0.00       90     0.00     0.00  ActiveRecord::Base#colorize_logging
  0.00    25.28      0.00       20     0.00     0.00  Exception#backtrace
  0.00    25.28      0.00       10     0.00     0.00  ActionController::AbstractRequest#request_uri
  0.00    25.28      0.00       10     0.00     0.00  Comparable.<
  0.00    25.28      0.00       40     0.00   505.75  ActiveRecord::Associations::AssociationProxy#load_target
  0.00    25.28      0.00       10     0.00     0.00  Kernel.method
  0.00    25.28      0.00       10     0.00     0.00  Hash#length
  0.00    25.28      0.00       10     0.00     3.00  HashWithIndifferentAccess#update
  0.00    25.28      0.00       10     0.00     0.00  ActionView::Partials.extracting_object
  0.00    25.28      0.00       10     0.00     3.00  HashWithIndifferentAccess#initialize
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Base#readonly?
  0.00    25.28      0.00       80     0.00     0.37  ActiveRecord::Callbacks.notify
  0.00    25.28      0.00       30     0.00     0.00  ActionController::Base#performed?
  0.00    25.28      0.00       30     0.00     0.00  ActiveRecord::Reflection::MacroReflection#name
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Flash::InstanceMethods.process_cleanup_without_filters
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Callbacks.before_validation
  0.00    25.28      0.00       20     0.00   147.00  ActiveRecord::ConnectionAdapters::DatabaseStatements.transaction
  0.00    25.28      0.00       10     0.00    13.00  ActiveRecord::Callbacks.initialize
  0.00    25.28      0.00       10     0.00  2512.00  ActionController::Base#process_without_filters
  0.00    25.28      0.00       10     0.00     0.00  ActionController::SessionManagement::ClassMethods.cached_session_options
  0.00    25.28      0.00       10     0.00     4.00  ActionController::Components::InstanceMethods.set_session_options
  0.00    25.28      0.00       10     0.00    37.00  Patient#channels_not_selected
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Filters::ClassMethods.before_filters
  0.00    25.28      0.00       10     0.00     0.00  ActionView::Base#pick_template_extension
  0.00    25.28      0.00       20     0.00     0.00  String#tr
  0.00    25.28      0.00       30     0.00    13.67  ActiveRecord::Associations::HasAndBelongsToManyAssociation#method_missing
  0.00    25.28      0.00       50     0.00     0.00  Hash#update
  0.00    25.28      0.00      260     0.00     0.00  Kernel.block_given?
  0.00    25.28      0.00       10     0.00     0.00  ActionController::UrlRewriter#initialize
  0.00    25.28      0.00       10     0.00     0.00  ActionView::Base#path_and_extension
  0.00    25.28      0.00      190     0.00     0.00  Fixnum#+
  0.00    25.28      0.00       10     0.00     0.00  Kernel.instance_eval
  0.00    25.28      0.00       10     0.00    31.00  ActiveRecord::Associations::HasAndBelongsToManyAssociation#find_target
  0.00    25.28      0.00       40     0.00     0.00  Array#size
  0.00    25.28      0.00       10     0.00     0.00  ActionController::Filters::InstanceMethods.process_cleanup_without_session_management_support
  0.00    25.28      0.00       10     0.00    52.00  ActionController::Base#render_with_no_layout
  0.00    25.28      0.00       50     0.00     0.00  String#concat
  0.00    25.28      0.00       10     0.00     0.00  ActiveRecord::Callbacks.after_save
  0.00    25.28      0.00      120     0.00     0.00  ActiveRecord::Base#new_record?
  0.00    25.28      0.00      190     0.00     0.00  Fixnum#to_s
 -0.00    25.28     -0.00        1    -0.00 25280.00  Integer#times
  0.00    25.28      0.00        1     0.00 25280.00  #toplevel
[admin@sj2800 openwindow]$