gtfs/internal/profile

Types

pub type Entry {
  Entry(stage: String, ms: Int)
}

Constructors

  • Entry(stage: String, ms: Int)

Values

pub fn enabled() -> Bool
pub fn log(stage: String, ms: Int) -> Nil
pub fn now_ms() -> Int
pub fn time(stage: String, thunk: fn() -> a) -> a
pub fn time_result(
  stage: String,
  thunk: fn() -> Result(a, e),
) -> Result(a, e)
Search Document