Profile Report: allocations

Thread ID Fiber ID Total Time
19903220 19758400 63.0

Thread 19903220, Fiber: 19758400

%Total %Self Total Self Wait Child Calls Name Line
100.00% 0.00% 63.00 0.00 0.00 63.00 1 ActiveSupport::Testing::Performance::Profiler#run 38
    63.00 0.00 0.00 63.00 1/1 Integer#times 39
    0.00 0.00 0.00 0.00 1/1 Integer#to_i 39
    0.00 0.00 0.00 0.00 1/1 ActiveSupport::Testing::Performance::Performer#full_profile_options 39
    0.00 0.00 0.00 0.00 1/9 Kernel#respond_to? 38
    63.00 0.00 0.00 63.00 1/1 ActiveSupport::Testing::Performance::Profiler#run 39
100.00% 0.00% 63.00 0.00 0.00 63.00 1 Integer#times
    63.00 0.00 0.00 63.00 1/1 ActiveSupport::Testing::Performance::Performer#run_test
    63.00 0.00 0.00 63.00 1/1 Integer#times
100.00% 0.00% 63.00 0.00 0.00 63.00 1 ActiveSupport::Testing::Performance::Performer#run_test 122
    63.00 0.00 0.00 63.00 1/1 ActiveSupport::Testing::Performance#run_test 122
    63.00 0.00 0.00 63.00 1/1 ActiveSupport::Testing::Performance::Performer#run_test 122
100.00% 0.00% 63.00 0.00 0.00 63.00 1 ActiveSupport::Testing::Performance#run_test 77
    36.00 0.00 0.00 36.00 1/1 ActiveRecord::TestFixtures#before_setup 80
    14.00 0.00 0.00 14.00 1/1 ActiveSupport::Testing::Performance::Metrics::Base#profile 83
    13.00 0.00 0.00 13.00 1/1 ActiveRecord::TestFixtures#after_teardown 90
    0.00 0.00 0.00 0.00 1/1 Minitest::Test::LifecycleHooks#after_setup 82
    0.00 0.00 0.00 0.00 1/1 Minitest::Test::LifecycleHooks#teardown 89
    0.00 0.00 0.00 0.00 1/1 Minitest::Test::LifecycleHooks#setup 81
    0.00 0.00 0.00 0.00 1/1 Minitest::Test::LifecycleHooks#before_teardown 88
    36.00 0.00 0.00 36.00 1/1 ActiveSupport::Testing::Performance#run_test 80
57.14% 0.00% 36.00 0.00 0.00 36.00 1 ActiveRecord::TestFixtures#before_setup 825
    28.00 0.00 0.00 28.00 1/1 ActiveSupport::Testing::SetupAndTeardown#before_setup 827
    8.00 2.00 0.00 6.00 1/1 ActiveRecord::TestFixtures#setup_fixtures 826
    0.00 0.00 0.00 0.00 1/18 ActionController::TemplateAssertions#teardown_subscriptions 60
    0.00 0.00 0.00 0.00 1/18 ActiveRecord::ConnectionAdapters::Transaction#rollback_records 76
    0.00 0.00 0.00 0.00 4/18 Enumerable#any?
    2.00 0.00 0.00 2.00 2/18 ActiveSupport::Notifications::Fanout#finish 46
    2.00 0.00 0.00 2.00 2/18 ActiveSupport::Notifications::Fanout#start 42
    3.00 0.00 0.00 3.00 1/18 ActiveRecord::ConnectionAdapters::ConnectionHandler#clear_active_connections! 552
    3.00 3.00 0.00 0.00 1/18 ActionController::TemplateAssertions#setup_subscriptions 21
    5.00 0.00 0.00 5.00 1/18 ActiveRecord::TestFixtures#setup_fixtures 945
    7.00 1.00 0.00 6.00 1/18 ActiveRecord::TestFixtures#teardown_fixtures 962
    15.00 0.00 0.00 15.00 4/18 ActiveSupport::Callbacks::CallbackSequence#call 506
47.62% 1.59% 30.00 1.00 0.00 29.00 18 *Array#each
    15.00 0.00 0.00 15.00 3/8 Proc#call
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::DatabaseStatements#rollback_transaction
    5.00 0.00 0.00 5.00 1/1 ActiveRecord::ConnectionAdapters::DatabaseStatements#begin_transaction
    3.00 0.00 0.00 3.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool#release_connection
    2.00 0.00 0.00 2.00 4/4 ActiveSupport::Notifications::Fanout::Subscribers::Evented#start
    2.00 0.00 0.00 2.00 4/4 ActiveSupport::Notifications::Fanout::Subscribers::Evented#finish
    0.00 0.00 0.00 0.00 1/3 ActiveRecord::ConnectionAdapters::ConnectionPool#current_connection_id
    0.00 0.00 0.00 0.00 4/12 Class#new
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::DatabaseStatements#transaction_open?
    0.00 0.00 0.00 0.00 2/2 <Module::ActiveSupport::Notifications>#unsubscribe
    0.00 0.00 0.00 0.00 4/4 Kernel#instance_variable_set
    28.00 0.00 0.00 28.00 1/1 ActiveRecord::TestFixtures#before_setup 827
