The usage of hierarchies in queries does not change a bit about how you would analyze performance of a query.
Why would it?
Besides: this is a very vague problem description - be a lot more specific if you want others to understand what you are talking about.