@kbrock yeah. I played with it a bit and it all depends on the type of queries we do. E.g. (not even polymorph related) we dont have an index on type in Vms. This could result in a full table scan, depending on how many providers you have configured...
but in the end, I guess there is other, lower hanging fruit, when it comes to performance :)
@Fryguy specs were green... then I "fixed" a rubocop and specs go red. But I do like when you split up a method into 2 and it says that each of them are too complex... basically agreeing with the split up in the first place
@Fryguy for ManageIQ/manageiq#9350 a) would you like to see what the individual querys look like and how much data comes back? b) do you want me to change table and miq_expression so I can show how an individual page changes? (I was thinking about holding off here but that is up to you)