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

Decorators.

Link to this section Summary

Functions

Count function executions.

Alias for timing.

Measure function time.

Link to this section 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.