These are chat archives for ManageIQ/manageiq/performance
Not sure if there is a better place to add this that is more inclusive to this, so I am open to suggestions on a better place for this cache live, but it cuts the render time (after Keenan's patches) for /service/explorer in half on large trees.
$ git cherry-pick -e -x -m 1 5b5fee4 On branch darga Your branch is up-to-date with 'upstream/darga'. You are currently cherry-picking commit 5b5fee4.
object[:...]that was the problem
eachcalling the code converts a hash to an array pair, but I tried to isolate that
== bad/worse solution, but
== Higher risk
bundle exec rspec spec/lib/rbac/filterer_spec.rb:988
line filterer.rb:201 ( exp_sql = ...)
"miq_groups"."id" IN ( SELECT DISTINCT "vms"."miq_group_id" FROM "vms" WHERE ( "vms"."connection_state" IS NULL OR "vms"."connection_state" != 'connected' ) = 'f' )
bundle exec rspec rspec ./spec/models/rbac_spec.rb:1088
rbac.rb:444 (exp_sql = ...)
miq_groups.id IN ( SELECT DISTINCT miq_group_id FROM vms WHERE disconnected = 'false' )
man gitand am still surprised to see this:
NAME git - the stupid content tracker
darga/yes, so we've been missing necessary PRs