44.44% 0.00% 28.00 0.00 0.00 28.00 1 ActiveSupport::Testing::SetupAndTeardown#before_setup 39
    17.00 1.00 0.00 16.00 1/2 ActiveSupport::Callbacks#run_callbacks 41
    11.00 2.00 0.00 9.00 1/1 ActiveSupport::Testing::TaggedLogging#before_setup 40
    2.00 1.00 0.00 1.00 1/2 ActiveSupport::Testing::SetupAndTeardown#after_teardown 45
    17.00 1.00 0.00 16.00 1/2 ActiveSupport::Testing::SetupAndTeardown#before_setup 41
30.16% 3.17% 19.00 2.00 0.00 17.00 2 ActiveSupport::Callbacks#run_callbacks 80
    16.00 0.00 0.00 16.00 1/1 ActiveSupport::TestCase#_run_setup_callbacks 81
    1.00 0.00 0.00 1.00 1/1 ActiveSupport::TestCase#_run_teardown_callbacks 81
    0.00 0.00 0.00 0.00 2/2 Symbol#to_s 81
    0.00 0.00 0.00 0.00 1/4 ActiveRecord::ConnectionAdapters::AbstractAdapter#_run_checkin_callbacks 778
    1.00 1.00 0.00 0.00 1/4 ActiveSupport::TestCase#_run_teardown_callbacks 778
    1.00 1.00 0.00 0.00 1/4 ActiveRecord::ConnectionAdapters::AbstractAdapter#_run_checkout_callbacks 778
    16.00 1.00 0.00 15.00 1/4 ActiveSupport::TestCase#_run_setup_callbacks 778
28.57% 4.76% 18.00 3.00 0.00 15.00 4 ActiveSupport::Callbacks#__run_callbacks__ 86
    15.00 0.00 0.00 15.00 2/2 ActiveSupport::Callbacks::CallbackSequence#call 92
    0.00 0.00 0.00 0.00 2/2 <Class::ActiveSupport::Callbacks::Filters::Environment>#new 91
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::AbstractAdapter#expire 365
    0.00 0.00 0.00 0.00 2/5 ActiveSupport::Callbacks::Filters::Environment#value 92
    0.00 0.00 0.00 0.00 2/2 ActiveSupport::Callbacks::CallbackChain#compile 90
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::AbstractAdapter#verify! 456
    0.00 0.00 0.00 0.00 2/6 Kernel#block_given? 88
    0.00 0.00 0.00 0.00 4/4 ActiveSupport::Callbacks::CallbackChain#empty? 87
    16.00 0.00 0.00 16.00 1/1 ActiveSupport::Callbacks#run_callbacks 81
25.40% 0.00% 16.00 0.00 0.00 16.00 1 ActiveSupport::TestCase#_run_setup_callbacks 777
    16.00 1.00 0.00 15.00 1/4 ActiveSupport::Callbacks#__run_callbacks__ 778
    0.00 0.00 0.00 0.00 1/1 ActiveSupport::TestCase#_setup_callbacks 778
    15.00 8.00 0.00 7.00 1/1 Proc#call
23.81% 12.70% 15.00 8.00 0.00 7.00 1 ActionController::TemplateAssertions#setup_subscriptions 20
    4.00 0.00 0.00 4.00 2/2 <Module::ActiveSupport::Notifications>#subscribe 54
    3.00 3.00 0.00 0.00 1/18 Array#each 21
    15.00 0.00 0.00 15.00 2/2 ActiveSupport::Callbacks#__run_callbacks__ 92
23.81% 0.00% 15.00 0.00 0.00 15.00 2 ActiveSupport::Callbacks::CallbackSequence#call 503
    15.00 0.00 0.00 15.00 4/18 Array#each 506
    0.00 0.00 0.00 0.00 2/8 Proc#call 505
    0.00 0.00 0.00 0.00 2/8 ActiveSupport::Callbacks::CallbackSequence#call 505
    15.00 0.00 0.00 15.00 3/8 Proc#call
    15.00 0.00 0.00 15.00 3/8 Array#each
23.81% 0.00% 15.00 0.00 0.00 15.00 8 *Proc#call
    15.00 8.00 0.00 7.00 1/1 ActionController::TemplateAssertions#setup_subscriptions
    15.00 0.00 0.00 15.00 3/8 Proc#call
    0.00 0.00 0.00 0.00 1/1 ActionController::TemplateAssertions#teardown_subscriptions
    0.00 0.00 0.00 0.00 1/1 BasicObject#instance_exec
    0.00 0.00 0.00 0.00 2/2 ActiveSupport::Callbacks::Filters::End#call
    0.00 0.00 0.00 0.00 3/5 ActiveSupport::Callbacks::Filters::Environment#value
    0.00 0.00 0.00 0.00 3/3 ActiveSupport::Callbacks::Filters::Environment#target
    14.00 0.00 0.00 14.00 1/1 ProfilerTest#test_user_all 2
22.22% 0.00% 14.00 0.00 0.00 14.00 1 ActiveRecord::Scoping::Named::ClassMethods#all 24
    11.00 0.00 0.00 11.00 1/1 ActiveRecord::Scoping::Named::ClassMethods#default_scoped 28
    3.00 1.00 0.00 2.00 1/1 ActiveRecord::Scoping::ClassMethods#current_scope 25
    14.00 0.00 0.00 14.00 1/1 ActiveSupport::Testing::Performance::Metrics::Base#profile 83
