gen_metrics_bench v0.1.0 GenMetricsBench.Simulator.PipelineDefault

Default plug-in behaviour for GenStage pipeline benchmark tests.

Clone or customize this module to create benchmarks with runtime characteristics that mirror your dev or production environments.

If clone, remember to register your new simulator module in the config/config.exs configuraton file.

Summary

Functions

Return a message representative of the types of messages you want to test flowing through your cluster or pipeline

Return a task delay (ms) representative of the approx time taken to process a message by a worker in your cluster or pipeline

Functions

gen_msg()

Return a message representative of the types of messages you want to test flowing through your cluster or pipeline.

Callback implementation for GenMetricsBench.Simulator.gen_msg/0.

gen_task_delay()

Return a task delay (ms) representative of the approx time taken to process a message by a worker in your cluster or pipeline.

Callback implementation for GenMetricsBench.Simulator.gen_task_delay/0.