Data Daemon v0.4.0 DataDaemon.Decorators View Source

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
count(String.t(), Keyword.t()) :: tuple()

Count function executions.

Link to this function

duration(metric, opts \\ [])

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

Alias for timing.

See timing/2.

Link to this function

timing(metric, opts \\ [])

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

Measure function time.