22.22% 0.00% 14.00 0.00 0.00 14.00 1 ProfilerTest#test_user_all 1
    14.00 0.00 0.00 14.00 1/1 ActiveRecord::Scoping::Named::ClassMethods#all 2
    14.00 0.00 0.00 14.00 1/1 ActiveSupport::Testing::Performance#run_test 83
22.22% 0.00% 14.00 0.00 0.00 14.00 1 ActiveSupport::Testing::Performance::Metrics::Base#profile 85
    14.00 0.00 0.00 14.00 1/1 ProfilerTest#test_user_all 83
    0.00 0.00 0.00 0.00 1/4 Minitest::Runnable#name 83
    0.00 0.00 0.00 0.00 2/9 Kernel#respond_to? 89
    13.00 0.00 0.00 13.00 1/1 ActiveSupport::Testing::Performance#run_test 90
20.63% 0.00% 13.00 0.00 0.00 13.00 1 ActiveRecord::TestFixtures#after_teardown 830
    11.00 1.00 0.00 10.00 1/1 ActiveRecord::TestFixtures#teardown_fixtures 832
    2.00 0.00 0.00 2.00 1/1 ActiveSupport::Testing::SetupAndTeardown#after_teardown 831
    0.00 0.00 0.00 0.00 4/12 Array#each
    0.00 0.00 0.00 0.00 1/12 ActiveRecord::ConnectionAdapters::Transaction#initialize 52
    0.00 0.00 0.00 0.00 2/12 <Module::ActiveSupport::Notifications::Fanout::Subscribers>#new 74
    2.00 0.00 0.00 2.00 2/12 ActiveSupport::Subscriber#start 86
    5.00 0.00 0.00 5.00 1/12 ActiveRecord::ConnectionAdapters::TransactionManager#begin_transaction 166
    6.00 4.00 0.00 2.00 2/12 ActiveRecord::Delegation::ClassMethods#create 106
19.05% 6.35% 12.00 4.00 0.00 8.00 12 *Class#new
    5.00 0.00 0.00 5.00 1/1 ActiveRecord::ConnectionAdapters::RealTransaction#initialize
    2.00 2.00 0.00 0.00 2/2 ActiveRecord::Relation#initialize
    2.00 2.00 0.00 0.00 2/2 ActiveSupport::Notifications::Event#initialize
    0.00 0.00 0.00 0.00 2/2 ActiveSupport::Notifications::Fanout::Subscribers::Evented#initialize
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::TransactionState#initialize
    0.00 0.00 0.00 0.00 4/4 Hash#initialize
    11.00 2.00 0.00 9.00 1/1 ActiveSupport::Testing::SetupAndTeardown#before_setup 40
17.46% 3.17% 11.00 2.00 0.00 9.00 1 ActiveSupport::Testing::TaggedLogging#before_setup 8
    9.00 0.00 0.00 9.00 3/3 Logger#info 14
    0.00 0.00 0.00 0.00 1/4 Minitest::Runnable#name 10
    0.00 0.00 0.00 0.00 1/1 String#* 11
    0.00 0.00 0.00 0.00 1/1 Minitest::Test::LifecycleHooks#before_setup 16
    0.00 0.00 0.00 0.00 1/2 Module#to_s 10
    0.00 0.00 0.00 0.00 1/16 Kernel#class 10
    0.00 0.00 0.00 0.00 1/1 ActiveSupport::Logger#info? 9
    0.00 0.00 0.00 0.00 5/5 ActiveSupport::Testing::TaggedLogging#tagged_logger 14
    11.00 1.00 0.00 10.00 1/1 ActiveRecord::TestFixtures#after_teardown 832
17.46% 1.59% 11.00 1.00 0.00 10.00 1 ActiveRecord::TestFixtures#teardown_fixtures 959
    7.00 1.00 0.00 6.00 1/18 Array#each 962
    3.00 0.00 0.00 3.00 1/1 ActiveRecord::ConnectionHandling#clear_active_connections! 970
    0.00 0.00 0.00 0.00 1/1 Array#clear 965
    0.00 0.00 0.00 0.00 1/2 ActiveRecord::TestFixtures#run_in_transaction? 961
    11.00 0.00 0.00 11.00 1/1 ActiveRecord::Scoping::Named::ClassMethods#all 28
17.46% 0.00% 11.00 0.00 0.00 11.00 1 ActiveRecord::Scoping::Named::ClassMethods#default_scoped 32
    8.00 2.00 0.00 6.00 2/2 ActiveRecord::Core::ClassMethods#relation 33
    3.00 0.00 0.00 3.00 1/1 ActiveRecord::Scoping::Default::ClassMethods#build_default_scope 33
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::SpawnMethods#merge 33
    10.00 0.00 0.00 10.00 2/2 ActiveRecord::ConnectionAdapters::Mysql2Adapter#execute 231
15.87% 0.00% 10.00 0.00 0.00 10.00 2 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#execute 304
    10.00 2.00 0.00 8.00 2/2 ActiveRecord::ConnectionAdapters::AbstractAdapter#log 305
    4.00 0.00 0.00 4.00 1/2 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#begin_db_transaction 321
    6.00 0.00 0.00 6.00 1/2 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#exec_rollback_db_transaction 334
