Record the energy of query compilation and execution
Description of Changes
Time query compilation + execution. Closes #668
Expected complexity level and risk
1
@mamcx I just want to confirm: this change is backwards-compatible, right?
@mamcx I just want to confirm: this change is backwards-compatible, right?
It should be. However, I don't know the behaviors of control-db.
Let's revisit this after the query engine work is done.
Updating after conversation with @jsdt. We are not going to charge for this in the spirit of keeping our SKUs simpler. We will only charge for query execution, not compilation. Doc for SKUs:
https://docs.google.com/document/d/1OWZwNZelNcfup0SkiBUBk0KCg6qUOsdXSbZopAF2f_M/edit?tab=t.0