diff options
author | Eileen Uchitelle <eileencodes@gmail.com> | 2018-07-26 12:55:59 -0400 |
---|---|---|
committer | Eileen Uchitelle <eileencodes@gmail.com> | 2018-07-26 13:57:51 -0400 |
commit | 42fec4b8de8c40d7778f936e200081c0dded1ed0 (patch) | |
tree | b8d270fd84dab28436b934cb35285b024165ee2d /activesupport/CHANGELOG.md | |
parent | 15a72c6c05cfc5250ee04742b4f45463f937d3f7 (diff) | |
download | rails-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 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 24ad72c45d..10a25a120d 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,7 @@ +* Add cpu_time, idle_time, and allocations to Event + + *Eileen M. Uchitelle*, *Aaron Patterson* + * RedisCacheStore: support key expiry in increment/decrement. Pass `:expires_in` to `#increment` and `#decrement` to set a Redis EXPIRE on the key. |