15.87% 0.00% 10.00 0.00 0.00 10.00 2 ActiveRecord::ConnectionAdapters::Mysql2Adapter#execute 224
    10.00 0.00 0.00 10.00 2/2 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#execute 231
    0.00 0.00 0.00 0.00 2/2 <Class::ActiveRecord::Base>#default_timezone 228
    10.00 2.00 0.00 8.00 2/2 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#execute 305
15.87% 3.17% 10.00 2.00 0.00 8.00 2 ActiveRecord::ConnectionAdapters::AbstractAdapter#log 465
    8.00 2.00 0.00 6.00 2/2 ActiveSupport::Notifications::Instrumenter#instrument 472
    0.00 0.00 0.00 0.00 2/3 Kernel#object_id 472
    9.00 0.00 0.00 9.00 3/3 ActiveSupport::Logger#add 52
14.29% 0.00% 9.00 0.00 0.00 9.00 3 Logger#add 364
    9.00 0.00 0.00 9.00 3/3 Logger#format_message 378
    0.00 0.00 0.00 0.00 3/3 Logger#format_severity 378
    0.00 0.00 0.00 0.00 3/7 <Class::Time>#now 378
    0.00 0.00 0.00 0.00 3/3 Logger::LogDevice#write 378
    0.00 0.00 0.00 0.00 3/6 Kernel#block_given? 371
    0.00 0.00 0.00 0.00 3/3 NilClass#nil? 370
    0.00 0.00 0.00 0.00 3/6 Kernel#nil? 366
    9.00 3.00 0.00 6.00 3/3 Logger#format_message 491
14.29% 4.76% 9.00 3.00 0.00 6.00 3 ActiveSupport::TaggedLogging::Formatter#call 20
    6.00 6.00 0.00 0.00 3/3 ActiveSupport::Logger::SimpleFormatter#call 21
    0.00 0.00 0.00 0.00 3/3 NilClass#to_s 21
    0.00 0.00 0.00 0.00 3/3 ActiveSupport::TaggedLogging::Formatter#tags_text 21
    9.00 0.00 0.00 9.00 3/3 Logger#info 434
14.29% 0.00% 9.00 0.00 0.00 9.00 3 ActiveSupport::Logger#add 50
    9.00 0.00 0.00 9.00 3/3 Logger#add 52
    0.00 0.00 0.00 0.00 3/6 LoggerSilence#level 51
    0.00 0.00 0.00 0.00 3/6 Kernel#nil? 51
    9.00 0.00 0.00 9.00 3/3 Logger#add 378
14.29% 0.00% 9.00 0.00 0.00 9.00 3 Logger#format_message 490
    9.00 3.00 0.00 6.00 3/3 ActiveSupport::TaggedLogging::Formatter#call 491
    9.00 0.00 0.00 9.00 3/3 ActiveSupport::Testing::TaggedLogging#before_setup 14
14.29% 0.00% 9.00 0.00 0.00 9.00 3 Logger#info 433
    9.00 0.00 0.00 9.00 3/3 ActiveSupport::Logger#add 434
    8.00 2.00 0.00 6.00 1/1 ActiveRecord::TestFixtures#before_setup 826
12.70% 3.17% 8.00 2.00 0.00 6.00 1 ActiveRecord::TestFixtures#setup_fixtures 927
    5.00 0.00 0.00 5.00 1/18 Array#each 945
    1.00 0.00 0.00 1.00 1/1 ActiveRecord::TestFixtures#enlist_fixture_connections 944
    0.00 0.00 0.00 0.00 2/6 Kernel#hash 939
    0.00 0.00 0.00 0.00 1/1 ActiveSupport::TestCase#use_instantiated_fixtures 956
    0.00 0.00 0.00 0.00 2/16 Kernel#class 939
    0.00 0.00 0.00 0.00 1/2 ActiveRecord::TestFixtures#run_in_transaction? 937
    0.00 0.00 0.00 0.00 1/1 ActiveSupport::TestCase#pre_loaded_fixtures 928
    8.00 2.00 0.00 6.00 2/2 ActiveRecord::Scoping::Named::ClassMethods#default_scoped 33
12.70% 3.17% 8.00 2.00 0.00 6.00 2 ActiveRecord::Core::ClassMethods#relation 253
    6.00 0.00 0.00 6.00 2/2 ActiveRecord::Delegation::ClassMethods#create 254
    0.00 0.00 0.00 0.00 2/2 ActiveRecord::Inheritance::ClassMethods#finder_needs_type_condition? 256
    0.00 0.00 0.00 0.00 2/2 ActiveRecord::Core::ClassMethods#arel_table 254
    8.00 2.00 0.00 6.00 2/2 ActiveRecord::ConnectionAdapters::AbstractAdapter#log 472
12.70% 3.17% 8.00 2.00 0.00 6.00 2 ActiveSupport::Notifications::Instrumenter#instrument 17
    4.00 0.00 0.00 4.00 2/2 ActiveSupport::Notifications::Instrumenter#start 18
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::Notifications::Instrumenter#finish 25
    0.00 0.00 0.00 0.00 2/2 Mysql2::Client#query 305
    6.00 6.00 0.00 0.00 3/3 ActiveSupport::TaggedLogging::Formatter#call 21
