View Source DataDaemon.Decorators (Data Daemon v0.4.3-pre0)

Decorators.

Summary

Functions

Count function executions.

Alias for timing.

Measure function time.

Functions

Link to this function

count(metric, opts \\ [])

View Source
@spec count(String.t(), Keyword.t()) :: tuple()

Count function executions.

Link to this function

duration(metric, opts \\ [])

View Source
@spec duration(String.t(), Keyword.t()) :: tuple()

Alias for timing.

See timing/2.

Link to this function

timing(metric, opts \\ [])

View Source
@spec timing(String.t(), Keyword.t()) :: tuple()

Measure function time.