SkySkimmer / coq-ltac2-compiler

GNU Lesser General Public License v2.1
5 stars 0 forks source link

Basic support for Ltac2 Backtrace / Ltac Profiling #12

Open SkySkimmer opened 11 months ago

SkySkimmer commented 11 months ago

ie https://github.com/SkySkimmer/coq-ltac2-compiler/issues/8

On bug_10107.v:

Note that this implementation only puts the FrLtac frames, not the ones of anon functions.

This is especially impactful for recursion as Ltac2 rec bla binders := ... becomes Ltac2 bla binders := let rec bla binders := ... in bla binders so only the top call gets a frame, and with profiling only the top call produces overhead.

We should expect that adding frames for anonymous functions / recursive calls would be significantly worse than the current results.