9.52% 9.52% 6.00 6.00 0.00 0.00 3 ActiveSupport::Logger::SimpleFormatter#call 66
    0.00 0.00 0.00 0.00 3/5 Module#=== 67
    6.00 0.00 0.00 6.00 1/1 Array#each
9.52% 0.00% 6.00 0.00 0.00 6.00 1 ActiveRecord::ConnectionAdapters::DatabaseStatements#rollback_transaction 221
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::TransactionManager#rollback_transaction 221
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::DatabaseStatements#rollback_db_transaction 266
9.52% 0.00% 6.00 0.00 0.00 6.00 1 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#exec_rollback_db_transaction 333
    6.00 0.00 0.00 6.00 1/2 ActiveRecord::ConnectionAdapters::Mysql2Adapter#execute 334
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::AbstractAdapter#rollback_db_transaction 14
9.52% 0.00% 6.00 0.00 0.00 6.00 1 ActiveRecord::ConnectionAdapters::DatabaseStatements#rollback_db_transaction 265
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#exec_rollback_db_transaction 266
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::RealTransaction#rollback 145
9.52% 0.00% 6.00 0.00 0.00 6.00 1 ActiveRecord::ConnectionAdapters::AbstractAdapter#rollback_db_transaction 12
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::DatabaseStatements#rollback_db_transaction 14
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::TransactionManager#rollback_transaction 179
9.52% 0.00% 6.00 0.00 0.00 6.00 1 ActiveRecord::ConnectionAdapters::RealTransaction#rollback 144
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::AbstractAdapter#rollback_db_transaction 145
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::Transaction#rollback 146
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::Transaction#rollback_records 147
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::DatabaseStatements#rollback_transaction 221
9.52% 0.00% 6.00 0.00 0.00 6.00 1 ActiveRecord::ConnectionAdapters::TransactionManager#rollback_transaction 178
    6.00 0.00 0.00 6.00 1/1 ActiveRecord::ConnectionAdapters::RealTransaction#rollback 179
    0.00 0.00 0.00 0.00 1/3 Array#pop 179
    6.00 0.00 0.00 6.00 2/2 ActiveRecord::Core::ClassMethods#relation 254
9.52% 0.00% 6.00 0.00 0.00 6.00 2 ActiveRecord::Delegation::ClassMethods#create 105
    6.00 4.00 0.00 2.00 2/12 Class#new 106
    0.00 0.00 0.00 0.00 2/2 ActiveRecord::Delegation::ClassMethods#relation_class_for 106
    5.00 0.00 0.00 5.00 1/1 Class#new
7.94% 0.00% 5.00 0.00 0.00 5.00 1 ActiveRecord::ConnectionAdapters::RealTransaction#initialize 135
    4.00 0.00 0.00 4.00 1/1 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#begin_db_transaction 140
    1.00 1.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::Transaction#initialize 136
    5.00 0.00 0.00 5.00 1/1 Array#each
7.94% 0.00% 5.00 0.00 0.00 5.00 1 ActiveRecord::ConnectionAdapters::DatabaseStatements#begin_transaction 221
    5.00 0.00 0.00 5.00 1/1 ActiveRecord::ConnectionAdapters::TransactionManager#begin_transaction 221
    5.00 0.00 0.00 5.00 1/1 ActiveRecord::ConnectionAdapters::DatabaseStatements#begin_transaction 221
7.94% 0.00% 5.00 0.00 0.00 5.00 1 ActiveRecord::ConnectionAdapters::TransactionManager#begin_transaction 163
    5.00 0.00 0.00 5.00 1/12 Class#new 166
    0.00 0.00 0.00 0.00 1/4 Array#push 170
    4.00 0.00 0.00 4.00 2/2 ActiveSupport::Notifications::Instrumenter#instrument 18
6.35% 0.00% 4.00 0.00 0.00 4.00 2 ActiveSupport::Notifications::Instrumenter#start 30
    4.00 0.00 0.00 4.00 2/2 ActiveSupport::Notifications::Fanout#start 31
    4.00 0.00 0.00 4.00 1/1 ActiveRecord::ConnectionAdapters::RealTransaction#initialize 140
6.35% 0.00% 4.00 0.00 0.00 4.00 1 ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#begin_db_transaction 320
    4.00 0.00 0.00 4.00 1/2 ActiveRecord::ConnectionAdapters::Mysql2Adapter#execute 321
    4.00 0.00 0.00 4.00 2/2 ActionController::TemplateAssertions#setup_subscriptions 54
