faastjs.costanalyzer.workload.format.md

April 11, 2023 ยท View on GitHub

faastjs > CostAnalyzer > Workload > format

CostAnalyzer.Workload.format property

Format an attribute value for console output. This is displayed by the cost analyzer when all of the repetitions for a configuration have completed. The default returns ${attribute}:${value.toFixed(1)}.

Signature:

format?: (attr: A, value: number) => string;