faastjs > CostAnalyzer > Workload > summarize
CostAnalyzer.Workload.summarize property
Combine CostAnalyzer.WorkloadAttribute instances returned from multiple workload executions (caused by value of CostAnalyzer.Workload.repetitions). The default is a function that takes the average of each attribute.
Signature:
summarize?: (summaries: WorkloadAttribute<A>[]) => WorkloadAttribute<A>;