6.35% 0.00% 4.00 0.00 0.00 4.00 2 <Module::ActiveSupport::Notifications>#subscribe 170
    4.00 4.00 0.00 0.00 2/2 ActiveSupport::Notifications::Fanout#subscribe 171
    0.00 0.00 0.00 0.00 2/2 <Class::Proc>#new 171
    0.00 0.00 0.00 0.00 1/10 ActiveRecord::ConnectionAdapters::AbstractAdapter#lease 143
    0.00 0.00 0.00 0.00 3/10 Logger::LogDevice#write 559
    0.00 0.00 0.00 0.00 2/10 ActiveRecord::ConnectionAdapters::ConnectionPool::Queue#synchronize 145
    1.00 0.00 0.00 1.00 1/10 ActiveRecord::ConnectionAdapters::ConnectionPool#connection 264
    1.00 0.00 0.00 1.00 1/10 ActiveRecord::ConnectionAdapters::ConnectionPool#checkout 348
    3.00 0.00 0.00 3.00 1/10 ActiveRecord::ConnectionAdapters::ConnectionPool#release_connection 280
    3.00 3.00 0.00 0.00 1/10 ActiveRecord::ConnectionAdapters::ConnectionPool#checkin 361
6.35% 0.00% 4.00 0.00 0.00 4.00 10 *MonitorMixin#mon_synchronize 208
    3.00 0.00 0.00 3.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool#checkin 282
    1.00 0.00 0.00 1.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool#checkout_and_verify 351
    1.00 0.00 0.00 1.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool#checkout 263
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool::Queue#no_wait_poll 137
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::AbstractAdapter#_run_checkin_callbacks 364
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool::Queue#add 370
    0.00 0.00 0.00 0.00 1/1 ThreadSafe::MriCacheBackend#delete 281
    0.00 0.00 0.00 0.00 3/3 IO#write 568
    0.00 0.00 0.00 0.00 1/55 <Class::Thread>#current 145
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool#release 368
    0.00 0.00 0.00 0.00 1/4 Array#push 99
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::AbstractAdapter#lease 350
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool#acquire_connection 349
    0.00 0.00 0.00 0.00 10/10 MonitorMixin#mon_exit 213
    0.00 0.00 0.00 0.00 1/2 ThreadSafe::MriCacheBackend#[]= 263
    0.00 0.00 0.00 0.00 1/1 MonitorMixin::ConditionVariable#signal 100
    0.00 0.00 0.00 0.00 1/16 ThreadSafe::Cache#[] 263
    0.00 0.00 0.00 0.00 1/3 ActiveRecord::ConnectionAdapters::ConnectionPool#current_connection_id 263
    0.00 0.00 0.00 0.00 10/10 MonitorMixin#mon_enter 209
    4.00 0.00 0.00 4.00 2/2 ActiveSupport::Notifications::Instrumenter#start 31
6.35% 0.00% 4.00 0.00 0.00 4.00 2 ActiveSupport::Notifications::Fanout#start 41
    2.00 0.00 0.00 2.00 2/18 Array#each 42
    2.00 2.00 0.00 0.00 2/4 ActiveSupport::Notifications::Fanout#listeners_for 42
    4.00 4.00 0.00 0.00 2/2 <Module::ActiveSupport::Notifications>#subscribe 171
6.35% 6.35% 4.00 4.00 0.00 0.00 2 ActiveSupport::Notifications::Fanout#subscribe 19
    0.00 0.00 0.00 0.00 2/5 Mutex_m#mu_synchronize 21
    0.00 0.00 0.00 0.00 2/2 <Module::ActiveSupport::Notifications::Fanout::Subscribers>#new 20
    3.00 0.00 0.00 3.00 1/1 ActiveRecord::ConnectionHandling#clear_active_connections! 129
4.76% 0.00% 3.00 0.00 0.00 3.00 1 ActiveRecord::ConnectionAdapters::ConnectionHandler#clear_active_connections! 551
    3.00 0.00 0.00 3.00 1/18 Array#each 552
    0.00 0.00 0.00 0.00 1/2 Symbol#to_proc 552
    0.00 0.00 0.00 0.00 1/2 ActiveRecord::ConnectionAdapters::ConnectionHandler#connection_pool_list 552
    3.00 0.00 0.00 3.00 1/1 Array#each
4.76% 0.00% 3.00 0.00 0.00 3.00 1 ActiveRecord::ConnectionAdapters::ConnectionPool#release_connection 279
    3.00 0.00 0.00 3.00 1/10 MonitorMixin#mon_synchronize 280
    3.00 1.00 0.00 2.00 1/1 ActiveRecord::Scoping::Named::ClassMethods#all 25
4.76% 1.59% 3.00 1.00 0.00 2.00 1 ActiveRecord::Scoping::ClassMethods#current_scope 13
    2.00 2.00 0.00 0.00 1/2 Module#to_s 14
    0.00 0.00 0.00 0.00 1/1 <Class::ActiveRecord::Scoping::ScopeRegistry>#value_for 14
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::Inheritance::ClassMethods#base_class 14
    3.00 0.00 0.00 3.00 1/1 ActiveRecord::TestFixtures#teardown_fixtures 970
4.76% 0.00% 3.00 0.00 0.00 3.00 1 ActiveRecord::ConnectionHandling#clear_active_connections! 129
    3.00 0.00 0.00 3.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionHandler#clear_active_connections! 129
    0.00 0.00 0.00 0.00 1/2 <Class::ActiveRecord::Base>#connection_handler 129
    3.00 0.00 0.00 3.00 1/1 MonitorMixin#mon_synchronize 282
