These are chat archives for ManageIQ/manageiq/performance

19th
Oct 2015
Jason Frey
@Fryguy
Oct 19 2015 14:29
Thanks @kbrock
Joe Rafaniello
@jrafanie
Oct 19 2015 16:20
@matthewd @tenderlove any idea if the prepared statement cache could be a problem for us where we cache one off statements? rails/rails#21992
Matthew Draper
@matthewd
Oct 19 2015 16:43
@jrafanie it's worth a look, but it shouldn't be a major issue, IMO
Jason Frey
@Fryguy
Oct 19 2015 18:44
@tenderlove How did you find this? flori/json#260
Are you a :sparkles: wizard?
matthewd @matthewd found it
Jason Frey
@Fryguy
Oct 19 2015 18:44
haha
ok, how did you find it?
Matthew Draper
@matthewd
Oct 19 2015 18:44
Just happened to notice oversized strings in a heap dump
Jason Frey
@Fryguy
Oct 19 2015 18:44
oh interesting
like looking at the raw heap itself?
Matthew Draper
@matthewd
Oct 19 2015 18:45
So we backtracked to see where they were coming from, etc
Jason Frey
@Fryguy
Oct 19 2015 18:45
cool
Matthew Draper
@matthewd
Oct 19 2015 18:45
Yeah, I was looking for something else, and just happened to see one on a nearby line
Jason Frey
@Fryguy
Oct 19 2015 18:47
wild
I merged the PR, but would still like to know the steps
perhaps you can make a rake task?
Matthew Draper
@matthewd
Oct 19 2015 19:04
DescendantLoader.instance.class_inheritance_relationships — no iteration required
Well, that and (exit the process || save_cache!)
Jason Frey
@Fryguy
Oct 19 2015 19:14
ok cool