aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorEileen Uchitelle <eileencodes@gmail.com>2018-07-26 12:55:59 -0400
committerEileen Uchitelle <eileencodes@gmail.com>2018-07-26 13:57:51 -0400
commit42fec4b8de8c40d7778f936e200081c0dded1ed0 (patch)
treeb8d270fd84dab28436b934cb35285b024165ee2d /activerecord
parent15a72c6c05cfc5250ee04742b4f45463f937d3f7 (diff)
downloadrails-42fec4b8de8c40d7778f936e200081c0dded1ed0.tar.gz
rails-42fec4b8de8c40d7778f936e200081c0dded1ed0.tar.bz2
rails-42fec4b8de8c40d7778f936e200081c0dded1ed0.zip
Add cpu_time, idle_time, and allocations to Event
* Use process clock instead of Time.now This fixes any issues with the system clock changing and also eliminates 2 object allocations per event. * Add start! and finish! methods to the event object so we can record more information * Adds cpu time, idle time, and allocation count for a particular event. Co-authored-by: Aaron Patterson <aaron.patterson@gmail.com>
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions