-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure
instantiateMVarsProfiling
adds a trace node (#5501)
We add a new `Meta.instantiateMVars` trace node to the `instantiateMVarsProfiling` definition used in `elabMutualDef`, and we replace various uses of plain `instantiateMVars` with the profiled version (which necessitated pulling up the definition to be higher in the file). This fixes a "time leak" when profiling large proofs, where instantiating the goal metavariable can take a significant amount of time, that previously would not be accounted for when using the trace profiler.
- Loading branch information
1 parent
837a67b
commit fc0529b
Showing
1 changed file
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters