A profile-driven query cost attribution utilizes what Bluesky calls the “query profile” which is a map of the parts of a query, to then make an assessment as to what is costing the most to run.