These are chat archives for ManageIQ/manageiq/performance

8th
Jun 2018
Keenan Brock
@kbrock
Jun 08 2018 03:24
noah gibs had a good ruby kagi talk about ruby benchmarks. good stuff
I guess the hard part is getting it to dump after you've reached the right time since that "right" time is environmental
Joe Rafaniello
@jrafanie
Jun 08 2018 11:33
This is a nice read if you care about object allocations and memory usage: https://samsaffron.com/archive/2018/06/01/an-analysis-of-memory-bloat-in-active-record-5-2 :wink: @kbrock @NickLaMuro
Just don't convert arel queries to raw sql using async_exec :wink:
Keenan Brock
@kbrock
Jun 08 2018 13:10
@jrafanie just run convert_all_arel_to_sql.rb ;)
Nick LaMuro
@NickLaMuro
Jun 08 2018 14:41
nah, I don't care about that stuff... (rails/rails#30782 )
Keenan Brock
@kbrock
Jun 08 2018 14:42
am curious about modifying the database layer to let it convert to intergers vs to string then to interger
Joe Rafaniello
@jrafanie
Jun 08 2018 15:06
@NickLaMuro I love how your rails PR was 21 net lines added and required several pushes, force pushes, etc. those were some tough 21 lines :+1:
Nick LaMuro
@NickLaMuro
Jun 08 2018 15:08
Oddly enough, it was mostly to help with issues with azure_armrest, but I am sure it helped in a Rails context as well