4.76% 0.00% 3.00 0.00 0.00 3.00 1 ActiveRecord::ConnectionAdapters::ConnectionPool#checkin 360
    3.00 3.00 0.00 0.00 1/10 MonitorMixin#mon_synchronize 361
    3.00 0.00 0.00 3.00 1/1 ActiveRecord::Scoping::Named::ClassMethods#default_scoped 33
4.76% 0.00% 3.00 0.00 0.00 3.00 1 ActiveRecord::Scoping::Default::ClassMethods#build_default_scope 97
    2.00 2.00 0.00 0.00 1/4 Enumerable#any? 102
    1.00 1.00 0.00 0.00 1/1 Kernel#method 99
    0.00 0.00 0.00 0.00 1/6 Kernel#is_a? 99
    0.00 0.00 0.00 0.00 1/1 Method#owner 99
    0.00 0.00 0.00 0.00 1/1 <Class::ActiveRecord::Base>#default_scopes 102
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::Inheritance::ClassMethods#abstract_class? 98
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::Notifications::Instrumenter#instrument 25
3.17% 0.00% 2.00 0.00 0.00 2.00 2 ActiveSupport::Notifications::Instrumenter#finish 35
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::Notifications::Fanout#finish 36
    2.00 2.00 0.00 0.00 2/2 Class#new
3.17% 3.17% 2.00 2.00 0.00 0.00 2 ActiveRecord::Relation#initialize 23
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::Notifications::Instrumenter#finish 36
3.17% 0.00% 2.00 0.00 0.00 2.00 2 ActiveSupport::Notifications::Fanout#finish 45
    2.00 0.00 0.00 2.00 2/18 Array#each 46
    0.00 0.00 0.00 0.00 2/4 ActiveSupport::Notifications::Fanout#listeners_for 46
    0.00 0.00 0.00 0.00 1/2 ActiveSupport::Testing::TaggedLogging#before_setup 10
    2.00 2.00 0.00 0.00 1/2 ActiveRecord::Scoping::ClassMethods#current_scope 14
3.17% 3.17% 2.00 2.00 0.00 0.00 2 Module#to_s
    2.00 2.00 0.00 0.00 2/2 Class#new
3.17% 3.17% 2.00 2.00 0.00 0.00 2 ActiveSupport::Notifications::Event#initialize 50
    0.00 0.00 0.00 0.00 2/4 Kernel#dup 52
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::LogSubscriber#start 79
3.17% 0.00% 2.00 0.00 0.00 2.00 2 ActiveSupport::Subscriber#start 85
    2.00 0.00 0.00 2.00 2/12 Class#new 86
    0.00 0.00 0.00 0.00 4/6 ActiveSupport::Subscriber#event_stack 90
    0.00 0.00 0.00 0.00 2/3 Array#last 87
    0.00 0.00 0.00 0.00 2/4 Array#push 90
    0.00 0.00 0.00 0.00 2/7 <Class::Time>#now 86
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::Notifications::Fanout::Subscribers::Evented#start 98
3.17% 0.00% 2.00 0.00 0.00 2.00 2 ActiveSupport::LogSubscriber#start 78
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::Subscriber#start 79
    0.00 0.00 0.00 0.00 2/6 ActiveRecord::LogSubscriber#logger 79
    2.00 0.00 0.00 2.00 4/4 Array#each
3.17% 0.00% 2.00 0.00 0.00 2.00 4 ActiveSupport::Notifications::Fanout::Subscribers::Evented#start 97
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::LogSubscriber#start 98
    0.00 0.00 0.00 0.00 2/2 ActiveRecord::ExplainSubscriber#start 98
    2.00 0.00 0.00 2.00 1/1 ActiveRecord::TestFixtures#after_teardown 831
3.17% 0.00% 2.00 0.00 0.00 2.00 1 ActiveSupport::Testing::SetupAndTeardown#after_teardown 44
    2.00 1.00 0.00 1.00 1/2 ActiveSupport::Callbacks#run_callbacks 45
    0.00 0.00 0.00 0.00 1/1 Minitest::Test::LifecycleHooks#after_teardown 46
    2.00 0.00 0.00 2.00 4/4 Array#each
3.17% 0.00% 2.00 0.00 0.00 2.00 4 ActiveSupport::Notifications::Fanout::Subscribers::Evented#finish 101
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::LogSubscriber#finish 102
    0.00 0.00 0.00 0.00 2/2 ActiveRecord::ExplainSubscriber#finish 102
    0.00 0.00 0.00 0.00 3/4 ActiveSupport::TaggedLogging::Formatter#tags_text 52
    2.00 2.00 0.00 0.00 1/4 ActiveRecord::Scoping::Default::ClassMethods#build_default_scope 102
3.17% 3.17% 2.00 2.00 0.00 0.00 4 Enumerable#any?
    0.00 0.00 0.00 0.00 4/18 Array#each
    2.00 2.00 0.00 0.00 2/2 ActiveSupport::LogSubscriber#finish 83
