- rule : Aesop.DisplayRuleName
- elapsed : Aesop.Nanos
- successful : Bool
Instances For
Equations
- Aesop.instInhabitedRuleProfile = { default := { rule := default, elapsed := default, successful := default } }
Equations
- One or more equations did not get rendered due to their size.
- total : Aesop.Nanos
- configParsing : Aesop.Nanos
- ruleSetConstruction : Aesop.Nanos
- search : Aesop.Nanos
- ruleSelection : Aesop.Nanos
- ruleApplications : Array Aesop.RuleProfile
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Aesop.Profile.empty = { total := 0, configParsing := 0, ruleSetConstruction := 0, search := 0, ruleSelection := 0, ruleApplications := #[] }
Instances For
Equations
- Aesop.Profile.instEmptyCollectionProfile = { emptyCollection := Aesop.Profile.empty }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.Profile.trace.compareTimings
(x : Aesop.DisplayRuleName × Aesop.Nanos × Aesop.Nanos)
(y : Aesop.DisplayRuleName × Aesop.Nanos × Aesop.Nanos)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline, reducible]
Equations
Instances For
def
Aesop.ProfileT.run
{m : Type → Type}
{α : Type}
[Monad m]
[MonadLiftT (ST IO.RealWorld) m]
(x : Aesop.ProfileT m α)
(profile : Aesop.Profile)
:
m (α × Aesop.Profile)
Equations
- Aesop.ProfileT.run x profile = StateRefT'.run x profile
Instances For
def
Aesop.ProfileT.liftBase
{m : Type → Type}
{n : Type → Type}
{α : Type}
[MonadLiftT m n]
(x : Aesop.ProfileT m α)
:
Aesop.ProfileT n α
Equations
- Aesop.ProfileT.liftBase x r = liftM (x r)
Instances For
Instances
@[always_inline]
Equations
- Aesop.isProfilingEnabled = do let __do_lift ← Lean.getOptions pure (Lean.KVMap.getBool __do_lift `profiler)
Instances For
@[always_inline]
def
Aesop.recordRuleSelectionProfile
{m : Type → Type}
[Aesop.MonadProfile m]
(elapsed : Aesop.Nanos)
:
m Unit
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.recordRuleProfile
{m : Type → Type}
[Aesop.MonadProfile m]
(rp : Aesop.RuleProfile)
:
m Unit
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.profiling
{m : Type → Type}
[Monad m]
[Aesop.MonadProfile m]
{α : Type}
[MonadLiftT BaseIO m]
(x : m α)
(recordProfile : α → Aesop.Nanos → m Unit)
:
m α
Equations
- One or more equations did not get rendered due to their size.