Skip to content

Commit 5baa355

Browse files
committed
[mutable] Add missing time measurements.
1 parent 7bbcc7c commit 5baa355

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mutable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,10 @@ void m::execute_instruction(Diagnostic &diag, const Instruction &instruction)
336336
void m::execute_query(Diagnostic&, const SelectStmt &stmt, std::unique_ptr<Consumer> consumer)
337337
{
338338
Catalog &C = Catalog::Get();
339-
auto query_graph = QueryGraph::Build(stmt);
339+
auto query_graph = M_TIME_EXPR(QueryGraph::Build(stmt), "Construct the query graph", C.timer());
340340

341341
Optimizer Opt(C.plan_enumerator(), C.cost_function());
342-
auto optree = Opt(*query_graph);
342+
auto optree = M_TIME_EXPR(Opt(*query_graph), "Compute the query plan", C.timer());
343343

344344
consumer->add_child(optree.release());
345345

0 commit comments

Comments
 (0)