3.17% 3.17% 2.00 2.00 0.00 0.00 2 ActiveSupport::Subscriber#finish 93
    0.00 0.00 0.00 0.00 2/2 ActiveRecord::LogSubscriber#sql 100
    0.00 0.00 0.00 0.00 2/2 Array#first 99
    0.00 0.00 0.00 0.00 2/2 String#split 99
    0.00 0.00 0.00 0.00 2/2 Hash#merge! 97
    0.00 0.00 0.00 0.00 2/3 Array#pop 95
    0.00 0.00 0.00 0.00 2/6 ActiveSupport::Subscriber#event_stack 95
    0.00 0.00 0.00 0.00 2/7 <Class::Time>#now 94
    2.00 0.00 0.00 2.00 2/2 ActiveSupport::Notifications::Fanout::Subscribers::Evented#finish 102
3.17% 0.00% 2.00 0.00 0.00 2.00 2 ActiveSupport::LogSubscriber#finish 82
    2.00 2.00 0.00 0.00 2/2 ActiveSupport::Subscriber#finish 83
    0.00 0.00 0.00 0.00 2/6 ActiveRecord::LogSubscriber#logger 83
    0.00 0.00 0.00 0.00 2/4 ActiveSupport::Notifications::Fanout#finish 46
    2.00 2.00 0.00 0.00 2/4 ActiveSupport::Notifications::Fanout#start 42
3.17% 3.17% 2.00 2.00 0.00 0.00 4 ActiveSupport::Notifications::Fanout#listeners_for 53
    0.00 0.00 0.00 0.00 1/5 Mutex_m#mu_synchronize 58
    0.00 0.00 0.00 0.00 4/16 ThreadSafe::Cache#[] 58
    1.00 0.00 0.00 1.00 1/1 MonitorMixin#mon_synchronize 351
1.59% 0.00% 1.00 0.00 0.00 1.00 1 ActiveRecord::ConnectionAdapters::ConnectionPool#checkout_and_verify 454
    1.00 0.00 0.00 1.00 1/1 ActiveRecord::ConnectionAdapters::AbstractAdapter#_run_checkout_callbacks 455
    1.00 0.00 0.00 1.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool#checkout_and_verify 455
1.59% 0.00% 1.00 0.00 0.00 1.00 1 ActiveRecord::ConnectionAdapters::AbstractAdapter#_run_checkout_callbacks 777
    1.00 1.00 0.00 0.00 1/4 ActiveSupport::Callbacks#__run_callbacks__ 778
    0.00 0.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::AbstractAdapter#_checkout_callbacks 778
    1.00 1.00 0.00 0.00 1/1 ActiveRecord::ConnectionAdapters::RealTransaction#initialize 136
1.59% 1.59% 1.00 1.00 0.00 0.00 1 ActiveRecord::ConnectionAdapters::Transaction#initialize 50
    0.00 0.00 0.00 0.00 1/1 Hash#fetch 54
    0.00 0.00 0.00 0.00 1/12 Class#new 52
    1.00 0.00 0.00 1.00 1/1 MonitorMixin#mon_synchronize 263
1.59% 0.00% 1.00 0.00 0.00 1.00 1 ActiveRecord::ConnectionAdapters::ConnectionPool#checkout 347
    1.00 0.00 0.00 1.00 1/10 MonitorMixin#mon_synchronize 348
    1.00 0.00 0.00 1.00 1/1 Array#map
1.59% 0.00% 1.00 0.00 0.00 1.00 1 ActiveRecord::ConnectionAdapters::ConnectionPool#connection 259
    1.00 0.00 0.00 1.00 1/10 MonitorMixin#mon_synchronize 264
    0.00 0.00 0.00 0.00 1/16 ThreadSafe::Cache#[] 264
    0.00 0.00 0.00 0.00 1/3 ActiveRecord::ConnectionAdapters::ConnectionPool#current_connection_id 264
    1.00 0.00 0.00 1.00 1/1 ActiveSupport::Callbacks#run_callbacks 81
1.59% 0.00% 1.00 0.00 0.00 1.00 1 ActiveSupport::TestCase#_run_teardown_callbacks 777
    1.00 1.00 0.00 0.00 1/4 ActiveSupport::Callbacks#__run_callbacks__ 778
    0.00 0.00 0.00 0.00 1/1 ActiveSupport::TestCase#_teardown_callbacks 778
    1.00 0.00 0.00 1.00 1/1 ActiveRecord::TestFixtures#enlist_fixture_connections 974
1.59% 0.00% 1.00 0.00 0.00 1.00 1 Array#map
    1.00 0.00 0.00 1.00 1/1 ActiveRecord::ConnectionAdapters::ConnectionPool#connection
    1.00 1.00 0.00 0.00 1/1 ActiveRecord::Scoping::Default::ClassMethods#build_default_scope 99
1.59% 1.59% 1.00 1.00 0.00 0.00 1 Kernel#method
    1.00 0.00 0.00 1.00 1/1 ActiveRecord::TestFixtures#setup_fixtures 944
1.59% 0.00% 1.00 0.00 0.00 1.00 1 ActiveRecord::TestFixtures#enlist_fixture_connections 973
    1.00 0.00 0.00 1.00 1/1 Array#map 974
    0.00 0.00 0.00 0.00 1/2 Symbol#to_proc 974
    0.00 0.00 0.00 0.00 1/2 ActiveRecord::ConnectionAdapters::ConnectionHandler#connection_pool_list 974
    0.00 0.00 0.00 0.00 1/2 <Class::ActiveRecord::Base>#connection_handler 974
* indicates recursively called methods