HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleAgda-2.7.0.1Haskell2010

Agda.TypeChecking.Monad.Benchmark

Measure CPU time for individual phases of the Agda pipeline.

  • 1 class
  • 6 values
  • PackageAgda-2.7.0.1
  • Exports9
  • LanguageHaskell2010
  • LicenceMIT
  • SourceBenchmark.hs
classclass (Ord (BenchPhase m), Functor m, MonadIO m) => MonadBench (m :: Type -> Type) where
#

Monad with access to benchmarking data.

Instances8MonadBench, …
familytype family BenchPhase (m :: Type -> Type)
#
Instances8BenchPhase, …
valuebillTo :: MonadBench m => Account (BenchPhase m) -> m c -> m c
#

Bill a computation to a specific account. Works even if the computation is aborted by an exception.

valuereset :: MonadBench m => m ()
#

Resets the account and the timing information.

valueprint :: MonadTCM tcm => tcm ()
#

Prints the accumulated benchmark results. Does nothing if no benchmark profiling is enabled.